0s autopkgtest [16:42:33]: starting date: 2024-03-09 0s autopkgtest [16:42:33]: git checkout: d9c0295 adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [16:42:33]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.g2qyfslr/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:gnome-desktop-testing,src:glib2.0 --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-arm64-8.secgroup --name adt-noble-arm64-glib2.0-20240309-164233-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 226s autopkgtest [16:46:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 227s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 228s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [429 kB] 228s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2635 kB] 229s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 229s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [37.3 kB] 229s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [577 kB] 229s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 229s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 229s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 229s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2881 kB] 229s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 229s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [39.2 kB] 229s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 239s Fetched 6752 kB in 5s (1323 kB/s) 240s Reading package lists... 252s Reading package lists... 253s Building dependency tree... 253s Reading state information... 255s Calculating upgrade... 256s The following package was automatically installed and is no longer required: 256s ubuntu-advantage-tools 256s Use 'sudo apt autoremove' to remove it. 256s The following packages will be REMOVED: 256s libglib2.0-0 256s The following NEW packages will be installed: 256s libglib2.0-0t64 xdg-user-dirs 256s The following packages will be upgraded: 256s efibootmgr gir1.2-glib-2.0 libglib2.0-data ubuntu-minimal ubuntu-standard 256s 5 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 256s Need to get 1827 kB of archives. 256s After this operation, 138 kB of additional disk space will be used. 256s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu3 [182 kB] 257s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu3 [1527 kB] 257s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu3 [46.6 kB] 257s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-minimal arm64 1.535 [10.5 kB] 257s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 257s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-standard arm64 1.535 [10.5 kB] 257s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 efibootmgr arm64 18-1build1 [31.5 kB] 258s Fetched 1827 kB in 1s (2587 kB/s) 259s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 259s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu3_arm64.deb ... 259s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 259s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 259s udisks2 depends on libglib2.0-0 (>= 2.77.0). 259s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 259s python3-gi depends on libglib2.0-0 (>= 2.77.0). 259s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 259s netplan.io depends on libglib2.0-0 (>= 2.70.0). 259s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 259s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 259s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 259s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 259s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 259s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 259s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 259s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 259s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 259s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 259s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 259s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 259s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 259s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 259s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 259s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 259s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 259s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 259s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 259s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 259s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 259s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 259s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 259s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 259s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 259s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 259s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 259s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 259s fwupd depends on libglib2.0-0 (>= 2.79.0). 259s bolt depends on libglib2.0-0 (>= 2.56.0). 259s 259s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 259s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 259s Selecting previously unselected package libglib2.0-0t64:arm64. 259s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75837 files and directories currently installed.) 259s Preparing to unpack .../0-libglib2.0-0t64_2.79.3-3ubuntu3_arm64.deb ... 259s 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... 259s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 259s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 260s Preparing to unpack .../1-libglib2.0-data_2.79.3-3ubuntu3_all.deb ... 260s Unpacking libglib2.0-data (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 260s Preparing to unpack .../2-ubuntu-minimal_1.535_arm64.deb ... 260s Unpacking ubuntu-minimal (1.535) over (1.534) ... 260s Selecting previously unselected package xdg-user-dirs. 260s Preparing to unpack .../3-xdg-user-dirs_0.18-1_arm64.deb ... 260s Unpacking xdg-user-dirs (0.18-1) ... 260s Preparing to unpack .../4-ubuntu-standard_1.535_arm64.deb ... 260s Unpacking ubuntu-standard (1.535) over (1.534) ... 260s Preparing to unpack .../5-efibootmgr_18-1build1_arm64.deb ... 260s Unpacking efibootmgr (18-1build1) over (18-1) ... 260s Setting up efibootmgr (18-1build1) ... 260s Setting up ubuntu-minimal (1.535) ... 260s Setting up xdg-user-dirs (0.18-1) ... 260s Setting up ubuntu-standard (1.535) ... 260s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 260s No schema files found: doing nothing. 260s Setting up libglib2.0-data (2.79.3-3ubuntu3) ... 260s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) ... 260s Processing triggers for man-db (2.12.0-3) ... 262s Processing triggers for libc-bin (2.39-0ubuntu2) ... 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 263s 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 264s Reading package lists... 264s Building dependency tree... 264s Reading state information... 266s The following packages will be REMOVED: 266s ubuntu-advantage-tools* 268s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 268s After this operation, 71.7 kB disk space will be freed. 268s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75876 files and directories currently installed.) 268s Removing ubuntu-advantage-tools (31.1) ... 268s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75870 files and directories currently installed.) 268s Purging configuration files for ubuntu-advantage-tools (31.1) ... 272s sh: Attempting to set up Debian/Ubuntu apt sources automatically 272s sh: Distribution appears to be Ubuntu 283s Reading package lists... 283s Building dependency tree... 283s Reading state information... 285s 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 285s 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 285s Weatmydata is already the newest version (131-1). 285s dbus is already the newest version (1.14.10-4ubuntu1). 285s dbus set to manually installed. 285s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 286s : 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s 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 286s Reading package lists... 287s Building dependency tree... 287s Reading state information... 289s rng-tools-debian is already the newest version (2.4). 289s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 289s Reading package lists... 290s Building dependency tree... 290s Reading state information... 292s haveged is already the newest version (1.9.14-1ubuntu1). 292s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 292s Reading package lists... 293s Building dependency tree... 293s Reading state information... 295s The following packages will be REMOVED: 295s cloud-init* python3-configobj* python3-debconf* 296s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 296s After this operation, 3248 kB disk space will be freed. 296s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75870 files and directories currently installed.) 296s Removing cloud-init (24.1-0ubuntu1) ... 298s Removing python3-configobj (5.0.8-3) ... 299s Removing python3-debconf (1.5.86) ... 299s Processing triggers for man-db (2.12.0-3) ... 300s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75481 files and directories currently installed.) 300s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 303s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 303s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 305s Reading package lists... 305s Building dependency tree... 305s Reading state information... 307s linux-generic is already the newest version (6.8.0-11.11+1). 307s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 308s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 308s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 308s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 309s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 309s Hit:5 http://ftpmaster.internal/ubuntu noble-backports InRelease 321s Reading package lists... 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 321s 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 322s Reading package lists... 322s Building dependency tree... 322s Reading state information... 324s Calculating upgrade... 325s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 326s Reading package lists... 326s Building dependency tree... 326s Reading state information... 329s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 329s autopkgtest [16:48:02]: rebooting testbed after setup commands that affected boot 493s autopkgtest [16:50:46]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 494s autopkgtest [16:50:47]: testbed dpkg architecture: arm64 496s autopkgtest [16:50:49]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 497s 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 512s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu3 (dsc) [4729 B] 512s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu3 (tar) [263 kB] 512s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu3 (tar) [5507 kB] 512s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu3 (diff) [129 kB] 513s gpgv: Signature made Thu Mar 7 18:10:17 2024 UTC 513s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 513s gpgv: Can't check signature: No public key 513s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.3-3ubuntu3.dsc: no acceptable signature found 517s autopkgtest [16:51:10]: testing package glib2.0 version 2.79.3-3ubuntu3 517s autopkgtest [16:51:10]: build not needed 521s autopkgtest [16:51:14]: test build: preparing testbed 526s Reading package lists... 527s Building dependency tree... 527s Reading state information... 529s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 529s Starting 2 pkgProblemResolver with broken count: 0 529s Done 530s Done 531s Starting pkgProblemResolver with broken count: 0 532s Starting 2 pkgProblemResolver with broken count: 0 532s Done 534s The following additional packages will be installed: 534s build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu 534s g++ g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-13 534s gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libatomic1 534s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libelf1t64 534s libffi-dev libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 534s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 534s libmount-dev libmpc3 libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev 534s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-13-dev 534s libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin 534s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 534s Suggested packages: 534s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 534s autoconf automake libtool flex bison gdb gcc-doc gdb-aarch64-linux-gnu 534s glibc-doc gir1.2-glib-2.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 534s libxml2-utils libstdc++-13-doc 534s Recommended packages: 534s manpages manpages-dev libc-devtools 534s The following packages will be REMOVED: 534s libelf1 534s The following NEW packages will be installed: 534s build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu 534s g++ g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-13 534s gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libatomic1 534s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libelf1t64 534s libffi-dev libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 534s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 534s libmount-dev libmpc3 libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev 534s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-13-dev 534s libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin 534s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 534s 0 upgraded, 53 newly installed, 1 to remove and 0 not upgraded. 534s 1 not fully installed or removed. 534s Need to get 67.0 MB of archives. 534s After this operation, 244 MB of additional disk space will be used. 534s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 libffi-dev arm64 3.4.6-1 [59.5 kB] 534s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libelf1t64 arm64 0.190-1.1build1 [57.9 kB] 534s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-bin arm64 2.79.3-3ubuntu3 [97.1 kB] 535s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 535s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgirepository-2.0-0 arm64 2.79.3-3ubuntu3 [71.5 kB] 535s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev-bin arm64 2.79.3-3ubuntu3 [215 kB] 535s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 libc-dev-bin arm64 2.39-0ubuntu2 [19.7 kB] 535s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 linux-libc-dev arm64 6.8.0-11.11 [1569 kB] 536s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB] 536s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libtirpc-dev arm64 1.3.4+ds-1build1 [232 kB] 536s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libnsl-dev arm64 1.3.0-3 [71.9 kB] 536s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB] 536s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libc6-dev arm64 2.39-0ubuntu2 [1596 kB] 536s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 uuid-dev arm64 2.39.3-6ubuntu2 [34.7 kB] 536s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libblkid-dev arm64 2.39.3-6ubuntu2 [219 kB] 536s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libsepol-dev arm64 3.5-2 [390 kB] 536s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu1 [195 kB] 536s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu1 [183 kB] 536s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu1 [6654 B] 536s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-dev arm64 10.42-4ubuntu1 [679 kB] 537s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libselinux1-dev arm64 3.5-2build1 [172 kB] 537s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libmount-dev arm64 2.39.3-6ubuntu2 [14.9 kB] 537s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libpkgconf3 arm64 1.8.1-2 [31.2 kB] 537s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf-bin arm64 1.8.1-2 [20.4 kB] 537s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf arm64 1.8.1-2 [16.7 kB] 537s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3ubuntu1 [895 kB] 537s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev arm64 2.79.3-3ubuntu3 [1888 kB] 537s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libisl23 arm64 0.26-3 [713 kB] 537s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libmpc3 arm64 1.3.1-1 [55.3 kB] 537s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.3 MB] 538s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13 arm64 13.2.0-17ubuntu2 [1028 B] 538s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B] 538s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB] 538s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libcc1-0 arm64 14-20240303-1ubuntu1 [44.7 kB] 538s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libgomp1 arm64 14-20240303-1ubuntu1 [144 kB] 538s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libitm1 arm64 14-20240303-1ubuntu1 [27.7 kB] 538s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libatomic1 arm64 14-20240303-1ubuntu1 [11.4 kB] 538s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libasan8 arm64 14-20240303-1ubuntu1 [2919 kB] 539s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 liblsan0 arm64 14-20240303-1ubuntu1 [1282 kB] 539s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libtsan2 arm64 14-20240303-1ubuntu1 [2687 kB] 539s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libubsan1 arm64 14-20240303-1ubuntu1 [1151 kB] 539s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libhwasan0 arm64 14-20240303-1ubuntu1 [1597 kB] 539s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libgcc-13-dev arm64 13.2.0-17ubuntu2 [2464 kB] 539s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [20.1 MB] 541s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13 arm64 13.2.0-17ubuntu2 [467 kB] 541s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B] 541s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B] 541s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libstdc++-13-dev arm64 13.2.0-17ubuntu2 [2322 kB] 541s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [11.7 MB] 542s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13 arm64 13.2.0-17ubuntu2 [14.4 kB] 542s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 g++-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [962 B] 542s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 g++ arm64 4:13.2.0-7ubuntu1 [1082 B] 542s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 544s Fetched 67.0 MB in 8s (8488 kB/s) 544s Selecting previously unselected package libffi-dev:arm64. 544s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75426 files and directories currently installed.) 544s Preparing to unpack .../libffi-dev_3.4.6-1_arm64.deb ... 544s Unpacking libffi-dev:arm64 (3.4.6-1) ... 544s dpkg: libelf1:arm64: dependency problems, but removing anyway as you requested: 544s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 544s libbpf1:arm64 depends on libelf1 (>= 0.144). 544s iproute2 depends on libelf1 (>= 0.131). 544s 544s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 544s Removing libelf1:arm64 (0.190-1) ... 544s Selecting previously unselected package libelf1t64:arm64. 545s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75458 files and directories currently installed.) 545s Preparing to unpack .../00-libelf1t64_0.190-1.1build1_arm64.deb ... 545s Unpacking libelf1t64:arm64 (0.190-1.1build1) ... 545s Selecting previously unselected package libglib2.0-bin. 545s Preparing to unpack .../01-libglib2.0-bin_2.79.3-3ubuntu3_arm64.deb ... 545s Unpacking libglib2.0-bin (2.79.3-3ubuntu3) ... 545s Selecting previously unselected package python3-packaging. 545s Preparing to unpack .../02-python3-packaging_23.2-1_all.deb ... 545s Unpacking python3-packaging (23.2-1) ... 545s Selecting previously unselected package libgirepository-2.0-0:arm64. 545s Preparing to unpack .../03-libgirepository-2.0-0_2.79.3-3ubuntu3_arm64.deb ... 545s Unpacking libgirepository-2.0-0:arm64 (2.79.3-3ubuntu3) ... 545s Selecting previously unselected package libglib2.0-dev-bin. 545s Preparing to unpack .../04-libglib2.0-dev-bin_2.79.3-3ubuntu3_arm64.deb ... 545s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu3) ... 545s Selecting previously unselected package libc-dev-bin. 545s Preparing to unpack .../05-libc-dev-bin_2.39-0ubuntu2_arm64.deb ... 545s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 545s Selecting previously unselected package linux-libc-dev:arm64. 545s Preparing to unpack .../06-linux-libc-dev_6.8.0-11.11_arm64.deb ... 545s Unpacking linux-libc-dev:arm64 (6.8.0-11.11) ... 546s Selecting previously unselected package libcrypt-dev:arm64. 546s Preparing to unpack .../07-libcrypt-dev_1%3a4.4.36-4_arm64.deb ... 546s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ... 546s Selecting previously unselected package libtirpc-dev:arm64. 546s Preparing to unpack .../08-libtirpc-dev_1.3.4+ds-1build1_arm64.deb ... 546s Unpacking libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 546s Selecting previously unselected package libnsl-dev:arm64. 546s Preparing to unpack .../09-libnsl-dev_1.3.0-3_arm64.deb ... 546s Unpacking libnsl-dev:arm64 (1.3.0-3) ... 546s Selecting previously unselected package rpcsvc-proto. 546s Preparing to unpack .../10-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ... 546s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 547s Selecting previously unselected package libc6-dev:arm64. 547s Preparing to unpack .../11-libc6-dev_2.39-0ubuntu2_arm64.deb ... 547s Unpacking libc6-dev:arm64 (2.39-0ubuntu2) ... 547s Selecting previously unselected package uuid-dev:arm64. 547s Preparing to unpack .../12-uuid-dev_2.39.3-6ubuntu2_arm64.deb ... 547s Unpacking uuid-dev:arm64 (2.39.3-6ubuntu2) ... 547s Selecting previously unselected package libblkid-dev:arm64. 547s Preparing to unpack .../13-libblkid-dev_2.39.3-6ubuntu2_arm64.deb ... 547s Unpacking libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 547s Selecting previously unselected package libsepol-dev:arm64. 547s Preparing to unpack .../14-libsepol-dev_3.5-2_arm64.deb ... 547s Unpacking libsepol-dev:arm64 (3.5-2) ... 547s Selecting previously unselected package libpcre2-16-0:arm64. 548s Preparing to unpack .../15-libpcre2-16-0_10.42-4ubuntu1_arm64.deb ... 548s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 548s Selecting previously unselected package libpcre2-32-0:arm64. 548s Preparing to unpack .../16-libpcre2-32-0_10.42-4ubuntu1_arm64.deb ... 548s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 548s Selecting previously unselected package libpcre2-posix3:arm64. 548s Preparing to unpack .../17-libpcre2-posix3_10.42-4ubuntu1_arm64.deb ... 548s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 548s Selecting previously unselected package libpcre2-dev:arm64. 548s Preparing to unpack .../18-libpcre2-dev_10.42-4ubuntu1_arm64.deb ... 548s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu1) ... 548s Selecting previously unselected package libselinux1-dev:arm64. 548s Preparing to unpack .../19-libselinux1-dev_3.5-2build1_arm64.deb ... 548s Unpacking libselinux1-dev:arm64 (3.5-2build1) ... 548s Selecting previously unselected package libmount-dev:arm64. 548s Preparing to unpack .../20-libmount-dev_2.39.3-6ubuntu2_arm64.deb ... 548s Unpacking libmount-dev:arm64 (2.39.3-6ubuntu2) ... 548s Selecting previously unselected package libpkgconf3:arm64. 548s Preparing to unpack .../21-libpkgconf3_1.8.1-2_arm64.deb ... 548s Unpacking libpkgconf3:arm64 (1.8.1-2) ... 548s Selecting previously unselected package pkgconf-bin. 548s Preparing to unpack .../22-pkgconf-bin_1.8.1-2_arm64.deb ... 548s Unpacking pkgconf-bin (1.8.1-2) ... 548s Selecting previously unselected package pkgconf:arm64. 548s Preparing to unpack .../23-pkgconf_1.8.1-2_arm64.deb ... 548s Unpacking pkgconf:arm64 (1.8.1-2) ... 549s Selecting previously unselected package zlib1g-dev:arm64. 549s Preparing to unpack .../24-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_arm64.deb ... 549s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 549s Selecting previously unselected package libglib2.0-dev:arm64. 549s Preparing to unpack .../25-libglib2.0-dev_2.79.3-3ubuntu3_arm64.deb ... 549s Unpacking libglib2.0-dev:arm64 (2.79.3-3ubuntu3) ... 549s Selecting previously unselected package libisl23:arm64. 549s Preparing to unpack .../26-libisl23_0.26-3_arm64.deb ... 549s Unpacking libisl23:arm64 (0.26-3) ... 549s Selecting previously unselected package libmpc3:arm64. 549s Preparing to unpack .../27-libmpc3_1.3.1-1_arm64.deb ... 549s Unpacking libmpc3:arm64 (1.3.1-1) ... 549s Selecting previously unselected package cpp-13-aarch64-linux-gnu. 549s Preparing to unpack .../28-cpp-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 549s Unpacking cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 550s Selecting previously unselected package cpp-13. 550s Preparing to unpack .../29-cpp-13_13.2.0-17ubuntu2_arm64.deb ... 550s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 550s Selecting previously unselected package cpp-aarch64-linux-gnu. 550s Preparing to unpack .../30-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 550s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 551s Selecting previously unselected package cpp. 551s Preparing to unpack .../31-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ... 551s Unpacking cpp (4:13.2.0-7ubuntu1) ... 551s Selecting previously unselected package libcc1-0:arm64. 551s Preparing to unpack .../32-libcc1-0_14-20240303-1ubuntu1_arm64.deb ... 551s Unpacking libcc1-0:arm64 (14-20240303-1ubuntu1) ... 551s Selecting previously unselected package libgomp1:arm64. 551s Preparing to unpack .../33-libgomp1_14-20240303-1ubuntu1_arm64.deb ... 551s Unpacking libgomp1:arm64 (14-20240303-1ubuntu1) ... 551s Selecting previously unselected package libitm1:arm64. 551s Preparing to unpack .../34-libitm1_14-20240303-1ubuntu1_arm64.deb ... 551s Unpacking libitm1:arm64 (14-20240303-1ubuntu1) ... 551s Selecting previously unselected package libatomic1:arm64. 551s Preparing to unpack .../35-libatomic1_14-20240303-1ubuntu1_arm64.deb ... 551s Unpacking libatomic1:arm64 (14-20240303-1ubuntu1) ... 551s Selecting previously unselected package libasan8:arm64. 551s Preparing to unpack .../36-libasan8_14-20240303-1ubuntu1_arm64.deb ... 551s Unpacking libasan8:arm64 (14-20240303-1ubuntu1) ... 551s Selecting previously unselected package liblsan0:arm64. 551s Preparing to unpack .../37-liblsan0_14-20240303-1ubuntu1_arm64.deb ... 551s Unpacking liblsan0:arm64 (14-20240303-1ubuntu1) ... 552s Selecting previously unselected package libtsan2:arm64. 552s Preparing to unpack .../38-libtsan2_14-20240303-1ubuntu1_arm64.deb ... 552s Unpacking libtsan2:arm64 (14-20240303-1ubuntu1) ... 552s Selecting previously unselected package libubsan1:arm64. 552s Preparing to unpack .../39-libubsan1_14-20240303-1ubuntu1_arm64.deb ... 552s Unpacking libubsan1:arm64 (14-20240303-1ubuntu1) ... 552s Selecting previously unselected package libhwasan0:arm64. 552s Preparing to unpack .../40-libhwasan0_14-20240303-1ubuntu1_arm64.deb ... 552s Unpacking libhwasan0:arm64 (14-20240303-1ubuntu1) ... 552s Selecting previously unselected package libgcc-13-dev:arm64. 552s Preparing to unpack .../41-libgcc-13-dev_13.2.0-17ubuntu2_arm64.deb ... 552s Unpacking libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 553s Selecting previously unselected package gcc-13-aarch64-linux-gnu. 553s Preparing to unpack .../42-gcc-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 553s Unpacking gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 555s Selecting previously unselected package gcc-13. 555s Preparing to unpack .../43-gcc-13_13.2.0-17ubuntu2_arm64.deb ... 555s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 555s Selecting previously unselected package gcc-aarch64-linux-gnu. 555s Preparing to unpack .../44-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 555s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 555s Selecting previously unselected package gcc. 555s Preparing to unpack .../45-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ... 555s Unpacking gcc (4:13.2.0-7ubuntu1) ... 555s Selecting previously unselected package libstdc++-13-dev:arm64. 555s Preparing to unpack .../46-libstdc++-13-dev_13.2.0-17ubuntu2_arm64.deb ... 555s Unpacking libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 556s Selecting previously unselected package g++-13-aarch64-linux-gnu. 556s Preparing to unpack .../47-g++-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 556s Unpacking g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 557s Selecting previously unselected package g++-13. 557s Preparing to unpack .../48-g++-13_13.2.0-17ubuntu2_arm64.deb ... 557s Unpacking g++-13 (13.2.0-17ubuntu2) ... 557s Selecting previously unselected package g++-aarch64-linux-gnu. 557s Preparing to unpack .../49-g++-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 557s Unpacking g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 557s Selecting previously unselected package g++. 557s Preparing to unpack .../50-g++_4%3a13.2.0-7ubuntu1_arm64.deb ... 557s Unpacking g++ (4:13.2.0-7ubuntu1) ... 557s Selecting previously unselected package build-essential. 557s Preparing to unpack .../51-build-essential_12.10ubuntu1_arm64.deb ... 557s Unpacking build-essential (12.10ubuntu1) ... 557s Setting up libgirepository-2.0-0:arm64 (2.79.3-3ubuntu3) ... 557s Setting up linux-libc-dev:arm64 (6.8.0-11.11) ... 557s Setting up libgomp1:arm64 (14-20240303-1ubuntu1) ... 557s Setting up libffi-dev:arm64 (3.4.6-1) ... 557s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 557s Setting up libelf1t64:arm64 (0.190-1.1build1) ... 557s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 557s Setting up python3-packaging (23.2-1) ... 558s Setting up libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 558s Setting up libpkgconf3:arm64 (1.8.1-2) ... 558s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 558s Setting up libmpc3:arm64 (1.3.1-1) ... 558s Setting up libatomic1:arm64 (14-20240303-1ubuntu1) ... 558s Setting up libsepol-dev:arm64 (3.5-2) ... 558s Setting up pkgconf-bin (1.8.1-2) ... 558s Setting up libubsan1:arm64 (14-20240303-1ubuntu1) ... 558s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 558s Setting up libnsl-dev:arm64 (1.3.0-3) ... 558s Setting up libhwasan0:arm64 (14-20240303-1ubuntu1) ... 558s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ... 558s Setting up libasan8:arm64 (14-20240303-1ubuntu1) ... 558s Setting up libtsan2:arm64 (14-20240303-1ubuntu1) ... 558s Setting up libisl23:arm64 (0.26-3) ... 558s Setting up libc-dev-bin (2.39-0ubuntu2) ... 558s Setting up libcc1-0:arm64 (14-20240303-1ubuntu1) ... 558s Setting up liblsan0:arm64 (14-20240303-1ubuntu1) ... 558s Setting up libitm1:arm64 (14-20240303-1ubuntu1) ... 558s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu3) ... 558s Setting up cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 558s Setting up libglib2.0-bin (2.79.3-3ubuntu3) ... 559s Setting up pkgconf:arm64 (1.8.1-2) ... 559s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 559s Setting up libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 559s Setting up libc6-dev:arm64 (2.39-0ubuntu2) ... 559s Setting up libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 559s Setting up libpcre2-dev:arm64 (10.42-4ubuntu1) ... 559s Setting up cpp-13 (13.2.0-17ubuntu2) ... 559s Setting up libselinux1-dev:arm64 (3.5-2build1) ... 559s Setting up gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 559s Setting up uuid-dev:arm64 (2.39.3-6ubuntu2) ... 559s Setting up gcc-13 (13.2.0-17ubuntu2) ... 559s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 559s Setting up cpp (4:13.2.0-7ubuntu1) ... 559s Setting up g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 559s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 559s Setting up libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 559s Setting up g++-13 (13.2.0-17ubuntu2) ... 559s Setting up gcc (4:13.2.0-7ubuntu1) ... 559s Setting up g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 559s Setting up libmount-dev:arm64 (2.39.3-6ubuntu2) ... 559s Setting up libglib2.0-dev:arm64 (2.79.3-3ubuntu3) ... 559s Setting up g++ (4:13.2.0-7ubuntu1) ... 559s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 559s Setting up build-essential (12.10ubuntu1) ... 559s Processing triggers for libc-bin (2.39-0ubuntu2) ... 559s Processing triggers for man-db (2.12.0-3) ... 561s Processing triggers for libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 561s No schema files found: doing nothing. 561s Processing triggers for install-info (7.1-3) ... 561s Setting up autopkgtest-satdep (0) ... 569s (Reading database ... 79220 files and directories currently installed.) 569s Removing autopkgtest-satdep (0) ... 571s autopkgtest [16:52:04]: test build: [----------------------- 571s + mode=dynamic 571s + getopt -o --long static -n debian/tests/build -- 571s + getopt_temp= -- 571s + eval set -- -- 571s + set -- -- 571s + true 571s + shift 571s + break 571s + mktemp -d 571s + WORKDIR=/tmp/tmp.f49DkpmGkX 571s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 571s + cd /tmp/tmp.f49DkpmGkX 571s + [ -n ] 571s + CROSS_COMPILE= 571s + cat 571s + cat 571s + cat 571s + cat 571s + cat 571s + cat 571s + cflags= 571s + pcflags= 571s + packages=glib-2.0 571s + pkg-config --cflags --libs glib-2.0 571s + 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 572s + echo build (glib, dynamic): OK 572s + [ -x glib-dynamic ] 572s + foo=bar ./glib-dynamic 572s build (glib, dynamic): OK 572s + echo run (glib, dynamic): OK 572s run (glib, dynamic): OK 572s + cflags= 572s + pcflags= 572s + packages=gobject-2.0 572s + pkg-config --cflags --libs gobject-2.0 572s + 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 572s + echo build (gobject, dynamic): OKbuild (gobject, dynamic): OK 572s 572s + [ -x gobject-dynamic ] 572s + foo=bar ./gobject-dynamic 572s run (gobject, dynamic): OK 572s + echo run (gobject, dynamic): OK 572s + cflags= 572s + pcflags= 572s + packages=gio-2.0 572s + pkg-config --cflags --libs gio-2.0 572s + 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 573s build (gio, dynamic): OK 573s + echo build (gio, dynamic): OK 573s + [ -x gio-dynamic ] 573s + foo=bar ./gio-dynamic 573s + run (gio, dynamic): OK 573s echo run (gio, dynamic): OK 573s + cflags= 573s + pcflags= 573s + packages=gio-unix-2.0 573s + pkg-config --cflags --libs gio-unix-2.0 573s + 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 574s + build (gio-unix, dynamic): OK 574s echo build (gio-unix, dynamic): OK 574s + [ -x gio-unix-dynamic ] 574s + foo=bar ./gio-unix-dynamic 574s run (gio-unix, dynamic): OK 574s + echo run (gio-unix, dynamic): OK 574s + cflags= 574s + pcflags= 574s + packages=gmodule-2.0 574s + pkg-config --cflags --libs gmodule-2.0 574s + 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 574s + echo build (gmodule, dynamic): OK 574s + [ -x gmodule-dynamic ] 574s + foo=bar ./gmodule-dynamic 574s build (gmodule, dynamic): OK 574s run (gmodule, dynamic): OK 574s + echo run (gmodule, dynamic): OK 574s + cflags= 574s + pcflags= 574s + packages=gthread-2.0 574s + pkg-config --cflags --libs gthread-2.0 574s + 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 575s build (gthread, dynamic): OK 575s + echo build (gthread, dynamic): OK 575s + [ -x gthread-dynamic ] 575s + foo=bar ./gthread-dynamic 575s + echo run (gthread, dynamic): OK 575s + rm -rf /tmp/tmp.f49DkpmGkX 575s run (gthread, dynamic): OK 575s autopkgtest [16:52:08]: test build: -----------------------] 576s autopkgtest [16:52:09]: test build: - - - - - - - - - - results - - - - - - - - - - 576s build PASS (superficial) 576s autopkgtest [16:52:09]: test build-static: preparing testbed 579s Reading package lists... 580s Building dependency tree... 580s Reading state information... 581s Starting pkgProblemResolver with broken count: 0 582s Starting 2 pkgProblemResolver with broken count: 0 582s Done 585s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 585s 1 not fully installed or removed. 585s After this operation, 0 B of additional disk space will be used. 585s Setting up autopkgtest-satdep (0) ... 591s (Reading database ... 79220 files and directories currently installed.) 591s Removing autopkgtest-satdep (0) ... 593s autopkgtest [16:52:26]: test build-static: [----------------------- 593s + mode=dynamic 593s + getopt -o --long static -n debian/tests/build -- --static 593s + getopt_temp= --static -- 593s + eval set -- --static -- 593s + set -- --static -- 593s + true 593s + mode=static 593s + shift 593s + continue 593s + true 593s + shift 593s + break 593s + mktemp -d 593s + WORKDIR=/tmp/tmp.CrBc3C8cDq 593s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 593s + cd /tmp/tmp.CrBc3C8cDq 593s + [ -n ] 593s + CROSS_COMPILE= 593s + cat 593s + cat 593s + cat 593s + cat 593s + cat 593s + cat 593s + cflags= 593s + pcflags= 593s + packages=glib-2.0 593s + cflags=-static 593s + pcflags=--static 593s + pkg-config --static --cflags --libs glib-2.0 593s + 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 594s /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': 594s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 594s /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 594s /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 594s + echo build (glib, static): OK 594s + [ -x glib-static ] 594s + foo=bar ./glib-static 594s + echo run (glib, static): OK 594s + cflags= 594s + pcflags= 594s + packages=gobject-2.0 594s + cflags=-static 594s + pcflags=--static 594s + pkg-config --static --cflags --libs gobject-2.0 594s build (glib, static): OK 594s run (glib, static): OK 594s + 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 595s /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': 595s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 595s /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 595s /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 595s + echo build (gobject, static): OK 595s + [ -xbuild (gobject, static): OK 595s gobject-static ] 595s + foo=bar ./gobject-static 595s run (gobject, static): OK 595s + echo run (gobject, static): OK 595s + cflags= 595s + pcflags= 595s + packages=gio-2.0 595s + cflags=-static 595s + pcflags=--static 595s + continue 595s + cflags= 595s + pcflags= 595s + packages=gio-unix-2.0 595s + cflags=-static 595s + pcflags=--static 595s + continue 595s + cflags= 595s + pcflags= 595s + packages=gmodule-2.0 595s + cflags=-static 595s + pcflags=--static 595s + pkg-config --static --cflags --libs gmodule-2.0 595s + 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 595s /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': 595s (.text+0x610): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 595s /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': 595s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 595s /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 595s /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 596s + echo build (gmodule, static): OK 596s + [ -x gmodule-static ] 596s + foo=bar ./gmodule-static 596s build (gmodule, static): OK 596s + run (gmodule, static): OK 596s echo run (gmodule, static): OK 596s + cflags= 596s + pcflags= 596s + packages=gthread-2.0 596s + cflags=-static 596s + pcflags=--static 596s + pkg-config --static --cflags --libs gthread-2.0 596s + 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 596s /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': 596s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 596s /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 596s /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 596s + echo build (gthread, static): OK 596s build (gthread, static): OK 597s + [ -x gthread-static ]run (gthread, static): OK 597s 597s + foo=bar ./gthread-static 597s + echo run (gthread, static): OK 597s + rm -rf /tmp/tmp.CrBc3C8cDq 597s autopkgtest [16:52:30]: test build-static: -----------------------] 597s autopkgtest [16:52:30]: test build-static: - - - - - - - - - - results - - - - - - - - - - 597s build-static PASS (superficial) 598s autopkgtest [16:52:31]: test installed-tests: preparing testbed 811s autopkgtest [16:56:04]: @@@@@@@@@@@@@@@@@@@@ test bed setup 812s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 813s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 813s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [429 kB] 813s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2630 kB] 813s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [37.3 kB] 813s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [578 kB] 813s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 813s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 813s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 813s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2881 kB] 814s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 814s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [39.2 kB] 814s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 822s Fetched 6747 kB in 4s (1647 kB/s) 823s Reading package lists... 834s Reading package lists... 834s Building dependency tree... 834s Reading state information... 836s Calculating upgrade... 837s The following package was automatically installed and is no longer required: 837s ubuntu-advantage-tools 837s Use 'sudo apt autoremove' to remove it. 837s The following packages will be REMOVED: 837s libglib2.0-0 837s The following NEW packages will be installed: 837s libglib2.0-0t64 xdg-user-dirs 837s The following packages will be upgraded: 837s efibootmgr gir1.2-glib-2.0 libglib2.0-data python3-attr ubuntu-minimal 837s ubuntu-standard 837s 6 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 837s Need to get 1875 kB of archives. 837s After this operation, 138 kB of additional disk space will be used. 837s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu3 [182 kB] 837s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu3 [1527 kB] 838s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu3 [46.6 kB] 838s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-minimal arm64 1.535 [10.5 kB] 838s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 838s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-standard arm64 1.535 [10.5 kB] 838s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 efibootmgr arm64 18-1build1 [31.5 kB] 838s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 python3-attr all 23.2.0-2 [48.6 kB] 839s Fetched 1875 kB in 1s (2520 kB/s) 839s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 839s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu3_arm64.deb ... 839s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 840s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 840s udisks2 depends on libglib2.0-0 (>= 2.77.0). 840s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 840s python3-gi depends on libglib2.0-0 (>= 2.77.0). 840s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 840s netplan.io depends on libglib2.0-0 (>= 2.70.0). 840s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 840s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 840s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 840s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 840s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 840s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 840s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 840s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 840s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 840s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 840s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 840s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 840s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 840s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 840s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 840s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 840s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 840s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 840s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 840s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 840s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 840s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 840s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 840s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 840s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 840s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 840s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 840s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 840s fwupd depends on libglib2.0-0 (>= 2.79.0). 840s bolt depends on libglib2.0-0 (>= 2.56.0). 840s 840s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 840s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 840s Selecting previously unselected package libglib2.0-0t64:arm64. 840s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75837 files and directories currently installed.) 840s Preparing to unpack .../0-libglib2.0-0t64_2.79.3-3ubuntu3_arm64.deb ... 840s 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... 840s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 840s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 840s Preparing to unpack .../1-libglib2.0-data_2.79.3-3ubuntu3_all.deb ... 840s Unpacking libglib2.0-data (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 840s Preparing to unpack .../2-ubuntu-minimal_1.535_arm64.deb ... 840s Unpacking ubuntu-minimal (1.535) over (1.534) ... 840s Selecting previously unselected package xdg-user-dirs. 840s Preparing to unpack .../3-xdg-user-dirs_0.18-1_arm64.deb ... 841s Unpacking xdg-user-dirs (0.18-1) ... 841s Preparing to unpack .../4-ubuntu-standard_1.535_arm64.deb ... 841s Unpacking ubuntu-standard (1.535) over (1.534) ... 841s Preparing to unpack .../5-efibootmgr_18-1build1_arm64.deb ... 841s Unpacking efibootmgr (18-1build1) over (18-1) ... 841s Preparing to unpack .../6-python3-attr_23.2.0-2_all.deb ... 841s Unpacking python3-attr (23.2.0-2) over (23.2.0-1) ... 841s Setting up python3-attr (23.2.0-2) ... 842s Setting up efibootmgr (18-1build1) ... 842s Setting up ubuntu-minimal (1.535) ... 842s Setting up xdg-user-dirs (0.18-1) ... 842s Setting up ubuntu-standard (1.535) ... 842s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 842s No schema files found: doing nothing. 842s Setting up libglib2.0-data (2.79.3-3ubuntu3) ... 842s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) ... 842s Processing triggers for man-db (2.12.0-3) ... 843s Processing triggers for libc-bin (2.39-0ubuntu2) ... 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 844s 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 845s Reading package lists... 845s Building dependency tree... 845s Reading state information... 847s The following packages will be REMOVED: 847s ubuntu-advantage-tools* 848s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 848s After this operation, 71.7 kB disk space will be freed. 848s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75876 files and directories currently installed.) 848s Removing ubuntu-advantage-tools (31.1) ... 849s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75870 files and directories currently installed.) 849s Purging configuration files for ubuntu-advantage-tools (31.1) ... 852s sh: Attempting to set up Debian/Ubuntu apt sources automatically 852s sh: Distribution appears to be Ubuntu 861s Reading package lists... 861s Building dependency tree... 861s Reading state information... 863s Weatmydata is already the newest version (131-1). 863s dbus is already the newest version (1.14.10-4ubuntu1). 863s dbus set to manually installed. 863s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 863s : 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s 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 863s Reading package lists... 864s Building dependency tree... 864s Reading state information... 866s rng-tools-debian is already the newest version (2.4). 866s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 866s Reading package lists... 867s Building dependency tree... 867s Reading state information... 868s haveged is already the newest version (1.9.14-1ubuntu1). 868s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 868s Reading package lists... 869s Building dependency tree... 869s Reading state information... 871s The following packages will be REMOVED: 871s cloud-init* python3-configobj* python3-debconf* 872s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 872s After this operation, 3248 kB disk space will be freed. 872s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75870 files and directories currently installed.) 872s Removing cloud-init (24.1-0ubuntu1) ... 874s Removing python3-configobj (5.0.8-3) ... 874s Removing python3-debconf (1.5.86) ... 875s Processing triggers for man-db (2.12.0-3) ... 875s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75481 files and directories currently installed.) 875s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 878s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 878s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 880s Reading package lists... 880s Building dependency tree... 880s Reading state information... 882s linux-generic is already the newest version (6.8.0-11.11+1). 882s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 883s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 883s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 883s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 883s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 883s Hit:5 http://ftpmaster.internal/ubuntu noble-backports InRelease 894s Reading package lists... 894s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s 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 895s Reading package lists... 896s Building dependency tree... 896s Reading state information... 897s Calculating upgrade... 898s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 898s Reading package lists... 899s Building dependency tree... 899s Reading state information... 901s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 901s autopkgtest [16:57:34]: rebooting testbed after setup commands that affected boot 1059s autopkgtest [17:00:12]: testbed dpkg architecture: arm64 1065s Reading package lists... 1066s Building dependency tree... 1066s Reading state information... 1067s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 1067s Starting 2 pkgProblemResolver with broken count: 0 1067s Done 1068s Done 1069s Starting pkgProblemResolver with broken count: 0 1069s Starting 2 pkgProblemResolver with broken count: 0 1069s Done 1070s The following additional packages will be installed: 1070s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 1070s libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 libgirepository-2.0-0 1070s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 1070s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 1070s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 1070s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 1070s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 1070s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 1070s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 1070s Suggested packages: 1070s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 1070s Recommended packages: 1070s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 1070s xfonts-base 1071s The following packages will be REMOVED: 1071s libelf1 1071s The following NEW packages will be installed: 1071s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 1071s libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 libgirepository-2.0-0 1071s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 1071s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 1071s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 1071s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 1071s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 1071s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 1071s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 1071s 0 upgraded, 50 newly installed, 1 to remove and 0 not upgraded. 1071s 1 not fully installed or removed. 1071s Need to get 38.8 MB of archives. 1071s After this operation, 194 MB of additional disk space will be used. 1071s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 dbus-x11 arm64 1.14.10-4ubuntu1 [23.2 kB] 1071s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 gnome-desktop-testing arm64 2021.1-3build1 [16.0 kB] 1071s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 desktop-file-utils arm64 0.26-1ubuntu5 [53.5 kB] 1071s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libelf1t64 arm64 0.190-1.1build1 [57.9 kB] 1071s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-bin arm64 2.79.3-3ubuntu3 [97.1 kB] 1071s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 1071s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgirepository-2.0-0 arm64 2.79.3-3ubuntu3 [71.5 kB] 1071s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev-bin arm64 2.79.3-3ubuntu3 [215 kB] 1071s Get:9 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-dbusmock all 0.31.1-1 [85.5 kB] 1071s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libglib2.0-tests arm64 2.79.3-3ubuntu3 [2059 kB] 1071s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 1071s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 libice6 arm64 2:1.0.10-1build2 [41.7 kB] 1071s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libsm6 arm64 2:1.2.3-1build2 [16.1 kB] 1071s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 libxt6 arm64 1:1.2.1-1.1 [167 kB] 1071s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libxmu6 arm64 2:1.1.3-3 [48.9 kB] 1071s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libxpm4 arm64 1:3.5.17-1 [34.5 kB] 1071s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libxaw7 arm64 2:1.0.14-1 [184 kB] 1071s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libxkbfile1 arm64 1:1.1.0-1build3 [71.2 kB] 1071s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB] 1071s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libxrandr2 arm64 2:1.5.2-2 [19.6 kB] 1072s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 x11-xkb-utils arm64 7.7+8 [165 kB] 1072s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 1072s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libglvnd0 arm64 1.7.0-1 [60.0 kB] 1072s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 libglapi-mesa arm64 24.0.1-1ubuntu1 [57.8 kB] 1072s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 libx11-xcb1 arm64 2:1.8.7-1 [7836 B] 1072s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri2-0 arm64 1.15-1 [7244 B] 1072s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri3-0 arm64 1.15-1 [7108 B] 1072s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-glx0 arm64 1.15-1 [25.2 kB] 1072s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-present0 arm64 1.15-1 [5732 B] 1072s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-randr0 arm64 1.15-1 [18.2 kB] 1072s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B] 1072s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-sync1 arm64 1.15-1 [9412 B] 1072s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-xfixes0 arm64 1.15-1 [10.3 kB] 1072s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libxfixes3 arm64 1:6.0.0-2 [11.0 kB] 1072s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libxshmfence1 arm64 1.3-1build4 [5444 B] 1072s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libxxf86vm1 arm64 1:1.1.4-1build3 [10.3 kB] 1072s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libvulkan1 arm64 1.3.275.0-1 [150 kB] 1072s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-amdgpu1 arm64 2.4.120-2 [20.4 kB] 1072s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-nouveau2 arm64 2.4.120-2 [17.8 kB] 1072s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-radeon1 arm64 2.4.120-2 [20.9 kB] 1072s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libllvm17 arm64 1:17.0.6-5build1 [25.0 MB] 1073s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1-mesa-dri arm64 24.0.1-1ubuntu1 [8226 kB] 1073s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libglx-mesa0 arm64 24.0.1-1ubuntu1 [166 kB] 1073s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libglx0 arm64 1.7.0-1 [32.4 kB] 1073s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1 arm64 1.7.0-1 [107 kB] 1073s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libpixman-1-0 arm64 0.42.2-1 [193 kB] 1073s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libunwind8 arm64 1.6.2-3 [55.1 kB] 1073s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libfontenc1 arm64 1:1.1.4-1build3 [14.1 kB] 1073s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libxfont2 arm64 1:2.0.6-1 [88.8 kB] 1073s Get:50 http://ftpmaster.internal/ubuntu noble/universe arm64 xvfb arm64 2:21.1.11-2ubuntu1 [871 kB] 1075s Fetched 38.8 MB in 3s (15.4 MB/s) 1075s Selecting previously unselected package dbus-x11. 1075s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75426 files and directories currently installed.) 1075s Preparing to unpack .../dbus-x11_1.14.10-4ubuntu1_arm64.deb ... 1075s Unpacking dbus-x11 (1.14.10-4ubuntu1) ... 1075s Selecting previously unselected package gnome-desktop-testing. 1075s Preparing to unpack .../gnome-desktop-testing_2021.1-3build1_arm64.deb ... 1075s Unpacking gnome-desktop-testing (2021.1-3build1) ... 1075s Selecting previously unselected package desktop-file-utils. 1075s Preparing to unpack .../desktop-file-utils_0.26-1ubuntu5_arm64.deb ... 1075s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 1075s dpkg: libelf1:arm64: dependency problems, but removing anyway as you requested: 1075s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 1075s libbpf1:arm64 depends on libelf1 (>= 0.144). 1075s iproute2 depends on libelf1 (>= 0.131). 1075s 1076s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1076s Removing libelf1:arm64 (0.190-1) ... 1076s Selecting previously unselected package libelf1t64:arm64. 1076s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75459 files and directories currently installed.) 1076s Preparing to unpack .../00-libelf1t64_0.190-1.1build1_arm64.deb ... 1076s Unpacking libelf1t64:arm64 (0.190-1.1build1) ... 1076s Selecting previously unselected package libglib2.0-bin. 1076s Preparing to unpack .../01-libglib2.0-bin_2.79.3-3ubuntu3_arm64.deb ... 1076s Unpacking libglib2.0-bin (2.79.3-3ubuntu3) ... 1076s Selecting previously unselected package python3-packaging. 1076s Preparing to unpack .../02-python3-packaging_23.2-1_all.deb ... 1076s Unpacking python3-packaging (23.2-1) ... 1076s Selecting previously unselected package libgirepository-2.0-0:arm64. 1076s Preparing to unpack .../03-libgirepository-2.0-0_2.79.3-3ubuntu3_arm64.deb ... 1076s Unpacking libgirepository-2.0-0:arm64 (2.79.3-3ubuntu3) ... 1076s Selecting previously unselected package libglib2.0-dev-bin. 1076s Preparing to unpack .../04-libglib2.0-dev-bin_2.79.3-3ubuntu3_arm64.deb ... 1076s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu3) ... 1076s Selecting previously unselected package python3-dbusmock. 1076s Preparing to unpack .../05-python3-dbusmock_0.31.1-1_all.deb ... 1076s Unpacking python3-dbusmock (0.31.1-1) ... 1076s Selecting previously unselected package libglib2.0-tests. 1076s Preparing to unpack .../06-libglib2.0-tests_2.79.3-3ubuntu3_arm64.deb ... 1076s Unpacking libglib2.0-tests (2.79.3-3ubuntu3) ... 1078s Selecting previously unselected package x11-common. 1078s Preparing to unpack .../07-x11-common_1%3a7.7+23ubuntu2_all.deb ... 1078s Unpacking x11-common (1:7.7+23ubuntu2) ... 1078s Selecting previously unselected package libice6:arm64. 1078s Preparing to unpack .../08-libice6_2%3a1.0.10-1build2_arm64.deb ... 1078s Unpacking libice6:arm64 (2:1.0.10-1build2) ... 1078s Selecting previously unselected package libsm6:arm64. 1078s Preparing to unpack .../09-libsm6_2%3a1.2.3-1build2_arm64.deb ... 1078s Unpacking libsm6:arm64 (2:1.2.3-1build2) ... 1078s Selecting previously unselected package libxt6:arm64. 1078s Preparing to unpack .../10-libxt6_1%3a1.2.1-1.1_arm64.deb ... 1078s Unpacking libxt6:arm64 (1:1.2.1-1.1) ... 1078s Selecting previously unselected package libxmu6:arm64. 1078s Preparing to unpack .../11-libxmu6_2%3a1.1.3-3_arm64.deb ... 1078s Unpacking libxmu6:arm64 (2:1.1.3-3) ... 1078s Selecting previously unselected package libxpm4:arm64. 1078s Preparing to unpack .../12-libxpm4_1%3a3.5.17-1_arm64.deb ... 1078s Unpacking libxpm4:arm64 (1:3.5.17-1) ... 1078s Selecting previously unselected package libxaw7:arm64. 1078s Preparing to unpack .../13-libxaw7_2%3a1.0.14-1_arm64.deb ... 1078s Unpacking libxaw7:arm64 (2:1.0.14-1) ... 1078s Selecting previously unselected package libxkbfile1:arm64. 1078s Preparing to unpack .../14-libxkbfile1_1%3a1.1.0-1build3_arm64.deb ... 1078s Unpacking libxkbfile1:arm64 (1:1.1.0-1build3) ... 1078s Selecting previously unselected package libxrender1:arm64. 1078s Preparing to unpack .../15-libxrender1_1%3a0.9.10-1.1_arm64.deb ... 1078s Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... 1078s Selecting previously unselected package libxrandr2:arm64. 1078s Preparing to unpack .../16-libxrandr2_2%3a1.5.2-2_arm64.deb ... 1078s Unpacking libxrandr2:arm64 (2:1.5.2-2) ... 1079s Selecting previously unselected package x11-xkb-utils. 1079s Preparing to unpack .../17-x11-xkb-utils_7.7+8_arm64.deb ... 1079s Unpacking x11-xkb-utils (7.7+8) ... 1079s Selecting previously unselected package xserver-common. 1079s Preparing to unpack .../18-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 1079s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 1079s Selecting previously unselected package libglvnd0:arm64. 1079s Preparing to unpack .../19-libglvnd0_1.7.0-1_arm64.deb ... 1079s Unpacking libglvnd0:arm64 (1.7.0-1) ... 1079s Selecting previously unselected package libglapi-mesa:arm64. 1079s Preparing to unpack .../20-libglapi-mesa_24.0.1-1ubuntu1_arm64.deb ... 1079s Unpacking libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 1079s Selecting previously unselected package libx11-xcb1:arm64. 1079s Preparing to unpack .../21-libx11-xcb1_2%3a1.8.7-1_arm64.deb ... 1079s Unpacking libx11-xcb1:arm64 (2:1.8.7-1) ... 1079s Selecting previously unselected package libxcb-dri2-0:arm64. 1079s Preparing to unpack .../22-libxcb-dri2-0_1.15-1_arm64.deb ... 1079s Unpacking libxcb-dri2-0:arm64 (1.15-1) ... 1079s Selecting previously unselected package libxcb-dri3-0:arm64. 1079s Preparing to unpack .../23-libxcb-dri3-0_1.15-1_arm64.deb ... 1079s Unpacking libxcb-dri3-0:arm64 (1.15-1) ... 1079s Selecting previously unselected package libxcb-glx0:arm64. 1079s Preparing to unpack .../24-libxcb-glx0_1.15-1_arm64.deb ... 1079s Unpacking libxcb-glx0:arm64 (1.15-1) ... 1079s Selecting previously unselected package libxcb-present0:arm64. 1079s Preparing to unpack .../25-libxcb-present0_1.15-1_arm64.deb ... 1079s Unpacking libxcb-present0:arm64 (1.15-1) ... 1079s Selecting previously unselected package libxcb-randr0:arm64. 1079s Preparing to unpack .../26-libxcb-randr0_1.15-1_arm64.deb ... 1079s Unpacking libxcb-randr0:arm64 (1.15-1) ... 1079s Selecting previously unselected package libxcb-shm0:arm64. 1080s Preparing to unpack .../27-libxcb-shm0_1.15-1_arm64.deb ... 1080s Unpacking libxcb-shm0:arm64 (1.15-1) ... 1080s Selecting previously unselected package libxcb-sync1:arm64. 1080s Preparing to unpack .../28-libxcb-sync1_1.15-1_arm64.deb ... 1080s Unpacking libxcb-sync1:arm64 (1.15-1) ... 1080s Selecting previously unselected package libxcb-xfixes0:arm64. 1080s Preparing to unpack .../29-libxcb-xfixes0_1.15-1_arm64.deb ... 1080s Unpacking libxcb-xfixes0:arm64 (1.15-1) ... 1080s Selecting previously unselected package libxfixes3:arm64. 1080s Preparing to unpack .../30-libxfixes3_1%3a6.0.0-2_arm64.deb ... 1080s Unpacking libxfixes3:arm64 (1:6.0.0-2) ... 1080s Selecting previously unselected package libxshmfence1:arm64. 1080s Preparing to unpack .../31-libxshmfence1_1.3-1build4_arm64.deb ... 1080s Unpacking libxshmfence1:arm64 (1.3-1build4) ... 1080s Selecting previously unselected package libxxf86vm1:arm64. 1080s Preparing to unpack .../32-libxxf86vm1_1%3a1.1.4-1build3_arm64.deb ... 1080s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build3) ... 1080s Selecting previously unselected package libvulkan1:arm64. 1080s Preparing to unpack .../33-libvulkan1_1.3.275.0-1_arm64.deb ... 1080s Unpacking libvulkan1:arm64 (1.3.275.0-1) ... 1080s Selecting previously unselected package libdrm-amdgpu1:arm64. 1080s Preparing to unpack .../34-libdrm-amdgpu1_2.4.120-2_arm64.deb ... 1080s Unpacking libdrm-amdgpu1:arm64 (2.4.120-2) ... 1080s Selecting previously unselected package libdrm-nouveau2:arm64. 1080s Preparing to unpack .../35-libdrm-nouveau2_2.4.120-2_arm64.deb ... 1080s Unpacking libdrm-nouveau2:arm64 (2.4.120-2) ... 1080s Selecting previously unselected package libdrm-radeon1:arm64. 1080s Preparing to unpack .../36-libdrm-radeon1_2.4.120-2_arm64.deb ... 1080s Unpacking libdrm-radeon1:arm64 (2.4.120-2) ... 1080s Selecting previously unselected package libllvm17:arm64. 1080s Preparing to unpack .../37-libllvm17_1%3a17.0.6-5build1_arm64.deb ... 1080s Unpacking libllvm17:arm64 (1:17.0.6-5build1) ... 1083s Selecting previously unselected package libgl1-mesa-dri:arm64. 1083s Preparing to unpack .../38-libgl1-mesa-dri_24.0.1-1ubuntu1_arm64.deb ... 1083s Unpacking libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 1084s Selecting previously unselected package libglx-mesa0:arm64. 1084s Preparing to unpack .../39-libglx-mesa0_24.0.1-1ubuntu1_arm64.deb ... 1084s Unpacking libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 1084s Selecting previously unselected package libglx0:arm64. 1084s Preparing to unpack .../40-libglx0_1.7.0-1_arm64.deb ... 1084s Unpacking libglx0:arm64 (1.7.0-1) ... 1084s Selecting previously unselected package libgl1:arm64. 1084s Preparing to unpack .../41-libgl1_1.7.0-1_arm64.deb ... 1084s Unpacking libgl1:arm64 (1.7.0-1) ... 1084s Selecting previously unselected package libpixman-1-0:arm64. 1084s Preparing to unpack .../42-libpixman-1-0_0.42.2-1_arm64.deb ... 1084s Unpacking libpixman-1-0:arm64 (0.42.2-1) ... 1084s Selecting previously unselected package libunwind8:arm64. 1084s Preparing to unpack .../43-libunwind8_1.6.2-3_arm64.deb ... 1084s Unpacking libunwind8:arm64 (1.6.2-3) ... 1084s Selecting previously unselected package libfontenc1:arm64. 1084s Preparing to unpack .../44-libfontenc1_1%3a1.1.4-1build3_arm64.deb ... 1084s Unpacking libfontenc1:arm64 (1:1.1.4-1build3) ... 1084s Selecting previously unselected package libxfont2:arm64. 1084s Preparing to unpack .../45-libxfont2_1%3a2.0.6-1_arm64.deb ... 1084s Unpacking libxfont2:arm64 (1:2.0.6-1) ... 1084s Selecting previously unselected package xvfb. 1084s Preparing to unpack .../46-xvfb_2%3a21.1.11-2ubuntu1_arm64.deb ... 1084s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 1085s Setting up gnome-desktop-testing (2021.1-3build1) ... 1085s Setting up libxcb-dri3-0:arm64 (1.15-1) ... 1085s Setting up libpixman-1-0:arm64 (0.42.2-1) ... 1085s Setting up libx11-xcb1:arm64 (2:1.8.7-1) ... 1085s Setting up libdrm-nouveau2:arm64 (2.4.120-2) ... 1085s Setting up libxcb-xfixes0:arm64 (1.15-1) ... 1085s Setting up desktop-file-utils (0.26-1ubuntu5) ... 1085s Setting up libxpm4:arm64 (1:3.5.17-1) ... 1085s Setting up libxrender1:arm64 (1:0.9.10-1.1) ... 1085s Setting up libgirepository-2.0-0:arm64 (2.79.3-3ubuntu3) ... 1085s Setting up libdrm-radeon1:arm64 (2.4.120-2) ... 1085s Setting up libglvnd0:arm64 (1.7.0-1) ... 1085s Setting up libxcb-glx0:arm64 (1.15-1) ... 1085s Setting up x11-common (1:7.7+23ubuntu2) ... 1086s Setting up libxcb-shm0:arm64 (1.15-1) ... 1086s Setting up libunwind8:arm64 (1.6.2-3) ... 1086s Setting up libelf1t64:arm64 (0.190-1.1build1) ... 1086s Setting up libxxf86vm1:arm64 (1:1.1.4-1build3) ... 1086s Setting up libxcb-present0:arm64 (1.15-1) ... 1086s Setting up libfontenc1:arm64 (1:1.1.4-1build3) ... 1086s Setting up python3-packaging (23.2-1) ... 1087s Setting up libxfixes3:arm64 (1:6.0.0-2) ... 1087s Setting up libxcb-sync1:arm64 (1.15-1) ... 1087s Setting up libxrandr2:arm64 (2:1.5.2-2) ... 1087s Setting up libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 1087s Setting up libvulkan1:arm64 (1.3.275.0-1) ... 1087s Setting up libxcb-dri2-0:arm64 (1.15-1) ... 1087s Setting up libxshmfence1:arm64 (1.3-1build4) ... 1087s Setting up dbus-x11 (1.14.10-4ubuntu1) ... 1087s Setting up libxcb-randr0:arm64 (1.15-1) ... 1087s Setting up libxkbfile1:arm64 (1:1.1.0-1build3) ... 1087s Setting up libllvm17:arm64 (1:17.0.6-5build1) ... 1087s Setting up libxfont2:arm64 (1:2.0.6-1) ... 1087s Setting up libdrm-amdgpu1:arm64 (2.4.120-2) ... 1087s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu3) ... 1088s Setting up libice6:arm64 (2:1.0.10-1build2) ... 1088s Setting up libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 1088s Setting up libglib2.0-bin (2.79.3-3ubuntu3) ... 1088s Setting up python3-dbusmock (0.31.1-1) ... 1088s Setting up libglib2.0-tests (2.79.3-3ubuntu3) ... 1089s Setting up libsm6:arm64 (2:1.2.3-1build2) ... 1089s Setting up libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 1089s Setting up libglx0:arm64 (1.7.0-1) ... 1089s Setting up libgl1:arm64 (1.7.0-1) ... 1089s Setting up libxt6:arm64 (1:1.2.1-1.1) ... 1089s Setting up libxmu6:arm64 (2:1.1.3-3) ... 1089s Setting up libxaw7:arm64 (2:1.0.14-1) ... 1089s Setting up x11-xkb-utils (7.7+8) ... 1089s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 1089s Setting up xvfb (2:21.1.11-2ubuntu1) ... 1089s Setting up autopkgtest-satdep (0) ... 1089s Processing triggers for man-db (2.12.0-3) ... 1090s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1100s (Reading database ... 76914 files and directories currently installed.) 1100s Removing autopkgtest-satdep (0) ... 1118s autopkgtest [17:01:11]: test installed-tests: [----------------------- 1119s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 1119s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1119s group entry: ubuntu:x:1000: 1119s Environment: 1119s ADTTMP=/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp 1119s ADT_ARTIFACTS=/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts 1119s ADT_TEST_TRIGGERS=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3 1119s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts 1119s AUTOPKGTEST_TMP=/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp 1119s DEBIAN_FRONTEND=noninteractive 1119s DEB_BUILD_OPTIONS=parallel=1 1119s GIO_USE_VFS=local 1119s GIO_USE_VOLUME_MONITOR=unix 1119s HOME=/home/ubuntu 1119s LANG=C.UTF-8 1119s LOGNAME=ubuntu 1119s MAIL=/var/mail/ubuntu 1119s OLDPWD=/home/ubuntu 1119s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1119s PWD=/tmp/autopkgtest.6fpYMJ/build.4Hc/src 1119s SHELL=/bin/bash 1119s SHLVL=2 1119s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout); 1119s SUDO_GID=1000 1119s SUDO_UID=1000 1119s SUDO_USER=ubuntu 1119s TERM=linux 1119s USER=ubuntu 1119s XDG_RUNTIME_DIR=/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp 1119s _=/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 1119s http_proxy=http://squid.internal:3128 1119s https_proxy=http://squid.internal:3128 1119s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 1119s run-with-locales: de_DE=ISO-8859-1... 1119s Character set: ISO-8859-1 1119s Source file: de_DE 1119s Output: /tmp/tmp.drtrlk6N4J/de_DE 1121s run-with-locales: de_DE.utf8... 1121s Character set: UTF-8 1121s Source file: de_DE 1121s Output: /tmp/tmp.drtrlk6N4J/de_DE.utf8 1130s run-with-locales: de_DE@euro.utf8... 1130s Character set: UTF-8 1130s Source file: de_DE@euro 1130s Output: /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8 1140s run-with-locales: el_GR.utf8... 1140s Character set: UTF-8 1140s Source file: el_GR 1140s Output: /tmp/tmp.drtrlk6N4J/el_GR.utf8 1149s run-with-locales: en_GB=ISO-8859-1... 1149s Character set: ISO-8859-1 1149s Source file: en_GB 1149s Output: /tmp/tmp.drtrlk6N4J/en_GB 1151s run-with-locales: en_GB.utf8... 1151s Character set: UTF-8 1151s Source file: en_GB 1151s Output: /tmp/tmp.drtrlk6N4J/en_GB.utf8 1160s run-with-locales: en_US=ISO-8859-1... 1160s Character set: ISO-8859-1 1160s Source file: en_US 1160s Output: /tmp/tmp.drtrlk6N4J/en_US 1161s run-with-locales: en_US.utf8... 1161s Character set: UTF-8 1161s Source file: en_US 1161s Output: /tmp/tmp.drtrlk6N4J/en_US.utf8 1172s run-with-locales: es_ES.utf8... 1172s Character set: UTF-8 1172s Source file: es_ES 1172s Output: /tmp/tmp.drtrlk6N4J/es_ES.utf8 1182s run-with-locales: fa_IR=UTF-8... 1182s Character set: UTF-8 1182s Source file: fa_IR 1182s Output: /tmp/tmp.drtrlk6N4J/fa_IR 1191s run-with-locales: fa_IR.utf8... 1191s Character set: UTF-8 1191s Source file: fa_IR 1191s Output: /tmp/tmp.drtrlk6N4J/fa_IR.utf8 1201s run-with-locales: fr_FR.utf8... 1201s Character set: UTF-8 1201s Source file: fr_FR 1201s Output: /tmp/tmp.drtrlk6N4J/fr_FR.utf8 1211s run-with-locales: hr_HR.utf8... 1211s Character set: UTF-8 1211s Source file: hr_HR 1211s Output: /tmp/tmp.drtrlk6N4J/hr_HR.utf8 1220s run-with-locales: ja_JP.utf8... 1220s Character set: UTF-8 1220s Source file: ja_JP 1220s Output: /tmp/tmp.drtrlk6N4J/ja_JP.utf8 1223s run-with-locales: ja_JP.EUC-JP... 1223s Character set: EUC-JP 1223s Source file: ja_JP 1223s Output: /tmp/tmp.drtrlk6N4J/ja_JP.eucjp 1225s run-with-locales: lt_LT.utf8... 1225s Character set: UTF-8 1225s Source file: lt_LT 1225s Output: /tmp/tmp.drtrlk6N4J/lt_LT.utf8 1237s run-with-locales: pl_PL=ISO-8859-2... 1237s Character set: ISO-8859-2 1237s Source file: pl_PL 1237s Output: /tmp/tmp.drtrlk6N4J/pl_PL 1238s run-with-locales: pl_PL.ISO-8859-2... 1238s Character set: ISO-8859-2 1238s Source file: pl_PL 1238s Output: /tmp/tmp.drtrlk6N4J/pl_PL.iso88592 1240s run-with-locales: pl_PL.utf8... 1240s Character set: UTF-8 1240s Source file: pl_PL 1240s Output: /tmp/tmp.drtrlk6N4J/pl_PL.utf8 1250s run-with-locales: ru_RU=ISO-8859-5... 1250s Character set: ISO-8859-5 1250s Source file: ru_RU 1250s Output: /tmp/tmp.drtrlk6N4J/ru_RU 1252s run-with-locales: ru_RU.utf8... 1252s Character set: UTF-8 1252s Source file: ru_RU 1252s Output: /tmp/tmp.drtrlk6N4J/ru_RU.utf8 1262s run-with-locales: sr_RS=UTF-8... 1262s Character set: UTF-8 1262s Source file: sr_RS 1262s Output: /tmp/tmp.drtrlk6N4J/sr_RS 1272s run-with-locales: sr_RS@latin=UTF-8... 1272s Character set: UTF-8 1272s Source file: sr_RS@latin 1272s Output: /tmp/tmp.drtrlk6N4J/sr_RS@latin 1286s run-with-locales: sv_SE=ISO-8859-1... 1286s Character set: ISO-8859-1 1286s Source file: sv_SE 1286s Output: /tmp/tmp.drtrlk6N4J/sv_SE 1288s run-with-locales: sv_SE.utf8... 1288s Character set: UTF-8 1288s Source file: sv_SE 1288s Output: /tmp/tmp.drtrlk6N4J/sv_SE.utf8 1298s run-with-locales: tr_TR=ISO-8859-9... 1298s Character set: ISO-8859-9 1298s Source file: tr_TR 1298s Output: /tmp/tmp.drtrlk6N4J/tr_TR 1300s run-with-locales: tr_TR.utf8... 1300s Character set: UTF-8 1300s Source file: tr_TR 1300s Output: /tmp/tmp.drtrlk6N4J/tr_TR.utf8 1312s run-with-locales: tt_RU=UTF-8... 1312s Character set: UTF-8 1312s Source file: tt_RU 1312s Output: /tmp/tmp.drtrlk6N4J/tt_RU 1324s run-with-locales: tt_RU.utf8... 1324s Character set: UTF-8 1324s Source file: tt_RU 1324s Output: /tmp/tmp.drtrlk6N4J/tt_RU.utf8 1335s run-with-locales: tt_RU@iqtelif=UTF-8... 1335s Character set: UTF-8 1335s Source file: tt_RU@iqtelif 1335s Output: /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif 1345s /tmp/tmp.drtrlk6N4J 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/ru_RU.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/el_GR.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/sv_SE 1345s /tmp/tmp.drtrlk6N4J/sv_SE/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/sv_SE/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/sv_SE/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/sv_SE/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/sv_SE/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/sv_SE/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/sv_SE/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/sv_SE/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/sv_SE/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/sv_SE/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/sv_SE/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/sv_SE/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/ja_JP.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/sv_SE.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/tt_RU.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/sr_RS@latin/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/de_DE 1345s /tmp/tmp.drtrlk6N4J/de_DE/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/de_DE/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/de_DE/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/de_DE/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/de_DE/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/de_DE/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/de_DE/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/de_DE/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/de_DE/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/de_DE/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/de_DE/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/de_DE/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/lt_LT.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/de_DE@euro.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/pl_PL 1345s /tmp/tmp.drtrlk6N4J/pl_PL/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/pl_PL/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/pl_PL/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/pl_PL/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/pl_PL/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/pl_PL/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/pl_PL/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/pl_PL/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/pl_PL/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/pl_PL/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/pl_PL/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/pl_PL/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/es_ES.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/fr_FR.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/fa_IR 1345s /tmp/tmp.drtrlk6N4J/fa_IR/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/fa_IR/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/fa_IR/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/fa_IR/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/fa_IR/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/fa_IR/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/fa_IR/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/fa_IR/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/fa_IR/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/fa_IR/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/fa_IR/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/fa_IR/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/tr_TR 1345s /tmp/tmp.drtrlk6N4J/tr_TR/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/tr_TR/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/tr_TR/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/tr_TR/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/tr_TR/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/tr_TR/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/tr_TR/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/tr_TR/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/tr_TR/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/tr_TR/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/tr_TR/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/tr_TR/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/en_US.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/pl_PL.iso88592/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/hr_HR.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/ru_RU 1345s /tmp/tmp.drtrlk6N4J/ru_RU/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/ru_RU/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/ru_RU/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/ru_RU/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/ru_RU/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/ru_RU/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/ru_RU/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/ru_RU/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/ru_RU/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/ru_RU/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/ru_RU/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/ru_RU/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/tt_RU 1345s /tmp/tmp.drtrlk6N4J/tt_RU/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/tt_RU/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/tt_RU/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/tt_RU/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/tt_RU/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/tt_RU/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/tt_RU/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/tt_RU/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/tt_RU/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/tt_RU/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/tt_RU/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/tt_RU/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/pl_PL.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/fa_IR.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/sr_RS 1345s /tmp/tmp.drtrlk6N4J/sr_RS/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/sr_RS/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/sr_RS/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/sr_RS/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/sr_RS/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/sr_RS/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/sr_RS/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/sr_RS/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/sr_RS/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/sr_RS/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/sr_RS/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/sr_RS/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/en_GB 1345s /tmp/tmp.drtrlk6N4J/en_GB/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/en_GB/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/en_GB/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/en_GB/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/en_GB/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/en_GB/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/en_GB/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/en_GB/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/en_GB/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/en_GB/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/en_GB/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/en_GB/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/ja_JP.eucjp/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/en_GB.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/tt_RU@iqtelif/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/en_US 1345s /tmp/tmp.drtrlk6N4J/en_US/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/en_US/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/en_US/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/en_US/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/en_US/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/en_US/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/en_US/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/en_US/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/en_US/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/en_US/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/en_US/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/en_US/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/de_DE.utf8/LC_ADDRESS 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8/LC_NAME 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8/LC_IDENTIFICATION 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8/LC_CTYPE 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8/LC_PAPER 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8/LC_COLLATE 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8/LC_TIME 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8/LC_MEASUREMENT 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8/LC_NUMERIC 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8/LC_TELEPHONE 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8/LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8/LC_MONETARY 1345s /tmp/tmp.drtrlk6N4J/tr_TR.utf8/LC_ADDRESS 1345s 1..316 1345s # Running test: glib/basic-signals.test 1345s TAP version 13 1345s # random seed: R02Sbd1d19f609ab12c12508f5001cfbe9c4 1345s 1..1 1345s # Start of gobject tests 1345s ok 1 /gobject/basic-signals 1345s # End of gobject tests 1345s ok - glib/basic-signals.test 1345s # Running test: glib/dynamictests.test 1345s TAP version 13 1345s # random seed: R02S064eea2a798d3a916a1562e8a03ee3ff 1345s 1..2 1345s # Start of GObject tests 1345s ok 1 /GObject/threaded-dynamic-ref-unref-init 1345s ok 2 /GObject/dynamic-interface-properties 1345s # End of GObject tests 1345s ok - glib/dynamictests.test 1345s # Running test: glib/autoptr-girepository.test 1345s TAP version 13 1345s # random seed: R02S8e3499d5536a625b38379dc66f0ffc8a 1345s 1..24 1345s # Start of autoptr tests 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/repository/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/repository/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/repository/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/repository/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/repository/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/repository/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/repository/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/repository/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 1 /autoptr/repository 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/typelib/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/typelib/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/typelib/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/typelib/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/typelib/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/typelib/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/typelib/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/typelib/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 2 /autoptr/typelib 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/base-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/base-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/base-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/base-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/base-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/base-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/base-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/base-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 3 /autoptr/base-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/arg-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/arg-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/arg-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/arg-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/arg-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/arg-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/arg-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/arg-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 4 /autoptr/arg-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/callable-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/callable-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/callable-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/callable-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/callable-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/callable-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/callable-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/callable-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 5 /autoptr/callable-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/callback-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/callback-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/callback-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/callback-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/callback-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/callback-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/callback-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/callback-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 6 /autoptr/callback-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/constant-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/constant-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/constant-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/constant-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/constant-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/constant-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/constant-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/constant-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 7 /autoptr/constant-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/enum-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/enum-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/enum-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/enum-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/enum-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/enum-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/enum-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/enum-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 8 /autoptr/enum-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/field-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/field-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/field-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/field-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/field-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/field-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/field-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/field-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 9 /autoptr/field-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/flags-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/flags-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/flags-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/flags-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/flags-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/flags-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/flags-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/flags-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 10 /autoptr/flags-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/function-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/function-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/function-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/function-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/function-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/function-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/function-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/function-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 11 /autoptr/function-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/interface-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/interface-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/interface-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/interface-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/interface-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/interface-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/interface-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/interface-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 12 /autoptr/interface-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/object-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/object-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/object-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/object-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/object-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/object-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/object-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/object-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 13 /autoptr/object-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/property-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/property-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/property-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/property-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/property-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/property-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/property-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/property-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 14 /autoptr/property-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/registered-type-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/registered-type-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/registered-type-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/registered-type-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/registered-type-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/registered-type-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/registered-type-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/registered-type-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 15 /autoptr/registered-type-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/signal-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/signal-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/signal-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/signal-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/signal-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/signal-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/signal-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/signal-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 16 /autoptr/signal-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/struct-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/struct-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/struct-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/struct-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/struct-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/struct-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/struct-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/struct-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 17 /autoptr/struct-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/type-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/type-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/type-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/type-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/type-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/type-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/type-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/type-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 18 /autoptr/type-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/union-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/union-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/union-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/union-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/union-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/union-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/union-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/union-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 19 /autoptr/union-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/value-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/value-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/value-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/value-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/value-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/value-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/value-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/value-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 20 /autoptr/value-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/vfunc-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/vfunc-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/autoptr/vfunc-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/vfunc-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/autoptr/vfunc-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/vfunc-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/autoptr/vfunc-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/autoptr/vfunc-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 21 /autoptr/vfunc-info 1345s # End of autoptr tests 1345s # Start of auto tests 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/auto/arg-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/auto/arg-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/auto/arg-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/auto/arg-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/auto/arg-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/auto/arg-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/auto/arg-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/auto/arg-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 22 /auto/arg-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/auto/type-info/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/auto/type-info/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/auto/type-info/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/auto/type-info/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/auto/type-info/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/auto/type-info/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/auto/type-info/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/auto/type-info/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 23 /auto/type-info 1345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_U161J2/auto/function-invoker/.dirs/home 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_U161J2/auto/function-invoker/.dirs/cache 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_U161J2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_U161J2/auto/function-invoker/.dirs/system-config2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_U161J2/auto/function-invoker/.dirs/config 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_U161J2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_U161J2/auto/function-invoker/.dirs/system-data2 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_U161J2/auto/function-invoker/.dirs/data 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_U161J2/auto/function-invoker/.dirs/state 1345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_U161J2/auto/function-invoker/.dirs/runtime 1345s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1345s ok 24 /auto/function-invoker 1345s # End of auto tests 1345s ok - glib/autoptr-girepository.test 1345s # Running test: glib/atomic.test 1345s TAP version 13 1345s # random seed: R02S4857a67cfc9ee5a432f432e1306bde75 1345s 1..2 1345s # Start of atomic tests 1345s ok 1 /atomic/types 1346s ok 2 /atomic/threaded 1346s # slow test /atomic/threaded executed in 0.69 secs 1346s # End of atomic tests 1346s ok - glib/atomic.test 1346s # Running test: glib/closure.test 1346s TAP version 13 1346s # random seed: R02S18aaf0cd50ad3d8d765d7fa6030262b9 1346s 1..6 1346s # Start of closure tests 1346s ok 1 /closure/idle 1346s ok 2 /closure/timeout 1346s ok 3 /closure/iochannel 1346s ok 4 /closure/child 1346s ok 5 /closure/fd 1346s ok 6 /closure/signal 1346s # End of closure tests 1346s ok - glib/closure.test 1346s # Running test: glib/thread-pool-slow.test 1346s TAP version 13 1346s # random seed: R02S4858f746db9fd531f3eba87637172553 1346s 1..7 1346s # Start of threadpool tests 1346s ok 1 /threadpool/functions 1346s ok 2 /threadpool/stop-unused 1346s # slow test /threadpool/stop-unused executed in 0.54 secs 1347s ok 3 /threadpool/pools 1347s # [unsorted] ===> pushed new thread with id:68, number of threads:1, unprocessed:1 1347s # [unsorted] ===> pushed new thread with id:19, number of threads:2, unprocessed:2 1347s # [unsorted] ===> pushed new thread with id:58, number of threads:3, unprocessed:3 1347s # [unsorted] ===> pushed new thread with id:25, number of threads:4, unprocessed:4 1347s # [unsorted] ===> pushed new thread with id:91, number of threads:5, unprocessed:5 1347s # [unsorted] ===> pushed new thread with id:84, number of threads:6, unprocessed:6 1347s # [unsorted] ===> pushed new thread with id:32, number of threads:7, unprocessed:7 1347s # [unsorted] ===> pushed new thread with id:96, number of threads:8, unprocessed:8 1347s # [unsorted] ===> pushed new thread with id:20, number of threads:9, unprocessed:2 1347s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:3 1347s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:1 1347s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:2 1347s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:3 1347s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:4 1347s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:5 1347s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:6 1347s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:7 1347s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:8 1347s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:9 1347s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:10 1347s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:11 1347s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:12 1347s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:13 1347s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:14 1347s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:15 1347s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:16 1347s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:17 1347s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:18 1347s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:19 1347s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:20 1347s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:21 1347s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:22 1347s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:23 1347s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:24 1347s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:25 1347s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:26 1347s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:27 1347s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:28 1347s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:29 1347s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:30 1347s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:31 1347s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:32 1347s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:33 1347s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:34 1347s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:35 1347s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:36 1347s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:37 1347s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:38 1347s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:39 1347s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:40 1347s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:41 1347s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:42 1347s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:43 1347s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:44 1347s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:45 1347s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:46 1347s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:47 1347s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:48 1347s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:49 1347s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:50 1347s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:51 1347s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:52 1347s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:53 1347s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:54 1347s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:55 1347s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:56 1347s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:57 1347s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:58 1347s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:59 1347s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:60 1347s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:61 1347s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:62 1347s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:63 1347s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:64 1347s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:65 1347s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:66 1347s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:67 1347s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:68 1347s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:69 1347s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:70 1347s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:71 1347s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:72 1347s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:73 1347s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:74 1347s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:75 1347s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:76 1347s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:77 1347s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:78 1347s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:79 1347s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:80 1347s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:81 1347s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:82 1347s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:83 1347s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:84 1347s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:85 1347s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:86 1347s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:87 1347s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:88 1347s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:89 1347s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:90 1347s ok 4 /threadpool/no-sort 1347s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:1 1347s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:2 1347s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:3 1347s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:4 1347s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:5 1347s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:6 1347s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:7 1347s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:8 1347s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:9 1347s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:10 1347s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:11 1347s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:12 1347s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:13 1347s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:14 1347s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:15 1347s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:16 1347s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:17 1347s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:18 1347s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:19 1347s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:20 1347s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:21 1347s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:22 1347s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:23 1347s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:24 1347s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:25 1347s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:26 1347s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:27 1347s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:28 1347s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:29 1347s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:30 1347s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:31 1347s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:32 1347s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:33 1347s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:34 1347s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:35 1347s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:36 1347s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:37 1347s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:38 1347s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:39 1347s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:40 1347s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:41 1347s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:42 1347s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:43 1347s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:44 1347s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:45 1347s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:46 1347s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:47 1347s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:48 1347s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:49 1347s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:50 1347s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:51 1347s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:52 1347s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:53 1347s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:54 1347s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:55 1347s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:56 1347s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:57 1347s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:58 1347s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:59 1347s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:60 1347s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:61 1347s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:62 1347s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:63 1347s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:64 1347s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:65 1347s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:66 1347s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:67 1347s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:68 1347s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:69 1347s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:70 1347s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:71 1347s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:72 1347s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:73 1347s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:74 1347s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:75 1347s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:76 1347s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:77 1347s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:78 1347s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:79 1347s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:80 1347s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:81 1347s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:82 1347s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:83 1347s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:84 1347s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:85 1347s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:86 1347s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:87 1347s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:88 1347s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:89 1347s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:90 1347s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:91 1347s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:92 1347s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:93 1347s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:94 1347s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:95 1347s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:96 1347s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:97 1347s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:98 1347s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:99 1347s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:100 1347s # Starting thread pool processing 1347s ok 5 /threadpool/sort 1347s ok 6 /threadpool/stop-unused-multiple 1347s # slow test /threadpool/stop-unused-multiple executed in 0.53 secs 1347s # Pool idle thread count: 0, unprocessed jobs: 45 1348s # Pool idle thread count: 0, unprocessed jobs: 0 1348s # Pool idle thread count: 0, unprocessed jobs: 0 1348s # Pool idle thread count: 10, unprocessed jobs: 0 1348s # Pool idle thread count: 10, unprocessed jobs: 0 1349s # Pool idle thread count: 10, unprocessed jobs: 0 1349s # Pool idle thread count: 10, unprocessed jobs: 0 1349s # Pool idle thread count: 10, unprocessed jobs: 0 1349s # Pool idle thread count: 10, unprocessed jobs: 0 1350s # Pool idle thread count: 10, unprocessed jobs: 0 1350s # Pool idle thread count: 10, unprocessed jobs: 0 1350s # Executing: glib/thread-pool-slow.test 1350s # Pool idle thread count: 10, unprocessed jobs: 0 1350s # Pool idle thread count: 10, unprocessed jobs: 0 1351s # Pool idle thread count: 10, unprocessed jobs: 0 1351s # Pool idle thread count: 10, unprocessed jobs: 0 1351s # Pool idle thread count: 10, unprocessed jobs: 0 1351s # Pool idle thread count: 10, unprocessed jobs: 0 1352s # Pool idle thread count: 10, unprocessed jobs: 0 1352s # Pool idle thread count: 10, unprocessed jobs: 0 1352s # Pool idle thread count: 10, unprocessed jobs: 0 1352s # Pool idle thread count: 10, unprocessed jobs: 0 1353s # Pool idle thread count: 10, unprocessed jobs: 0 1353s # Pool idle thread count: 10, unprocessed jobs: 0 1353s # Pool idle thread count: 10, unprocessed jobs: 0 1353s # Pool idle thread count: 10, unprocessed jobs: 0 1354s # Pool idle thread count: 10, unprocessed jobs: 0 1354s # Pool idle thread count: 10, unprocessed jobs: 0 1354s # Pool idle thread count: 10, unprocessed jobs: 0 1354s # Pool idle thread count: 10, unprocessed jobs: 0 1355s # Pool idle thread count: 10, unprocessed jobs: 0 1355s # Pool idle thread count: 10, unprocessed jobs: 0 1355s # Executing: glib/thread-pool-slow.test 1355s # Pool idle thread count: 10, unprocessed jobs: 0 1355s # Pool idle thread count: 10, unprocessed jobs: 0 1356s # Pool idle thread count: 10, unprocessed jobs: 0 1356s # Pool idle thread count: 10, unprocessed jobs: 0 1356s # Pool idle thread count: 10, unprocessed jobs: 2 1356s # Pool idle thread count: 10, unprocessed jobs: 2 1356s # Pool idle thread count: 8, unprocessed jobs: 0 1356s # Pool idle thread count: 8, unprocessed jobs: 0 1357s # Pool idle thread count: 10, unprocessed jobs: 0 1357s # Pool idle thread count: 10, unprocessed jobs: 0 1357s # Pool idle thread count: 10, unprocessed jobs: 0 1357s # Pool idle thread count: 10, unprocessed jobs: 0 1358s # Pool idle thread count: 7, unprocessed jobs: 0 1358s # Pool idle thread count: 7, unprocessed jobs: 0 1358s # Pool idle thread count: 2, unprocessed jobs: 0 1358s # Pool idle thread count: 2, unprocessed jobs: 0 1359s # Pool idle thread count: 2, unprocessed jobs: 0 1359s # Pool idle thread count: 2, unprocessed jobs: 0 1359s # Pool idle thread count: 2, unprocessed jobs: 0 1359s # Pool idle thread count: 2, unprocessed jobs: 0 1360s # Pool idle thread count: 2, unprocessed jobs: 0 1360s # Pool idle thread count: 2, unprocessed jobs: 0 1360s # Executing: glib/thread-pool-slow.test 1360s # Pool idle thread count: 2, unprocessed jobs: 0 1360s # Pool idle thread count: 2, unprocessed jobs: 0 1361s # Pool idle thread count: 2, unprocessed jobs: 0 1361s # Pool idle thread count: 2, unprocessed jobs: 0 1361s # Pool idle thread count: 2, unprocessed jobs: 0 1361s # Pool idle thread count: 2, unprocessed jobs: 0 1362s # Pool idle thread count: 2, unprocessed jobs: 0 1362s # Pool idle thread count: 2, unprocessed jobs: 0 1362s # Pool idle thread count: 2, unprocessed jobs: 0 1362s # Pool idle thread count: 2, unprocessed jobs: 0 1363s # Pool idle thread count: 2, unprocessed jobs: 0 1363s # Pool idle thread count: 2, unprocessed jobs: 0 1363s # Pool idle thread count: 2, unprocessed jobs: 0 1363s # Pool idle thread count: 2, unprocessed jobs: 0 1364s # Pool idle thread count: 2, unprocessed jobs: 0 1364s # Pool idle thread count: 2, unprocessed jobs: 0 1364s # Pool idle thread count: 2, unprocessed jobs: 0 1364s # Pool idle thread count: 2, unprocessed jobs: 0 1365s # Pool idle thread count: 2, unprocessed jobs: 0 1365s # Pool idle thread count: 2, unprocessed jobs: 0 1365s # Executing: glib/thread-pool-slow.test 1365s # Pool idle thread count: 2, unprocessed jobs: 0 1365s # Pool idle thread count: 2, unprocessed jobs: 0 1366s # Pool idle thread count: 2, unprocessed jobs: 0 1366s # Pool idle thread count: 2, unprocessed jobs: 0 1366s # Pool idle thread count: 2, unprocessed jobs: 0 1366s # Pool idle thread count: 2, unprocessed jobs: 0 1367s ok 7 /threadpool/idle-time 1367s # slow test /threadpool/idle-time executed in 19.55 secs 1367s # End of threadpool tests 1367s ok - glib/thread-pool-slow.test 1367s # Running test: glib/cxx-98.test 1367s TAP version 13 1367s # random seed: R02S987db8736f3ceb29e770f681b3972227 1367s 1..2 1367s # Start of gtask tests 1367s # 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. 1367s ok 1 /gtask/name 1367s # Start of name tests 1367s # 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. 1367s ok 2 /gtask/name/macro-wrapper 1367s # End of name tests 1367s # End of gtask tests 1367s ok - glib/cxx-98.test 1367s # Running test: glib/signalgroup.test 1367s TAP version 13 1367s # random seed: R02Sb424d28dabb5c44ee2b99730bac13185 1367s 1..9 1367s # Start of GObject tests 1367s # Start of SignalGroup tests 1367s ok 1 /GObject/SignalGroup/invalid 1367s ok 2 /GObject/SignalGroup/simple 1367s ok 3 /GObject/SignalGroup/changing-target 1367s ok 4 /GObject/SignalGroup/blocking 1367s ok 5 /GObject/SignalGroup/weak-ref-target 1367s ok 6 /GObject/SignalGroup/connect-object 1367s ok 7 /GObject/SignalGroup/signal-parsing 1367s ok 8 /GObject/SignalGroup/properties 1367s ok 9 /GObject/SignalGroup/interface 1367s # Start of signal-parsing tests 1367s # End of signal-parsing tests 1367s # End of SignalGroup tests 1367s # End of GObject tests 1367s ok - glib/signalgroup.test 1367s # Running test: glib/markup-collect.test 1367s TAP version 13 1367s # random seed: R02S1633363559494501d4d0af1975822c58 1367s 1..21 1367s # Start of markup tests 1367s # Start of collect tests 1367s ok 1 /markup/collect/0 1367s ok 2 /markup/collect/1 1367s ok 3 /markup/collect/2 1367s ok 4 /markup/collect/3 1367s ok 5 /markup/collect/4 1367s ok 6 /markup/collect/5 1367s ok 7 /markup/collect/6 1367s ok 8 /markup/collect/7 1367s ok 9 /markup/collect/8 1367s ok 10 /markup/collect/9 1367s ok 11 /markup/collect/10 1367s ok 12 /markup/collect/11 1367s ok 13 /markup/collect/12 1367s ok 14 /markup/collect/13 1367s ok 15 /markup/collect/14 1367s ok 16 /markup/collect/15 1367s ok 17 /markup/collect/16 1367s ok 18 /markup/collect/17 1367s ok 19 /markup/collect/18 1367s ok 20 /markup/collect/19 1367s ok 21 /markup/collect/cleanup 1367s # End of collect tests 1367s # End of markup tests 1367s ok - glib/markup-collect.test 1367s # Running test: glib/sleepy-stream.test 1367s TAP version 13 1367s # random seed: R02S879939d29ab75722b92269db78fe7682 1367s 1..2 1367s # Start of filter-stream tests 1367s ok 1 /filter-stream/input 1367s ok 2 /filter-stream/async 1367s # End of filter-stream tests 1367s ok - glib/sleepy-stream.test 1367s # Running test: glib/messages-low-memory.py.test 1367s TAP version 13 1367s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1367s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1367s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Return code: -6 1367s # Output: 1367s # Error: GLib-Message: 17:05:20.474: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1367s # GLib-Message: 17:05:20.474: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1367s # ../../../glib/gprintf.c:350: failed to allocate memory 1367s 1..1 1367s ok - glib/messages-low-memory.py.test 1367s # Running test: glib/gdbus-connection-flush.test 1367s TAP version 13 1367s # random seed: R02S4a7fc107794b04d8a5c75d4627c8ee2b 1367s 1..2 1367s # Start of gdbus tests 1367s # Start of connection tests 1367s # Start of flush tests 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/busy/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/busy/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/busy/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/busy/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/busy/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/busy/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/busy/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/busy/.dirs/runtime 1367s ok 1 /gdbus/connection/flush/busy 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/idle/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/idle/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/idle/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/idle/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/idle/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/idle/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/idle/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_BU81J2/gdbus/connection/flush/idle/.dirs/runtime 1367s ok 2 /gdbus/connection/flush/idle 1367s # End of flush tests 1367s # End of connection tests 1367s # End of gdbus tests 1367s ok - glib/gdbus-connection-flush.test 1367s # Running test: glib/memory-monitor.test 1367s TAP version 13 1367s # random seed: R02S9173e40db63f0f2ec6d33f9350696c35 1367s 1..1 1367s # Start of memory-monitor tests 1367s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1367s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1367s ok 1 /memory-monitor/default 1367s # End of memory-monitor tests 1367s ok - glib/memory-monitor.test 1367s # Running test: glib/slist.test 1367s TAP version 13 1367s # random seed: R02Saac0d5fd275a25857f19259596e44412 1367s 1..14 1367s # Start of slist tests 1367s ok 1 /slist/sort 1367s ok 2 /slist/sort-with-data 1367s ok 3 /slist/insert-sorted 1367s ok 4 /slist/insert-sorted-with-data 1367s ok 5 /slist/reverse 1367s ok 6 /slist/nth 1367s ok 7 /slist/remove 1367s ok 8 /slist/remove-all 1367s ok 9 /slist/insert 1367s ok 10 /slist/position 1367s ok 11 /slist/concat 1367s ok 12 /slist/copy 1367s # Start of sort tests 1367s ok 13 /slist/sort/stable 1367s # End of sort tests 1367s # Start of copy tests 1367s ok 14 /slist/copy/deep 1367s # End of copy tests 1367s # End of slist tests 1367s ok - glib/slist.test 1367s # Running test: glib/param.test 1367s TAP version 13 1367s # random seed: R02S16dd792a67fe8abd4d6f8cee4f8fa890 1368s 1..32 1368s # Start of param tests 1368s ok 1 /param/value 1368s ok 2 /param/strings 1368s ok 3 /param/qdata 1368s ok 4 /param/validate 1368s ok 5 /param/convert 1368s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1368s ok 7 /param/default 1368s ok 8 /param/is-valid-name 1368s # Start of invalid-name tests 1368s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1368s ok 9 /param/invalid-name/colon 1368s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1368s ok 10 /param/invalid-name/first-char 1368s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1369s ok 11 /param/invalid-name/empty 1369s # End of invalid-name tests 1369s # Start of implement tests 1369s # Start of subprocess tests 1369s # End of subprocess tests 1369s # End of implement tests 1369s # End of param tests 1369s # Start of value tests 1369s ok 12 /value/transform 1369s # End of value tests 1369s # Start of paramspec tests 1369s ok 13 /paramspec/char 1369s ok 14 /paramspec/uchar 1369s ok 15 /paramspec/int 1369s ok 16 /paramspec/uint 1369s ok 17 /paramspec/long 1369s ok 18 /paramspec/ulong 1369s ok 19 /paramspec/int64 1369s ok 20 /paramspec/uint64 1369s ok 21 /paramspec/float 1369s ok 22 /paramspec/double 1369s ok 23 /paramspec/unichar 1369s ok 24 /paramspec/param 1369s ok 25 /paramspec/null-param 1369s ok 26 /paramspec/string 1369s ok 27 /paramspec/override 1369s ok 28 /paramspec/gtype 1369s ok 29 /paramspec/variant 1369s ok 30 /paramspec/custom 1369s ok 31 /paramspec/pool 1369s # Start of variant tests 1369s ok 32 /paramspec/variant/cmp 1369s # End of variant tests 1369s # End of paramspec tests 1369s ok - glib/param.test 1369s # Running test: glib/atomic-c-17.test 1369s TAP version 13 1369s # random seed: R02S4d067b279fdbd9280e39e4f7fe3adf8b 1369s 1..2 1369s # Start of atomic tests 1369s ok 1 /atomic/types 1370s ok 2 /atomic/threaded 1370s # slow test /atomic/threaded executed in 0.69 secs 1370s # End of atomic tests 1370s ok - glib/atomic-c-17.test 1370s # Running test: glib/socket-address.test 1370s TAP version 13 1370s # random seed: R02S46546b33b3f3301d1dc97c80b8ea525b 1370s 1..2 1370s # Start of socket tests 1370s # Start of address tests 1370s # Start of unix tests 1370s ok 1 /socket/address/unix/construct 1370s ok 2 /socket/address/unix/to-string 1370s # End of unix tests 1370s # End of address tests 1370s # End of socket tests 1370s ok - glib/socket-address.test 1370s # Running test: glib/gdbus-addresses.test 1370s TAP version 13 1370s # random seed: R02S34e928ac70b9995192f553235e85350e 1370s 1..9 1370s # Start of gdbus tests 1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/empty-address/.dirs/home 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/empty-address/.dirs/cache 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_635CK2/gdbus/empty-address/.dirs/system-config2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/empty-address/.dirs/config 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_635CK2/gdbus/empty-address/.dirs/system-data2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/empty-address/.dirs/data 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/empty-address/.dirs/state 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_635CK2/gdbus/empty-address/.dirs/runtime 1370s ok 1 /gdbus/empty-address 1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/unsupported-address/.dirs/home 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/unsupported-address/.dirs/cache 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_635CK2/gdbus/unsupported-address/.dirs/system-config2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/unsupported-address/.dirs/config 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_635CK2/gdbus/unsupported-address/.dirs/system-data2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/unsupported-address/.dirs/data 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/unsupported-address/.dirs/state 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_635CK2/gdbus/unsupported-address/.dirs/runtime 1370s ok 2 /gdbus/unsupported-address 1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/address-parsing/.dirs/home 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/address-parsing/.dirs/cache 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_635CK2/gdbus/address-parsing/.dirs/system-config2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/address-parsing/.dirs/config 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_635CK2/gdbus/address-parsing/.dirs/system-data2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/address-parsing/.dirs/data 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/address-parsing/.dirs/state 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_635CK2/gdbus/address-parsing/.dirs/runtime 1370s ok 3 /gdbus/address-parsing 1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/unix-address/.dirs/home 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/unix-address/.dirs/cache 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_635CK2/gdbus/unix-address/.dirs/system-config2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/unix-address/.dirs/config 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_635CK2/gdbus/unix-address/.dirs/system-data2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/unix-address/.dirs/data 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/unix-address/.dirs/state 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_635CK2/gdbus/unix-address/.dirs/runtime 1370s ok 4 /gdbus/unix-address 1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/nonce-tcp-address/.dirs/home 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/nonce-tcp-address/.dirs/cache 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_635CK2/gdbus/nonce-tcp-address/.dirs/system-config2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/nonce-tcp-address/.dirs/config 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_635CK2/gdbus/nonce-tcp-address/.dirs/system-data2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/nonce-tcp-address/.dirs/data 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/nonce-tcp-address/.dirs/state 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_635CK2/gdbus/nonce-tcp-address/.dirs/runtime 1370s ok 5 /gdbus/nonce-tcp-address 1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/tcp-address/.dirs/home 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/tcp-address/.dirs/cache 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_635CK2/gdbus/tcp-address/.dirs/system-config2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/tcp-address/.dirs/config 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_635CK2/gdbus/tcp-address/.dirs/system-data2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/tcp-address/.dirs/data 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/tcp-address/.dirs/state 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_635CK2/gdbus/tcp-address/.dirs/runtime 1370s ok 6 /gdbus/tcp-address 1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/autolaunch-address/.dirs/home 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/autolaunch-address/.dirs/cache 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_635CK2/gdbus/autolaunch-address/.dirs/system-config2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/autolaunch-address/.dirs/config 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_635CK2/gdbus/autolaunch-address/.dirs/system-data2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/autolaunch-address/.dirs/data 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/autolaunch-address/.dirs/state 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_635CK2/gdbus/autolaunch-address/.dirs/runtime 1370s ok 7 /gdbus/autolaunch-address 1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/mixed-address/.dirs/home 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/mixed-address/.dirs/cache 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_635CK2/gdbus/mixed-address/.dirs/system-config2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/mixed-address/.dirs/config 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_635CK2/gdbus/mixed-address/.dirs/system-data2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/mixed-address/.dirs/data 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/mixed-address/.dirs/state 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_635CK2/gdbus/mixed-address/.dirs/runtime 1370s ok 8 /gdbus/mixed-address 1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/escape-address/.dirs/home 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/escape-address/.dirs/cache 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_635CK2/gdbus/escape-address/.dirs/system-config2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/escape-address/.dirs/config 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_635CK2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_635CK2/gdbus/escape-address/.dirs/system-data2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/escape-address/.dirs/data 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_635CK2/gdbus/escape-address/.dirs/state 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_635CK2/gdbus/escape-address/.dirs/runtime 1370s ok 9 /gdbus/escape-address 1370s # End of gdbus tests 1370s ok - glib/gdbus-addresses.test 1370s # Running test: glib/cxx-20.test 1370s TAP version 13 1370s # random seed: R02Sbad9bb9d46ba3a22cffa72b48d068704 1370s 1..2 1370s # Start of gtask tests 1370s # 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. 1370s ok 1 /gtask/name 1370s # Start of name tests 1370s # 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. 1370s ok 2 /gtask/name/macro-wrapper 1370s # End of name tests 1370s # End of gtask tests 1370s ok - glib/cxx-20.test 1370s # Running test: glib/memory-monitor-portal.test 1370s # Executing: glib/memory-monitor-portal.test 1371s TAP version 13 1371s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1371s 1..1 1371s ok - glib/memory-monitor-portal.test 1371s # Running test: glib/socket.test 1371s TAP version 13 1371s # random seed: R02S9c3f9e07714902e2cba1affcbd974333 1371s 1..28 1371s # Start of socket tests 1372s ok 1 /socket/ipv4_sync 1372s # slow test /socket/ipv4_sync executed in 1.00 secs 1373s ok 2 /socket/ipv4_async 1373s # slow test /socket/ipv4_async executed in 1.00 secs 1373s ok 3 /socket/ipv6_sync 1373s ok 4 /socket/ipv6_async 1373s ok 5 /socket/ipv6_v4mapped 1374s ok 6 /socket/close_graceful 1374s # slow test /socket/close_graceful executed in 1.00 secs 1374s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1374s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1374s ok 8 /socket/fd_reuse 1374s ok 9 /socket/address 1374s ok 10 /socket/unix-from-fd 1374s ok 11 /socket/unix-connection 1374s ok 12 /socket/unix-connection-ancillary-data 1374s ok 13 /socket/source-postmortem 1374s ok 14 /socket/read_write 1374s ok 15 /socket/read_writev 1374s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1374s ok 16 /socket/receive_bytes 1374s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1374s ok 17 /socket/receive_bytes_from 1374s # Start of ipv4_sync tests 1374s ok 18 /socket/ipv4_sync/datagram 1374s # Start of datagram tests 1375s # Executing: glib/socket.test 1375s ok 19 /socket/ipv4_sync/datagram/timeouts 1375s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1375s # End of datagram tests 1375s # End of ipv4_sync tests 1375s # Start of ipv6_sync tests 1375s ok 20 /socket/ipv6_sync/datagram 1375s # Start of datagram tests 1376s ok 21 /socket/ipv6_sync/datagram/timeouts 1376s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1376s # End of datagram tests 1376s # End of ipv6_sync tests 1376s # Start of reuse tests 1376s ok 22 /socket/reuse/tcp 1376s ok 23 /socket/reuse/udp 1376s # End of reuse tests 1376s # Start of get_available tests 1376s ok 24 /socket/get_available/datagram 1376s ok 25 /socket/get_available/stream 1376s # End of get_available tests 1376s # Start of credentials tests 1376s # Supported on this OS: GCredentials:linux-ucred:pid=0 1376s ok 26 /socket/credentials/tcp_client 1376s # Supported on this OS: GCredentials:linux-ucred:pid=0 1376s ok 27 /socket/credentials/tcp_server 1376s # Supported on this OS: GCredentials:linux-ucred:pid=2063,uid=1000,gid=1000 1376s ok 28 /socket/credentials/unix_socketpair 1376s # End of credentials tests 1376s # End of socket tests 1376s ok - glib/socket.test 1376s # Running test: glib/portal-support-flatpak-gsettings-only.test 1376s TAP version 13 1376s # random seed: R02Sebff48d9879e583ec9446b0861cc1175 1376s 1..1 1376s # Start of portal-support tests 1376s # Start of flatpak tests 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_8KZ1J2/portal-support/flatpak/gsettings/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_8KZ1J2/portal-support/flatpak/gsettings/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_8KZ1J2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_8KZ1J2/portal-support/flatpak/gsettings/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_8KZ1J2/portal-support/flatpak/gsettings/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_8KZ1J2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_8KZ1J2/portal-support/flatpak/gsettings/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_8KZ1J2/portal-support/flatpak/gsettings/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_8KZ1J2/portal-support/flatpak/gsettings/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_8KZ1J2/portal-support/flatpak/gsettings/.dirs/runtime 1376s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_8KZ1J2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1376s ok 1 /portal-support/flatpak/gsettings 1376s # End of flatpak tests 1376s # End of portal-support tests 1376s ok - glib/portal-support-flatpak-gsettings-only.test 1376s # Running test: glib/fdo-notification-backend.test 1376s TAP version 13 1376s # random seed: R02S29c276c7735a9dd014b12fcf6a91bbed 1376s 1..2 1376s # Start of fdo-notification-backend tests 1376s # Test constructing a GFdoNotificationBackend 1376s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s ok 1 /fdo-notification-backend/construction 1376s # Start of dbus tests 1376s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1376s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1376s ok 2 /fdo-notification-backend/dbus/activate-action 1376s # End of dbus tests 1376s # End of fdo-notification-backend tests 1376s ok - glib/fdo-notification-backend.test 1376s # Running test: glib/socket-listener.test 1376s TAP version 13 1376s # random seed: R02S1e9aeea75d8ad7340086f80eba9bc661 1376s 1..1 1376s # Start of socket-listener tests 1376s ok 1 /socket-listener/event-signal 1376s # End of socket-listener tests 1376s ok - glib/socket-listener.test 1376s # Running test: glib/overflow.test 1376s TAP version 13 1376s # random seed: R02S05ae66278254ece0ae9bb132b5d63cd3 1376s 1..6 1376s # Start of glib tests 1376s # Start of checked-math tests 1376s ok 1 /glib/checked-math/guint-add 1376s ok 2 /glib/checked-math/guint-mul 1376s ok 3 /glib/checked-math/guint64-add 1376s ok 4 /glib/checked-math/guint64-mul 1376s ok 5 /glib/checked-math/gsize-add 1376s ok 6 /glib/checked-math/gsize-mul 1376s # End of checked-math tests 1376s # End of glib tests 1376s ok - glib/overflow.test 1376s # Running test: glib/type-flags.test 1376s TAP version 13 1376s # random seed: R02S8e5f7e5d24b77861e130dfaf0e7ee37c 1376s 1..4 1376s # Start of type tests 1376s # Start of flags tests 1376s ok 1 /type/flags/interface 1376s ok 2 /type/flags/final 1376s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1376s ok 3 /type/flags/deprecated 1376s # Start of final tests 1376s ok 4 /type/flags/final/instance-check 1376s # End of final tests 1376s # End of flags tests 1376s # End of type tests 1376s ok - glib/type-flags.test 1376s # Running test: glib/fileutils.test 1376s TAP version 13 1376s # random seed: R02S02280043b27764fb0def5d41244a92ca 1376s 1..27 1376s # Start of fileutils tests 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/paths/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/paths/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/paths/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/paths/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/paths/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/paths/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/paths/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/paths/.dirs/runtime 1376s ok 1 /fileutils/paths 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-path/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-path/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/build-path/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-path/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/build-path/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-path/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-path/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/build-path/.dirs/runtime 1376s ok 2 /fileutils/build-path 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-pathv/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-pathv/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/build-pathv/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-pathv/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/build-pathv/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-pathv/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-pathv/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/build-pathv/.dirs/runtime 1376s ok 3 /fileutils/build-pathv 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-filename/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-filename/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/build-filename/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-filename/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/build-filename/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-filename/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-filename/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/build-filename/.dirs/runtime 1376s ok 4 /fileutils/build-filename 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-filenamev/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-filenamev/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/build-filenamev/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-filenamev/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/build-filenamev/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-filenamev/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/build-filenamev/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/build-filenamev/.dirs/runtime 1376s ok 5 /fileutils/build-filenamev 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents/.dirs/runtime 1376s # We do not have CAP_DAC_OVERRIDE or equivalent 1376s ok 6 /fileutils/mkdir-with-parents 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents-permission/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents-permission/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents-permission/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents-permission/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents-permission/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1376s # We do not have CAP_DAC_OVERRIDE or equivalent 1376s ok 7 /fileutils/mkdir-with-parents-permission 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/format-size-for-display/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/format-size-for-display/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/format-size-for-display/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/format-size-for-display/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/format-size-for-display/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/format-size-for-display/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/format-size-for-display/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/format-size-for-display/.dirs/runtime 1376s ok 8 /fileutils/format-size-for-display 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/errors/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/errors/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/errors/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/errors/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/errors/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/errors/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/errors/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/errors/.dirs/runtime 1376s ok 9 /fileutils/errors 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/basename/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/basename/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/basename/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/basename/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/basename/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/basename/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/basename/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/basename/.dirs/runtime 1376s ok 10 /fileutils/basename 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-basename/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-basename/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/get-basename/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-basename/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/get-basename/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-basename/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-basename/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/get-basename/.dirs/runtime 1376s ok 11 /fileutils/get-basename 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/dirname/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/dirname/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/dirname/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/dirname/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/dirname/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/dirname/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/dirname/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/dirname/.dirs/runtime 1376s ok 12 /fileutils/dirname 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/dir-make-tmp/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/dir-make-tmp/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/dir-make-tmp/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/dir-make-tmp/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/dir-make-tmp/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/dir-make-tmp/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/dir-make-tmp/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/dir-make-tmp/.dirs/runtime 1376s ok 13 /fileutils/dir-make-tmp 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/file-open-tmp/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/file-open-tmp/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/file-open-tmp/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/file-open-tmp/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/file-open-tmp/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/file-open-tmp/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/file-open-tmp/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/file-open-tmp/.dirs/runtime 1376s ok 14 /fileutils/file-open-tmp 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/file-test/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/file-test/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/file-test/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/file-test/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/file-test/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/file-test/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/file-test/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/file-test/.dirs/runtime 1376s ok 15 /fileutils/file-test 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkstemp/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkstemp/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/mkstemp/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkstemp/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/mkstemp/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkstemp/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkstemp/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/mkstemp/.dirs/runtime 1376s ok 16 /fileutils/mkstemp 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdtemp/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdtemp/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/mkdtemp/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdtemp/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/mkdtemp/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdtemp/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/mkdtemp/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/mkdtemp/.dirs/runtime 1376s ok 17 /fileutils/mkdtemp 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-contents/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-contents/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/get-contents/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-contents/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/get-contents/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-contents/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-contents/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/get-contents/.dirs/runtime 1376s ok 18 /fileutils/get-contents 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-contents-large-file/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-contents-large-file/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/get-contents-large-file/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-contents-large-file/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/get-contents-large-file/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-contents-large-file/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/get-contents-large-file/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/get-contents-large-file/.dirs/runtime 1376s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/set-contents/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/set-contents/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/set-contents/.dirs/runtime 1376s ok 20 /fileutils/set-contents 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/.dirs/runtime 1376s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1376s # Flags 0 and test 0 1376s # Flags 0 and test 1 1376s # Flags 0 and test 2 1376s # Flags 0 and test 3 1376s # Flags 0 and test 4 1376s # Flags 0 and test 5 1376s # Flags 1 and test 0 1376s # Flags 1 and test 1 1376s # Flags 1 and test 2 1376s # Flags 1 and test 3 1376s # Flags 1 and test 4 1376s # Flags 1 and test 5 1376s # Flags 2 and test 0 1376s # Flags 2 and test 1 1376s # Flags 2 and test 2 1376s # Flags 2 and test 3 1376s # Flags 2 and test 4 1376s # Flags 2 and test 5 1376s # Flags 3 and test 0 1376s # Flags 3 and test 1 1376s # Flags 3 and test 2 1376s # Flags 3 and test 3 1376s # Flags 3 and test 4 1376s # Flags 3 and test 5 1376s # Flags 4 and test 0 1376s # Flags 4 and test 1 1376s # Flags 4 and test 2 1376s # Flags 4 and test 3 1376s # Flags 4 and test 4 1376s # Flags 4 and test 5 1376s # Flags 5 and test 0 1376s # Flags 5 and test 1 1376s # Flags 5 and test 2 1376s # Flags 5 and test 3 1376s # Flags 5 and test 4 1376s # Flags 5 and test 5 1376s # Flags 6 and test 0 1376s # Flags 6 and test 1 1376s # Flags 6 and test 2 1376s # Flags 6 and test 3 1376s # Flags 6 and test 4 1376s # Flags 6 and test 5 1376s ok 21 /fileutils/set-contents-full 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/read-link/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/read-link/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/read-link/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/read-link/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/read-link/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/read-link/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/read-link/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/read-link/.dirs/runtime 1376s ok 22 /fileutils/read-link 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/stdio-wrappers/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/stdio-wrappers/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/stdio-wrappers/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/stdio-wrappers/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/stdio-wrappers/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/stdio-wrappers/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/stdio-wrappers/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/stdio-wrappers/.dirs/runtime 1376s # We do not have CAP_DAC_OVERRIDE or equivalent 1376s ok 23 /fileutils/stdio-wrappers 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/fopen-modes/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/fopen-modes/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/fopen-modes/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/fopen-modes/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/fopen-modes/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/fopen-modes/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/fopen-modes/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/fopen-modes/.dirs/runtime 1376s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1376s # Testing fopen() mode 'w' 1376s # Testing fopen() mode 'r' 1376s # Testing fopen() mode 'a' 1376s # Testing fopen() mode 'w+' 1376s # Testing fopen() mode 'r+' 1376s # Testing fopen() mode 'a+' 1376s # Testing fopen() mode 'wb' 1376s # Testing fopen() mode 'rb' 1376s # Testing fopen() mode 'ab' 1376s # Testing fopen() mode 'w+b' 1376s # Testing fopen() mode 'r+b' 1376s # Testing fopen() mode 'a+b' 1376s # Testing fopen() mode 'wb+' 1376s # Testing fopen() mode 'rb+' 1376s # Testing fopen() mode 'ab+' 1376s ok 24 /fileutils/fopen-modes 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/clear-fd/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/clear-fd/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/clear-fd/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/clear-fd/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/clear-fd/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/clear-fd/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/clear-fd/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/clear-fd/.dirs/runtime 1376s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1376s # Will be closed by autocleanup: 3, -42 1376s # Testing error handling 1376s ok 25 /fileutils/clear-fd 1376s # Start of set-contents-full tests 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-file/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-file/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-file/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-file/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-file/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1376s # We do not have CAP_DAC_OVERRIDE or equivalent 1376s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1376s ok 26 /fileutils/set-contents-full/read-only-file 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-directory/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-directory/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-directory/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-directory/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QKW6J2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1376s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1376s # Flags 0 1376s # We do not have CAP_DAC_OVERRIDE or equivalent 1377s # Flags 1 1377s # We do not have CAP_DAC_OVERRIDE or equivalent 1377s # Flags 2 1377s # We do not have CAP_DAC_OVERRIDE or equivalent 1377s # Flags 3 1377s # We do not have CAP_DAC_OVERRIDE or equivalent 1377s # Flags 4 1377s # We do not have CAP_DAC_OVERRIDE or equivalent 1377s # Flags 5 1377s # We do not have CAP_DAC_OVERRIDE or equivalent 1377s # Flags 6 1377s # We do not have CAP_DAC_OVERRIDE or equivalent 1377s ok 27 /fileutils/set-contents-full/read-only-directory 1377s # End of set-contents-full tests 1377s # Start of clear-fd tests 1377s # Start of subprocess tests 1377s # End of subprocess tests 1377s # End of clear-fd tests 1377s # End of fileutils tests 1377s ok - glib/fileutils.test 1377s # Running test: glib/g-file-info-filesystem-readonly.test 1377s TAP version 13 1377s # random seed: R02S46cf3cd62670a21b686bd815fb2ec483 1377s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1377s 1..2 1377s # Start of g-file-info-filesystem-readonly tests 1377s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1377s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1377s # End of g-file-info-filesystem-readonly tests 1377s ok - glib/g-file-info-filesystem-readonly.test 1377s # Running test: glib/flags.test 1377s TAP version 13 1377s # random seed: R02Sa90cf4ee02a3f9a5826077d34e865476 1377s 1..1 1377s # Start of gobject tests 1377s # Start of flags tests 1377s ok 1 /gobject/flags/validate 1377s # End of flags tests 1377s # End of gobject tests 1377s ok - glib/flags.test 1377s # Running test: glib/cache.test 1377s TAP version 13 1377s # random seed: R02S5d2ddb57112fecb9bb1d37834eb2ca64 1377s 1..1 1377s # Start of cache tests 1377s ok 1 /cache/basic 1377s # End of cache tests 1377s ok - glib/cache.test 1377s # Running test: glib/filter-streams.test 1377s TAP version 13 1377s # random seed: R02S820bc6a74bef93c1df56ac56006ac762 1377s 1..4 1377s # Start of filter-stream tests 1377s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1377s ok 1 /filter-stream/input 1377s ok 2 /filter-stream/output 1377s ok 3 /filter-stream/async-input 1377s ok 4 /filter-stream/async-output 1377s # End of filter-stream tests 1377s ok - glib/filter-streams.test 1377s # Running test: glib/asyncqueue.test 1377s TAP version 13 1377s # random seed: R02Sf47fb626b32988bdba9d166f2f6499bd 1377s 1..7 1377s # Start of asyncqueue tests 1377s ok 1 /asyncqueue/basics 1377s ok 2 /asyncqueue/sort 1377s ok 3 /asyncqueue/destroy 1377s ok 4 /asyncqueue/threads 1377s ok 5 /asyncqueue/timed 1377s ok 6 /asyncqueue/remove 1377s ok 7 /asyncqueue/push_front 1377s # End of asyncqueue tests 1377s ok - glib/asyncqueue.test 1377s # Running test: glib/win32-appinfo.test 1377s TAP version 13 1377s # random seed: R02Sed3c7b5fef3f81fe81e9aea35d31cf92 1377s 1..5 1377s # Start of appinfo tests 1377s ok 1 /appinfo/utf16-strfuncs 1377s ok 2 /appinfo/win32-extract-executable 1377s ok 3 /appinfo/win32-rundll32-fixup 1377s ok 4 /appinfo/win32-parse-filename 1377s ok 5 /appinfo/win32-utf16-conversion-fail 1377s # Start of subprocess tests 1377s # End of subprocess tests 1377s # End of appinfo tests 1377s ok - glib/win32-appinfo.test 1377s # Running test: glib/gdbus-names.test 1377s TAP version 13 1377s # random seed: R02S963889668caeb1fa5264e5a7d779c4d0 1377s 1..10 1377s # Start of gdbus tests 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/validate-names/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/validate-names/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_CAC4J2/gdbus/validate-names/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/validate-names/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_CAC4J2/gdbus/validate-names/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/validate-names/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/validate-names/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CAC4J2/gdbus/validate-names/.dirs/runtime 1377s ok 1 /gdbus/validate-names 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-own-name/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-own-name/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-own-name/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-own-name/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-own-name/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-own-name/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-own-name/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-own-name/.dirs/runtime 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1377s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s ok 2 /gdbus/bus-own-name 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name/.dirs/runtime 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1377s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s ok 3 /gdbus/bus-watch-name 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start/.dirs/runtime 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1377s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s ok 4 /gdbus/bus-watch-name-auto-start 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1377s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1377s dbus-daemon[2141]: [session uid=1000 pid=2141] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=2132 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1377s # Acquired a message bus connection 1377s dbus-daemon[2141]: [session uid=1000 pid=2141] Successfully activated service 'org.gtk.GDBus.FakeService' 1377s # Acquired the name org.gtk.GDBus.FakeService 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures/.dirs/runtime 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1377s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s ok 6 /gdbus/bus-watch-name-closures 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1377s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s ok 7 /gdbus/bus-watch-name-closures-auto-start 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-different-context/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-different-context/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-different-context/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-different-context/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-different-context/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-different-context/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-different-context/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-watch-different-context/.dirs/runtime 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1377s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s ok 8 /gdbus/bus-watch-different-context 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-unwatch-early/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-unwatch-early/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-unwatch-early/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-unwatch-early/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_CAC4J2/gdbus/bus-unwatch-early/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-unwatch-early/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-unwatch-early/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CAC4J2/gdbus/bus-unwatch-early/.dirs/runtime 1377s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1377s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s ok 9 /gdbus/bus-unwatch-early 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/escape-object-path/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/escape-object-path/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_CAC4J2/gdbus/escape-object-path/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/escape-object-path/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CAC4J2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_CAC4J2/gdbus/escape-object-path/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/escape-object-path/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CAC4J2/gdbus/escape-object-path/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CAC4J2/gdbus/escape-object-path/.dirs/runtime 1377s ok 10 /gdbus/escape-object-path 1377s # End of gdbus tests 1377s ok - glib/gdbus-names.test 1377s # Running test: glib/collate.test 1377s TAP version 13 1377s # random seed: R02S4e32d4527b11da02c7bbfa8006b2124a 1377s 1..9 1377s # Start of unicode tests 1377s # Start of collate tests 1377s ok 1 /unicode/collate/0 1377s ok 2 /unicode/collate/1 1377s ok 3 /unicode/collate/2 1377s # End of collate tests 1377s # Start of collate-key tests 1377s ok 4 /unicode/collate-key/0 1377s ok 5 /unicode/collate-key/1 1377s ok 6 /unicode/collate-key/2 1377s # End of collate-key tests 1377s # Start of collate-filename tests 1377s ok 7 /unicode/collate-filename/0 1377s ok 8 /unicode/collate-filename/1 1377s ok 9 /unicode/collate-filename/2 1377s # End of collate-filename tests 1377s # End of unicode tests 1377s ok - glib/collate.test 1377s # Running test: glib/gdbus-server-auth.test 1377s TAP version 13 1377s # random seed: R02S9868f6e4320fab0d3f90d6e48bd89dcb 1377s 1..9 1377s # Start of gdbus tests 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/.dirs/runtime 1377s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7NTZJ2/gdbus-server-auth-ZVUZJ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1377s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7NTZJ2/gdbus-server-auth-ZVUZJ2/dbus-UbhG7wJ7 1377s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1377s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1377s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1377s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1377s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1377s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2157 1377s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1377s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1377s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1377s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1377s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1377s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1377s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2157 1377s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1377s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1377s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1377s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1377s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1377s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1377s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2157 1377s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1377s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1377s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1377s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1377s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1377s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1377s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2157 1377s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1377s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1377s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1377s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1377s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1377s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2157 1378s ok 1 /gdbus/server-auth 1378s # Start of server-auth tests 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/abstract/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/abstract/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/abstract/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/abstract/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/abstract/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/abstract/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/abstract/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/abstract/.dirs/runtime 1378s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_7NTZJ2/gdbus-server-auth-66SDK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1378s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7NTZJ2/gdbus-server-auth-66SDK2/dbus-8Od4XnW9 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1378s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1378s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2157 1378s ok 2 /gdbus/server-auth/abstract 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/tcp/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/tcp/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/tcp/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/tcp/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/tcp/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/tcp/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/tcp/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/tcp/.dirs/runtime 1378s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1378s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/.dirs/runtime 1378s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7NTZJ2/gdbus-server-auth-PPCFK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1378s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7NTZJ2/gdbus-server-auth-PPCFK2/dbus-8W4fKBpW 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2157 1378s ok 4 /gdbus/server-auth/anonymous 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/.dirs/runtime 1378s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7NTZJ2/gdbus-server-auth-G5KFK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1378s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7NTZJ2/gdbus-server-auth-G5KFK2/dbus-9eImHkCX 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2157 1378s ok 5 /gdbus/server-auth/external 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/.dirs/runtime 1378s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7NTZJ2/gdbus-server-auth-539GK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1378s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1378s # Start of anonymous tests 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/tcp/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/tcp/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/tcp/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/tcp/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1378s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1378s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1378s # End of anonymous tests 1378s # Start of external tests 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/require-same-user/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/require-same-user/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/require-same-user/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/require-same-user/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/require-same-user/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1378s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7NTZJ2/gdbus-server-auth-SF6GK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1378s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7NTZJ2/gdbus-server-auth-SF6GK2/dbus-F9wvbKKC 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2157 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1378s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1378s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2157,uid=1000,gid=1000 1378s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2157 1378s ok 8 /gdbus/server-auth/external/require-same-user 1378s # End of external tests 1378s # Start of sha1 tests 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/tcp/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/tcp/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/tcp/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/tcp/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/tcp/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7NTZJ2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1378s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1378s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1378s # End of sha1 tests 1378s # End of server-auth tests 1378s # End of gdbus tests 1378s ok - glib/gdbus-server-auth.test 1378s # Running test: glib/protocol.test 1378s TAP version 13 1378s # random seed: R02Sde2e3e9d203e849ab7a0b81fead39281 1378s 1..9 1378s # Start of glib tests 1378s # Start of testing tests 1378s # Start of protocol tests 1378s ok 1 /glib/testing/protocol/debug 1378s ok 2 /glib/testing/protocol/info 1378s ok 3 /glib/testing/protocol/message 1378s ok 4 /glib/testing/protocol/warning 1378s ok 5 /glib/testing/protocol/critical 1378s ok 6 /glib/testing/protocol/error 1378s ok 7 /glib/testing/protocol/gtest-message 1378s ok 8 /glib/testing/protocol/test-message 1378s ok 9 /glib/testing/protocol/test-error 1378s # End of protocol tests 1378s # End of testing tests 1378s # End of glib tests 1378s ok - glib/protocol.test 1378s # Running test: glib/enums.test 1378s TAP version 13 1378s # random seed: R02Se2564d8eec8304b6dc9b1e6f42b8feb9 1378s 1..4 1378s # Start of enum tests 1378s ok 1 /enum/basic 1378s ok 2 /enum/define-type 1378s # End of enum tests 1378s # Start of flags tests 1378s ok 3 /flags/basic 1378s ok 4 /flags/define-type 1378s # End of flags tests 1378s ok - glib/enums.test 1378s # Running test: glib/macros-c-11.test 1378s TAP version 13 1378s # random seed: R02Se6c769cf1aab414aa5bd147eb3852f8c 1378s 1..4 1378s # Start of C tests 1378s ok 1 /C/standard-11 1378s # End of C tests 1378s # Start of alignof tests 1378s ok 2 /alignof/fallback 1378s # End of alignof tests 1378s # Start of assert tests 1378s ok 3 /assert/static 1378s # End of assert tests 1378s # Start of struct tests 1378s ok 4 /struct/sizeof_member 1378s # End of struct tests 1378s ok - glib/macros-c-11.test 1378s # Running test: glib/singleton.test 1378s TAP version 13 1378s # random seed: R02Secd38f16cb8aee948472c62af3048bab 1378s 1..2 1378s # Start of gobject tests 1378s # Start of singleton tests 1378s ok 1 /gobject/singleton/construction 1378s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1378s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1378s ok 2 /gobject/singleton/construct-property 1378s # End of singleton tests 1378s # End of gobject tests 1378s ok - glib/singleton.test 1378s # Running test: glib/actions.test 1378s TAP version 13 1378s # random seed: R02S6cc9510e73dc9f6f9eaf81073818885c 1378s 1..12 1378s # Start of actions tests 1378s ok 1 /actions/basic 1378s ok 2 /actions/name 1378s ok 3 /actions/simplegroup 1378s ok 4 /actions/stateful 1378s ok 5 /actions/default-activate 1378s ok 6 /actions/entries 1378s ok 7 /actions/parse-detailed 1378s ok 8 /actions/property 1378s ok 9 /actions/no-properties 1378s # Start of dbus tests 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1378s ok 10 /actions/dbus/export 1378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1378s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # Executing: glib/actions.test 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s ok 11 /actions/dbus/threaded 1382s # slow test /actions/dbus/threaded executed in 4.24 secs 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1382s ok 12 /actions/dbus/bug679509 1382s # End of dbus tests 1382s # End of actions tests 1382s ok - glib/actions.test 1382s # Running test: glib/srvtarget.test 1382s TAP version 13 1382s # random seed: R02S59b57383c4c0a5e95c6b5f6536e8eecf 1382s 1..1 1382s # Start of srvtarget tests 1384s ok 1 /srvtarget/srv-target-ordering 1384s # slow test /srvtarget/srv-target-ordering executed in 1.74 secs 1384s # End of srvtarget tests 1384s ok - glib/srvtarget.test 1384s # Running test: glib/scannerapi.test 1384s TAP version 13 1384s # random seed: R02Sf7500ab19e995909ee2dbfa319989cd4 1384s 1..4 1384s # Start of scanner tests 1384s ok 1 /scanner/warn 1384s ok 2 /scanner/error 1384s ok 3 /scanner/symbols 1384s ok 4 /scanner/tokens 1384s # End of scanner tests 1384s ok - glib/scannerapi.test 1384s # Running test: glib/utf8-pointer.test 1384s TAP version 13 1384s # random seed: R02S5e27c302c3be79e07a9505c6370a3fdf 1384s 1..3 1384s # Start of utf8 tests 1385s # Executing: glib/utf8-pointer.test 1386s ok 1 /utf8/offsets 1386s # slow test /utf8/offsets executed in 1.41 secs 1386s ok 2 /utf8/lengths 1386s ok 3 /utf8/find 1386s # End of utf8 tests 1386s ok - glib/utf8-pointer.test 1386s # Running test: glib/gvariant.test 1386s TAP version 13 1386s # random seed: R02S0107eebf5614de724976a5398f9ed950 1386s 1..64 1386s # Start of gvariant tests 1386s ok 1 /gvariant/type 1387s ok 2 /gvariant/typeinfo 1387s # slow test /gvariant/typeinfo executed in 0.74 secs 1387s ok 3 /gvariant/string 1387s ok 4 /gvariant/utf8 1390s # Executing: glib/gvariant.test 1394s ok 5 /gvariant/containers 1394s # slow test /gvariant/containers executed in 7.48 secs 1394s ok 6 /gvariant/format-strings 1394s ok 7 /gvariant/invalid-varargs 1394s ok 8 /gvariant/varargs 1394s ok 9 /gvariant/valist 1394s ok 10 /gvariant/builder-memory 1394s ok 11 /gvariant/hashing 1394s ok 12 /gvariant/byteswap 1395s # Executing: glib/gvariant.test 1395s ok 13 /gvariant/parser 1395s # slow test /gvariant/parser executed in 0.82 secs 1395s ok 14 /gvariant/parse-failures 1395s ok 15 /gvariant/parse-positional 1395s ok 16 /gvariant/floating 1395s ok 17 /gvariant/bytestring 1395s ok 18 /gvariant/lookup-value 1395s ok 19 /gvariant/lookup 1395s ok 20 /gvariant/compare 1395s ok 21 /gvariant/equal 1395s ok 22 /gvariant/fixed-array 1395s ok 23 /gvariant/check-format-string 1395s ok 24 /gvariant/checksum-basic 1395s ok 25 /gvariant/checksum-nested 1395s ok 26 /gvariant/gbytes 1395s ok 27 /gvariant/print-context 1395s ok 28 /gvariant/error-quark 1395s ok 29 /gvariant/stack-builder-init 1395s ok 30 /gvariant/stack-dict-init 1395s ok 31 /gvariant/unaligned-construction 1395s # Start of type tests 1395s # Start of string-scan tests 1395s # Start of recursion tests 1395s ok 32 /gvariant/type/string-scan/recursion/tuple 1395s ok 33 /gvariant/type/string-scan/recursion/array 1395s # End of recursion tests 1395s # End of string-scan tests 1395s # End of type tests 1395s # Start of serialiser tests 1395s ok 34 /gvariant/serialiser/maybe 1396s ok 35 /gvariant/serialiser/array 1396s # slow test /gvariant/serialiser/array executed in 0.51 secs 1396s ok 36 /gvariant/serialiser/tuple 1396s ok 37 /gvariant/serialiser/variant 1396s ok 38 /gvariant/serialiser/strings 1400s # Executing: glib/gvariant.test 1405s # Executing: glib/gvariant.test 1407s ok 39 /gvariant/serialiser/byteswap 1407s # slow test /gvariant/serialiser/byteswap executed in 10.28 secs 1407s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1407s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1407s ok 40 /gvariant/serialiser/children 1407s # Start of fuzz tests 1408s ok 41 /gvariant/serialiser/fuzz/1% 1408s # slow test /gvariant/serialiser/fuzz/1% executed in 1.89 secs 1409s ok 42 /gvariant/serialiser/fuzz/5% 1409s # slow test /gvariant/serialiser/fuzz/5% executed in 0.63 secs 1410s # Executing: glib/gvariant.test 1411s ok 43 /gvariant/serialiser/fuzz/9% 1411s # slow test /gvariant/serialiser/fuzz/9% executed in 1.70 secs 1412s ok 44 /gvariant/serialiser/fuzz/13% 1412s # slow test /gvariant/serialiser/fuzz/13% executed in 0.78 secs 1413s ok 45 /gvariant/serialiser/fuzz/17% 1413s # slow test /gvariant/serialiser/fuzz/17% executed in 1.30 secs 1413s # End of fuzz tests 1413s # End of serialiser tests 1413s # Start of varargs tests 1413s # Start of subprocess tests 1413s # End of subprocess tests 1413s # End of varargs tests 1413s # Start of byteswap tests 1413s # /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. 1413s ok 46 /gvariant/byteswap/non-normal-non-aligned 1413s # End of byteswap tests 1413s # Start of parser tests 1413s ok 47 /gvariant/parser/integer-bounds 1413s ok 48 /gvariant/parser/recursion 1413s # Start of recursion tests 1413s ok 49 /gvariant/parser/recursion/typedecls 1413s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1413s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1413s # Text form 0: @mmmu 5 1413s # Text form 1: @mmmas ['hello'] 1413s # Text form 2: @mmmu just just nothing 1413s # Text form 3: @mmmas just just nothing 1413s # Text form 4: @mmmu just nothing 1413s # Text form 5: @mmmas just nothing 1413s # Text form 6: @mmmu nothing 1413s # Text form 7: @mmmas nothing 1413s ok 50 /gvariant/parser/recursion/maybes 1413s # End of recursion tests 1413s # End of parser tests 1413s # Start of parse tests 1413s # Start of subprocess tests 1413s # End of subprocess tests 1413s # End of parse tests 1413s # Start of normal-checking tests 1413s ok 51 /gvariant/normal-checking/tuples 1413s ok 52 /gvariant/normal-checking/array-offsets 1413s ok 53 /gvariant/normal-checking/array-offsets2 1413s ok 54 /gvariant/normal-checking/tuple-offsets 1413s ok 55 /gvariant/normal-checking/tuple-offsets2 1413s ok 56 /gvariant/normal-checking/tuple-offsets3 1413s ok 57 /gvariant/normal-checking/tuple-offsets4 1413s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1413s ok 58 /gvariant/normal-checking/tuple-offsets5 1413s ok 59 /gvariant/normal-checking/empty-object-path 1413s # Start of array-offsets tests 1413s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1413s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1413s # End of array-offsets tests 1413s # Start of tuple-offsets tests 1413s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1413s # End of tuple-offsets tests 1413s # End of normal-checking tests 1413s # Start of recursion-limits tests 1413s ok 63 /gvariant/recursion-limits/variant-in-variant 1413s ok 64 /gvariant/recursion-limits/array-in-variant 1413s # End of recursion-limits tests 1413s # End of gvariant tests 1413s ok - glib/gvariant.test 1413s # Running test: glib/spawn-path-search.test 1413s TAP version 13 1413s # random seed: R02S89b4ff00c603614715cc846ef774772a 1413s 1..7 1413s # Start of spawn tests 1413s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1413s # 1413s # this is spawn-test-helper from glib/tests 1413s # 1413s ok 1 /spawn/do-not-search 1413s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1413s # 1413s # this is spawn-test-helper from path-test-subdir 1413s # 1413s ok 2 /spawn/search-path 1413s # /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. 1413s # 1413s # this is spawn-test-helper from path-test-subdir 1413s # 1413s ok 3 /spawn/search-path-from-envp 1413s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1413s # 1413s # this is spawn-test-helper from path-test-subdir 1413s # 1413s ok 4 /spawn/search-path-ambiguous 1413s # 1413s # this is spawn-test-helper from path-test-subdir 1413s # 1413s ok 5 /spawn/search-path-heap-allocation 1413s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1413s # 1413s # this is spawn-test-helper from glib/tests 1413s # 1413s ok 6 /spawn/search-path-fallback-in-environ 1413s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1413s # 1413s # this is spawn-test-helper from glib/tests 1413s # 1413s ok 7 /spawn/search-path-fallback-in-envp 1413s # End of spawn tests 1413s ok - glib/spawn-path-search.test 1413s # Running test: glib/markup-subparser.test 1413s TAP version 13 1413s # random seed: R02S1b886ed4044f4cb81d05f2f4df3d5048 1413s 1..14 1413s # Start of glib tests 1413s # Start of markup tests 1413s # Start of subparser tests 1413s # Start of success tests 1413s ok 1 /glib/markup/subparser/success/0 1413s ok 2 /glib/markup/subparser/success/1 1413s ok 3 /glib/markup/subparser/success/2 1413s ok 4 /glib/markup/subparser/success/3 1413s ok 5 /glib/markup/subparser/success/4 1413s ok 6 /glib/markup/subparser/success/5 1413s ok 7 /glib/markup/subparser/success/6 1413s # End of success tests 1413s # Start of failure tests 1413s ok 8 /glib/markup/subparser/failure/0 1413s ok 9 /glib/markup/subparser/failure/1 1413s ok 10 /glib/markup/subparser/failure/2 1413s ok 11 /glib/markup/subparser/failure/3 1413s ok 12 /glib/markup/subparser/failure/4 1413s ok 13 /glib/markup/subparser/failure/5 1413s ok 14 /glib/markup/subparser/failure/6 1413s # End of failure tests 1413s # End of subparser tests 1413s # End of markup tests 1413s # End of glib tests 1413s ok - glib/markup-subparser.test 1413s # Running test: glib/gnotification.test 1413s TAP version 13 1413s # random seed: R02Se77d3e1b0db2ab18b33a0e274f841c78 1413s 1..2 1413s # Start of gnotification tests 1413s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1413s ok 1 /gnotification/basic 1413s ok 2 /gnotification/properties 1413s # End of gnotification tests 1413s ok - glib/gnotification.test 1413s # Running test: glib/mappedfile.test 1413s TAP version 13 1413s # random seed: R02S115e1d67d11a6e6b841abe91aa5bbdca 1413s 1..7 1413s # Start of mappedfile tests 1413s ok 1 /mappedfile/basic 1413s ok 2 /mappedfile/empty 1413s ok 3 /mappedfile/device 1413s ok 4 /mappedfile/nonexisting 1413s ok 5 /mappedfile/writable 1413s ok 6 /mappedfile/writable_fd 1413s ok 7 /mappedfile/gbytes 1413s # End of mappedfile tests 1413s ok - glib/mappedfile.test 1413s # Running test: glib/thread-deprecated.test 1413s TAP version 13 1413s # random seed: R02S9ba27c9851917573f048cb1ff74592e1 1413s 1..6 1413s # Start of thread tests 1413s ok 1 /thread/mutex 1414s ok 2 /thread/static-rec-mutex 1415s # Executing: glib/thread-deprecated.test 1418s ok 3 /thread/static-private 1418s # slow test /thread/static-private executed in 4.41 secs 1420s # Executing: glib/thread-deprecated.test 1423s ok 4 /thread/static-rw-lock 1423s # slow test /thread/static-rw-lock executed in 5.01 secs 1423s ok 5 /thread/once 1425s # Executing: glib/thread-deprecated.test 1430s # Executing: glib/thread-deprecated.test 1433s ok 6 /thread/rerun-all 1433s # slow test /thread/rerun-all executed in 10.03 secs 1433s # End of thread tests 1433s ok - glib/thread-deprecated.test 1433s # Running test: glib/io-channel.test 1433s TAP version 13 1433s # random seed: R02Sd09a56d957f9f4c0a9a1a28ef02cf46e 1433s 1..2 1433s # Start of io-channel tests 1433s # Line one 1433s # 1433s # Line two 1433s # 1433s # Line three 1433s # 1433s # /* Hello */ 1433s # 1433s # \x1234\x567890\x6666 1433s # 1433s # read 62 bytes, wrote 62 bytes 1433s ok 1 /io-channel/read-write 1433s # Start of read-line tests 1433s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1433s ok 2 /io-channel/read-line/embedded-nuls 1433s # End of read-line tests 1433s # End of io-channel tests 1433s ok - glib/io-channel.test 1433s # Running test: glib/refcount-macro.test 1433s TAP version 13 1433s # random seed: R02S2e4364e375749b901b7d2feee3cc0e62 1433s 1..4 1433s # Start of refcount tests 1433s ok 1 /refcount/grefcount 1433s ok 2 /refcount/gatomicrefcount 1433s # Start of grefcount tests 1433s ok 3 /refcount/grefcount/saturation 1433s # End of grefcount tests 1433s # Start of gatomicrefcount tests 1433s ok 4 /refcount/gatomicrefcount/saturation 1433s # End of gatomicrefcount tests 1433s # End of refcount tests 1433s ok - glib/refcount-macro.test 1433s # Running test: glib/signals-refcount3.test 1433s TAP version 13 1433s # random seed: R02S634d6af8fcb2f9f66e1663957414d1a6 1433s 1..1 1433s # Start of gobject tests 1433s # Start of refcount tests 1433s # init 0xc26235217420 1433s # 1433s # init 0xc262352175c0 1433s # 1435s # Executing: glib/signals-refcount3.test 1438s # dispose 0xc26235217420! 1438s # 1438s # dispose 0xc262352175c0! 1438s # 1438s ok 1 /gobject/refcount/signals 1438s # slow test /gobject/refcount/signals executed in 5.01 secs 1438s # End of refcount tests 1438s # End of gobject tests 1438s ok - glib/signals-refcount3.test 1438s # Running test: glib/properties.test 1438s TAP version 13 1438s # random seed: R02Sda88e2b158002cddbed655167225b5a3 1438s 1..13 1438s # Start of properties tests 1438s ok 1 /properties/install 1438s ok 2 /properties/install-many 1438s ok 3 /properties/notify 1438s ok 4 /properties/notify-queue 1438s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1438s ok 5 /properties/construct 1438s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1438s # Test g_object_get_property with an initialized value 1438s # Test g_object_get_property with an uninitialized value 1438s # Test g_object_get_property with a transformable value 1438s ok 6 /properties/get-property 1438s ok 7 /properties/testv_with_no_properties 1438s ok 8 /properties/testv_with_valid_properties 1438s ok 9 /properties/testv_with_invalid_property_type 1438s ok 10 /properties/testv_with_invalid_property_names 1438s ok 11 /properties/testv_getv 1438s ok 12 /properties/testv_notify_queue 1438s # Start of set-property tests 1438s # Start of variant tests 1438s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1438s ok 13 /properties/set-property/variant/floating 1438s # End of variant tests 1438s # End of set-property tests 1438s # End of properties tests 1438s ok - glib/properties.test 1438s # Running test: glib/union-info.test 1438s TAP version 13 1438s # random seed: R02S26962ed0a4acd862dd3fdc2bc15a27a3 1438s 1..2 1438s # Start of union-info tests 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_KJ73J2/union-info/basic/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_KJ73J2/union-info/basic/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_KJ73J2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_KJ73J2/union-info/basic/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_KJ73J2/union-info/basic/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_KJ73J2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_KJ73J2/union-info/basic/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_KJ73J2/union-info/basic/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_KJ73J2/union-info/basic/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_KJ73J2/union-info/basic/.dirs/runtime 1438s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1438s # /union-info/basic summary: Test basic properties of GIUnionInfo 1438s ok 1 /union-info/basic 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_KJ73J2/union-info/methods/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_KJ73J2/union-info/methods/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_KJ73J2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_KJ73J2/union-info/methods/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_KJ73J2/union-info/methods/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_KJ73J2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_KJ73J2/union-info/methods/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_KJ73J2/union-info/methods/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_KJ73J2/union-info/methods/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_KJ73J2/union-info/methods/.dirs/runtime 1438s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1438s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1438s ok 2 /union-info/methods 1438s # End of union-info tests 1438s ok - glib/union-info.test 1438s # Running test: glib/gdbus-threading.test 1438s TAP version 13 1438s # random seed: R02S9df9f2484aba8333254ec8c7dcc70d9b 1438s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1438s ok - glib/gdbus-threading.test 1438s # Running test: glib/gdbus-serialization.test 1438s TAP version 13 1438s # random seed: R02Se6b477818f89bdbc26e930bfe59a07dd 1438s 1..18 1438s # Start of gdbus tests 1438s # Start of message-serialize tests 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/basic/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/basic/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/basic/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/basic/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/basic/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/basic/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/basic/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/basic/.dirs/runtime 1438s ok 1 /gdbus/message-serialize/basic 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/complex/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/complex/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/complex/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/complex/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/complex/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/complex/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/complex/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/complex/.dirs/runtime 1438s ok 2 /gdbus/message-serialize/complex 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/invalid/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/invalid/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/invalid/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/invalid/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/invalid/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/invalid/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/invalid/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/invalid/.dirs/runtime 1438s ok 3 /gdbus/message-serialize/invalid 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/.dirs/runtime 1438s ok 4 /gdbus/message-serialize/header-checks 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/double-array/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/double-array/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/double-array/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/double-array/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/double-array/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/double-array/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/double-array/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/double-array/.dirs/runtime 1438s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1438s ok 5 /gdbus/message-serialize/double-array 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/empty-structure/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/empty-structure/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/empty-structure/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/empty-structure/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/empty-structure/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/empty-structure/.dirs/runtime 1438s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1438s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1438s ok 6 /gdbus/message-serialize/empty-structure 1438s # Start of header-checks tests 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/valid/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/valid/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/valid/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/valid/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1438s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1438s ok 7 /gdbus/message-serialize/header-checks/valid 1438s # End of header-checks tests 1438s # End of message-serialize tests 1438s # Start of message-parse tests 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1438s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1438s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/non-signature-header/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/non-signature-header/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/non-signature-header/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/non-signature-header/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/non-signature-header/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/non-signature-header/.dirs/runtime 1438s ok 9 /gdbus/message-parse/non-signature-header 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-signature-header/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-signature-header/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-signature-header/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-signature-header/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-signature-header/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1438s ok 10 /gdbus/message-parse/empty-signature-header 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/multiple-signature-header/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/multiple-signature-header/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/multiple-signature-header/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/multiple-signature-header/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1438s ok 11 /gdbus/message-parse/multiple-signature-header 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/over-long-signature-header/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/over-long-signature-header/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/over-long-signature-header/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/over-long-signature-header/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1438s ok 12 /gdbus/message-parse/over-long-signature-header 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-header-nesting/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-header-nesting/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-header-nesting/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-header-nesting/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1438s ok 13 /gdbus/message-parse/deep-header-nesting 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-body-nesting/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-body-nesting/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-body-nesting/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-body-nesting/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1438s ok 14 /gdbus/message-parse/deep-body-nesting 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/truncated/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/truncated/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/truncated/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/truncated/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/truncated/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/truncated/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/truncated/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/truncated/.dirs/runtime 1438s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1438s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1438s ok 15 /gdbus/message-parse/truncated 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-structure/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-structure/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-structure/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-structure/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-structure/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-structure/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-structure/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/empty-structure/.dirs/runtime 1438s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1438s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1438s ok 16 /gdbus/message-parse/empty-structure 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/missing-header/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/missing-header/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/missing-header/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/missing-header/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/missing-header/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/missing-header/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/missing-header/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/missing-header/.dirs/runtime 1438s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1438s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1438s ok 17 /gdbus/message-parse/missing-header 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/invalid-header-type/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/invalid-header-type/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/invalid-header-type/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/invalid-header-type/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/invalid-header-type/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A184J2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1438s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1438s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1438s ok 18 /gdbus/message-parse/invalid-header-type 1438s # End of message-parse tests 1438s # End of gdbus tests 1438s ok - glib/gdbus-serialization.test 1438s # Running test: glib/macros-c-99.test 1438s TAP version 13 1438s # random seed: R02S93e667da64d4fa7ec0671c22332ef517 1438s 1..4 1438s # Start of C tests 1438s ok 1 /C/standard-99 1438s # End of C tests 1438s # Start of alignof tests 1438s ok 2 /alignof/fallback 1438s # End of alignof tests 1438s # Start of assert tests 1438s ok 3 /assert/static 1438s # End of assert tests 1438s # Start of struct tests 1438s ok 4 /struct/sizeof_member 1438s # End of struct tests 1438s ok - glib/macros-c-99.test 1438s # Running test: glib/gdbus-error.test 1438s TAP version 13 1438s # random seed: R02Se1136abd6ec61edfee2330cbbde5a288 1438s 1..4 1438s # Start of gdbus tests 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_36S5J2/gdbus/registered-errors/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/registered-errors/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_36S5J2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_36S5J2/gdbus/registered-errors/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/registered-errors/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_36S5J2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_36S5J2/gdbus/registered-errors/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/registered-errors/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/registered-errors/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_36S5J2/gdbus/registered-errors/.dirs/runtime 1438s ok 1 /gdbus/registered-errors 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_36S5J2/gdbus/unregistered-errors/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/unregistered-errors/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_36S5J2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_36S5J2/gdbus/unregistered-errors/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/unregistered-errors/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_36S5J2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_36S5J2/gdbus/unregistered-errors/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/unregistered-errors/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/unregistered-errors/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_36S5J2/gdbus/unregistered-errors/.dirs/runtime 1438s ok 2 /gdbus/unregistered-errors 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_36S5J2/gdbus/transparent-gerror/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/transparent-gerror/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_36S5J2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_36S5J2/gdbus/transparent-gerror/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/transparent-gerror/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_36S5J2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_36S5J2/gdbus/transparent-gerror/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/transparent-gerror/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/transparent-gerror/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_36S5J2/gdbus/transparent-gerror/.dirs/runtime 1438s ok 3 /gdbus/transparent-gerror 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_36S5J2/gdbus/register-error/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/register-error/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_36S5J2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_36S5J2/gdbus/register-error/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/register-error/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_36S5J2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_36S5J2/gdbus/register-error/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/register-error/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_36S5J2/gdbus/register-error/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_36S5J2/gdbus/register-error/.dirs/runtime 1438s ok 4 /gdbus/register-error 1438s # End of gdbus tests 1438s ok - glib/gdbus-error.test 1438s # Running test: glib/gdbus-bz627724.test 1438s TAP version 13 1438s # random seed: R02Sde2a47f0180dd3cb7a1cc07a0cb0dd65 1438s 1..1 1438s # Start of gdbus tests 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_3YYWJ2/gdbus/bz627724/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_3YYWJ2/gdbus/bz627724/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_3YYWJ2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_3YYWJ2/gdbus/bz627724/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_3YYWJ2/gdbus/bz627724/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_3YYWJ2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_3YYWJ2/gdbus/bz627724/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_3YYWJ2/gdbus/bz627724/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_3YYWJ2/gdbus/bz627724/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_3YYWJ2/gdbus/bz627724/.dirs/runtime 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s ok 1 /gdbus/bz627724 1438s # End of gdbus tests 1438s ok - glib/gdbus-bz627724.test 1438s # Running test: glib/type.test 1438s TAP version 13 1438s # random seed: R02S2611b21c3e0386fecacbfdc5b66fa672 1438s 1..6 1438s # Start of type tests 1438s ok 1 /type/registration-serial 1438s ok 2 /type/interface-prerequisite 1438s ok 3 /type/interface-check 1438s ok 4 /type/next-base 1438s ok 5 /type/is-a 1438s # Invalid types can?t be queried. 1438s # Unclassed types can?t be queried. 1438s ok 6 /type/query 1438s # End of type tests 1438s ok - glib/type.test 1438s # Running test: glib/power-profile-monitor-dbus.test 1439s TAP version 13 1439s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1439s 1..1 1439s ok - glib/power-profile-monitor-dbus.test 1439s # Running test: glib/override.test 1439s TAP version 13 1439s # random seed: R02S5adf738a4c17a87899ddc408df288ee0 1439s 1..1 1439s # Start of gobject tests 1439s # *** emitting foo on a TestA instance 1439s # Expecting: TestA::foo,TestI::foo 1439s # Got: TestA::foo,TestI::foo 1439s # *** emitting bar on a TestA instance 1439s # Expecting: TestA::bar 1439s # Got: TestA::bar 1439s # *** emitting baz on a TestA instance 1439s # Expecting: TestA::baz 1439s # Got: TestA::baz 1439s # *** emitting foo on a TestB instance 1439s # Expecting: TestB::foo,TestA::foo,TestI::foo 1439s # Got: TestB::foo,TestA::foo,TestI::foo 1439s # *** emitting bar on a TestB instance 1439s # Expecting: TestB::bar,TestA::bar 1439s # Got: TestB::bar,TestA::bar 1439s # *** emitting baz on a TestB instance 1439s # Expecting: TestB::baz,TestA::baz 1439s # Got: TestB::baz,TestA::baz 1439s # *** emitting foo on a TestC instance 1439s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1439s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1439s # *** emitting bar on a TestC instance 1439s # Expecting: TestC::bar,TestB::bar,TestA::bar 1439s # Got: TestC::bar,TestB::bar,TestA::bar 1439s # *** emitting baz on a TestC instance 1439s # Expecting: TestC::baz,TestB::baz,TestA::baz 1439s # Got: TestC::baz,TestB::baz,TestA::baz 1439s ok 1 /gobject/override 1439s # End of gobject tests 1439s ok - glib/override.test 1439s # Running test: glib/reference.test 1439s TAP version 13 1439s # random seed: R02S1ddfd59e8c3ca5705e654ae2bd354ec0 1439s 1..29 1439s # Start of type tests 1439s ok 1 /type/fundamentals 1439s ok 2 /type/qdata 1439s ok 3 /type/query 1439s ok 4 /type/class-private 1439s # End of type tests 1439s # Start of object tests 1439s ok 5 /object/clear 1439s ok 6 /object/clear-function 1439s ok 7 /object/set 1439s ok 8 /object/set-function 1439s ok 9 /object/value 1439s ok 10 /object/initially-unowned 1439s ok 11 /object/weak-pointer 1439s ok 12 /object/weak-ref 1439s ok 13 /object/toggle-ref 1439s ok 14 /object/qdata 1439s ok 15 /object/qdata2 1439s # Start of set tests 1439s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1439s ok 16 /object/set/derived-type 1439s # End of set tests 1439s # Start of weak-pointer tests 1439s ok 17 /object/weak-pointer/clear 1439s ok 18 /object/weak-pointer/clear-function 1439s ok 19 /object/weak-pointer/set 1439s ok 20 /object/weak-pointer/set-function 1439s # End of weak-pointer tests 1439s # Start of weak-ref tests 1439s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1439s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1439s ok 21 /object/weak-ref/on-dispose 1439s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1439s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1439s ok 22 /object/weak-ref/on-run-dispose 1439s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1439s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1439s ok 23 /object/weak-ref/on-toggle-notify 1439s ok 24 /object/weak-ref/in-toggle-notify 1439s ok 25 /object/weak-ref/many 1439s # Start of concurrent tests 1440s # Executing: glib/reference.test 1442s ok 26 /object/weak-ref/concurrent/0 1442s # slow test /object/weak-ref/concurrent/0 executed in 2.68 secs 1445s # Executing: glib/reference.test 1445s ok 27 /object/weak-ref/concurrent/1 1445s # slow test /object/weak-ref/concurrent/1 executed in 3.26 secs 1445s # End of concurrent tests 1445s # End of weak-ref tests 1445s # Start of toggle-ref tests 1445s ok 28 /object/toggle-ref/ref-on-dispose 1445s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1445s # End of toggle-ref tests 1445s # End of object tests 1445s ok - glib/reference.test 1445s # Running test: glib/gdbus-test-codegen-old.test 1445s TAP version 13 1445s # random seed: R02S541782a14aab67bc2d0df454e0dcba78 1445s 1..8 1445s # Start of gdbus tests 1445s # Start of codegen tests 1445s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/annotations/.dirs/home 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/annotations/.dirs/cache 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/annotations/.dirs/system-config2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/annotations/.dirs/config 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/annotations/.dirs/system-data2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/annotations/.dirs/data 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/annotations/.dirs/state 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/annotations/.dirs/runtime 1445s ok 1 /gdbus/codegen/annotations 1445s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/interface_stability/.dirs/home 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/interface_stability/.dirs/cache 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/interface_stability/.dirs/system-config2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/interface_stability/.dirs/config 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/interface_stability/.dirs/system-data2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/interface_stability/.dirs/data 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/interface_stability/.dirs/state 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/interface_stability/.dirs/runtime 1445s ok 2 /gdbus/codegen/interface_stability 1445s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/object-manager/.dirs/home 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/object-manager/.dirs/cache 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/object-manager/.dirs/system-config2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/object-manager/.dirs/config 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/object-manager/.dirs/system-data2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/object-manager/.dirs/data 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/object-manager/.dirs/state 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/object-manager/.dirs/runtime 1445s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1445s ok 3 /gdbus/codegen/object-manager 1445s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/property-naming/.dirs/home 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/property-naming/.dirs/cache 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/property-naming/.dirs/system-config2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/property-naming/.dirs/config 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/property-naming/.dirs/system-data2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/property-naming/.dirs/data 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/property-naming/.dirs/state 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/property-naming/.dirs/runtime 1445s ok 4 /gdbus/codegen/property-naming 1445s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/autocleanups/.dirs/home 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/autocleanups/.dirs/cache 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/autocleanups/.dirs/system-config2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/autocleanups/.dirs/config 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/autocleanups/.dirs/system-data2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/autocleanups/.dirs/data 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/autocleanups/.dirs/state 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/autocleanups/.dirs/runtime 1445s ok 5 /gdbus/codegen/autocleanups 1445s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/deprecations/.dirs/home 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/deprecations/.dirs/cache 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/deprecations/.dirs/system-config2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/deprecations/.dirs/config 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/deprecations/.dirs/system-data2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/deprecations/.dirs/data 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/deprecations/.dirs/state 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/deprecations/.dirs/runtime 1445s ok 6 /gdbus/codegen/deprecations 1445s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/standalone-interface-info/.dirs/home 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/standalone-interface-info/.dirs/cache 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/standalone-interface-info/.dirs/config 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/standalone-interface-info/.dirs/data 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/standalone-interface-info/.dirs/state 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1445s ok 7 /gdbus/codegen/standalone-interface-info 1445s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/unix-fd-list/.dirs/home 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/unix-fd-list/.dirs/cache 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/unix-fd-list/.dirs/config 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/unix-fd-list/.dirs/data 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/unix-fd-list/.dirs/state 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2V75J2/gdbus/codegen/unix-fd-list/.dirs/runtime 1446s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1446s ok 8 /gdbus/codegen/unix-fd-list 1446s # End of codegen tests 1446s # End of gdbus tests 1446s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1446s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1446s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1446s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1446s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1446s ok - glib/gdbus-test-codegen-old.test 1446s # Running test: glib/notify-init2.test 1446s TAP version 13 1446s # random seed: R02S7a099b8d724df2a8265fc6c1667cb123 1446s 1..1 1446s # Start of properties tests 1446s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1446s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1446s ok 1 /properties/notify-in-init2 1446s # End of properties tests 1446s ok - glib/notify-init2.test 1446s # Running test: glib/atomic-c-90.test 1446s TAP version 13 1446s # random seed: R02S73d87233a36fde975a3969de12dc99e5 1446s 1..2 1446s # Start of atomic tests 1446s ok 1 /atomic/types 1446s ok 2 /atomic/threaded 1446s # slow test /atomic/threaded executed in 0.72 secs 1446s # End of atomic tests 1446s ok - glib/atomic-c-90.test 1446s # Running test: glib/ifaceproperties.test 1446s TAP version 13 1446s # random seed: R02S7883cca011f647b7c36ad1edc2eb5e27 1446s 1..7 1446s # Start of interface tests 1446s # Start of properties tests 1446s ok 1 /interface/properties/set 1446s ok 2 /interface/properties/notify 1446s ok 3 /interface/properties/find-overridden 1446s ok 4 /interface/properties/list-overridden 1446s ok 5 /interface/properties/find-interface 1446s ok 6 /interface/properties/list-interface 1446s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1446s ok 7 /interface/properties/not-overridden 1446s # End of properties tests 1446s # End of interface tests 1446s ok - glib/ifaceproperties.test 1446s # Running test: glib/1bit-mutex.test 1446s TAP version 13 1446s # random seed: R02S09e0d5508ae977ac646596fcefc5d99a 1446s 1..2 1446s # Start of glib tests 1446s # Start of 1bit-mutex tests 1450s # Executing: glib/1bit-mutex.test 1455s # Executing: glib/1bit-mutex.test 1460s # Executing: glib/1bit-mutex.test 1465s # Executing: glib/1bit-mutex.test 1470s # Executing: glib/1bit-mutex.test 1475s # Executing: glib/1bit-mutex.test 1480s # Executing: glib/1bit-mutex.test 1485s # Executing: glib/1bit-mutex.test 1489s ok 1 /glib/1bit-mutex/int 1489s # slow test /glib/1bit-mutex/int executed in 42.76 secs 1490s # Executing: glib/1bit-mutex.test 1495s # Executing: glib/1bit-mutex.test 1500s # Executing: glib/1bit-mutex.test 1505s # Executing: glib/1bit-mutex.test 1510s # Executing: glib/1bit-mutex.test 1515s # Executing: glib/1bit-mutex.test 1520s # Executing: glib/1bit-mutex.test 1525s # Executing: glib/1bit-mutex.test 1530s # Executing: glib/1bit-mutex.test 1531s ok 2 /glib/1bit-mutex/pointer 1531s # slow test /glib/1bit-mutex/pointer executed in 41.61 secs 1531s # End of 1bit-mutex tests 1531s # End of glib tests 1531s ok - glib/1bit-mutex.test 1531s # Running test: glib/unix-streams.test 1531s TAP version 13 1531s # random seed: R02S9ad1b08569f5c01c20b2578016c360ff 1531s 1..9 1531s # Start of unix-streams tests 1531s ok 1 /unix-streams/basic 1531s ok 2 /unix-streams/pipe-io-test 1531s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1532s ok 3 /unix-streams/nonblocking-io-test 1532s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1532s ok 4 /unix-streams/read_write 1532s ok 5 /unix-streams/read_writev 1532s ok 6 /unix-streams/write-wouldblock 1532s ok 7 /unix-streams/writev-wouldblock 1532s ok 8 /unix-streams/write-async-wouldblock 1532s ok 9 /unix-streams/writev-async-wouldblock 1532s # End of unix-streams tests 1532s ok - glib/unix-streams.test 1532s # Running test: glib/g-file.test 1532s TAP version 13 1532s # random seed: R02Sd02883189c533bb81c27132569def088 1532s 1..8 1532s # Start of g-file tests 1532s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1532s ok 1 /g-file/test_g_file_new_null 1532s ok 2 /g-file/test_g_file_new_for_path 1532s ok 3 /g-file/test_g_file_new_for_uri 1532s ok 4 /g-file/test_g_file_dup 1532s ok 5 /g-file/test_g_file_get_parse_name_utf8 1532s file:///tmp/test-tmp-glib_g-file.test-0B8FK2 1532s file:///tmp 1532s file:///tmp 1532s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1532s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1532s ok 6 /g-file/test_g_file_new_for_commandline_arg 1532s /dir1 /dir1/dir2/dir3/ 1532s /dir1/ /dir1/dir2/dir3/ 1532s /dir1 /dir1/dir2/dir3 1532s /dir1/ /dir1/dir2/dir3 1532s /tmp/ /something/ 1532s /dir1/dir2 /dir1/ 1532s //dir1/new //dir1/new/dir2/dir3 1532s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1532s file:///dir1 file:///dir1/dir2/dir3/ 1532s file:///dir1/ file:///dir1/dir2/dir3/ 1532s file:///dir1 file:///dir1/dir2/dir3 1532s file:///dir1/ file:///dir1/dir2/dir3 1532s file:///tmp/ file:///something/ 1532s file:///dir1/dir2 file:///dir1/ 1532s file:////dir1/new file:////dir1/new/dir2/dir3 1532s 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 1532s ok 7 /g-file/test_g_file_has_prefix 1532s ok 8 /g-file/test_g_file_get_parent_child 1532s # End of g-file tests 1532s ok - glib/g-file.test 1532s # Running test: glib/task.test 1532s TAP version 13 1532s # random seed: R02Sb3f491b5d1156d96ceaddacb8bfdf2bf 1532s 1..36 1532s # Start of gtask tests 1532s ok 1 /gtask/basic 1532s ok 2 /gtask/error 1532s ok 3 /gtask/error-literal 1532s ok 4 /gtask/error-literal-from-variable 1532s ok 5 /gtask/return-from-same-iteration 1532s ok 6 /gtask/return-from-toplevel 1532s ok 7 /gtask/return-from-anon-thread 1532s ok 8 /gtask/return-from-wrong-thread 1532s ok 9 /gtask/no-callback 1532s ok 10 /gtask/report-error 1532s ok 11 /gtask/priority 1532s ok 12 /gtask/name 1532s ok 13 /gtask/static-name 1532s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1532s ok 14 /gtask/asynchronous-cancellation 1532s ok 15 /gtask/check-cancellable 1532s ok 16 /gtask/return-if-cancelled 1532s ok 17 /gtask/run-in-thread 1532s ok 18 /gtask/run-in-thread-sync 1532s ok 19 /gtask/run-in-thread-priority 1532s ok 20 /gtask/run-in-thread-nested 1533s ok 21 /gtask/run-in-thread-overflow 1533s # slow test /gtask/run-in-thread-overflow executed in 0.53 secs 1533s # GLib-GIO-DEBUG: GTask 0xc49a0f93dd50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1533s # GLib-GIO-DEBUG: GTask 0xc49a0f93de50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1533s ok 22 /gtask/return-on-cancel 1533s # GLib-GIO-DEBUG: GTask 0xc49a0f9ace40 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1533s # GLib-GIO-DEBUG: GTask 0xc49a0f9a2830 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1533s ok 23 /gtask/return-on-cancel-sync 1533s ok 24 /gtask/return-on-cancel-atomic 1533s ok 25 /gtask/return-pointer 1533s ok 26 /gtask/return-value 1533s ok 27 /gtask/return-prefixed-error 1533s ok 28 /gtask/object-keepalive 1533s ok 29 /gtask/legacy-error 1533s ok 30 /gtask/finalize-without-return 1533s # Start of name tests 1533s ok 31 /gtask/name/macro-wrapper 1533s # End of name tests 1533s # Start of return tests 1533s ok 32 /gtask/return/error-first 1533s ok 33 /gtask/return/value-first 1533s # Start of in-idle tests 1533s ok 34 /gtask/return/in-idle/error-first 1533s ok 35 /gtask/return/in-idle/value-first 1533s # End of in-idle tests 1533s # End of return tests 1533s # Start of attach-source tests 1533s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1533s ok 36 /gtask/attach-source/set-name 1533s # End of attach-source tests 1533s # End of gtask tests 1533s ok - glib/task.test 1533s # Running test: glib/socket-service.test 1533s TAP version 13 1533s # random seed: R02Se40b6cc9e3153fcc42b0f734497c21d5 1533s 1..4 1533s # Start of socket-service tests 1533s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1533s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac31047fd340 and GSocketClientAsyncConnectData 0xac31047f5620 1533s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1533s ok 1 /socket-service/start-stop 1533s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac31047feea0 and GSocketClientAsyncConnectData 0xac31047fec40 1533s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1533s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1533s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac31047ff3b0 for GSocketClientAsyncConnectData 0xac31047f5620 1533s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1533s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1533s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1533s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1533s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1533s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac3104800230 for GSocketClientAsyncConnectData 0xac31047fec40 1533s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1533s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1533s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1533s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1533s ok 2 /socket-service/read_write_async 1533s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac3104802f80 and GSocketClientAsyncConnectData 0xac31048009a0 1533s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1533s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1533s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac3104801160 for GSocketClientAsyncConnectData 0xac31048009a0 1533s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1533s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1533s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1533s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1533s ok 3 /socket-service/read_writev_async 1533s # Start of threaded tests 1533s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1533s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac31048046e0 and GSocketClientAsyncConnectData 0xac3104800d20 1533s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1533s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1533s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac3104804910 for GSocketClientAsyncConnectData 0xac3104800d20 1533s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1533s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1533s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1533s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1533s ok 4 /socket-service/threaded/712570 1533s # End of threaded tests 1533s # End of socket-service tests 1533s ok - glib/socket-service.test 1533s # Running test: glib/list.test 1533s TAP version 13 1533s # random seed: R02Sd048d2b27d3d0a8cd8ecd52165375f57 1533s 1..20 1533s # Start of list tests 1533s ok 1 /list/sort 1533s ok 2 /list/sort-with-data 1533s ok 3 /list/insert-before-link 1533s ok 4 /list/insert-sorted 1533s ok 5 /list/insert-sorted-with-data 1533s ok 6 /list/reverse 1533s ok 7 /list/nth 1533s ok 8 /list/concat 1533s ok 9 /list/remove 1533s ok 10 /list/remove-all 1533s ok 11 /list/first-last 1533s ok 12 /list/insert 1533s ok 13 /list/free-full 1533s ok 14 /list/copy 1533s ok 15 /list/copy-deep 1533s ok 16 /list/delete-link 1533s ok 17 /list/prepend 1533s ok 18 /list/position 1533s ok 19 /list/double-free 1533s # Start of sort tests 1533s ok 20 /list/sort/stable 1533s # End of sort tests 1533s # End of list tests 1533s ok - glib/list.test 1533s # Running test: glib/binding.test 1533s TAP version 13 1533s # random seed: R02S2f7bd9f1c81799fa961d5db993579609 1533s 1..19 1533s # Start of binding tests 1533s ok 1 /binding/default 1533s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1533s ok 2 /binding/canonicalisation 1533s ok 3 /binding/bidirectional 1533s ok 4 /binding/transform 1533s ok 5 /binding/transform-default 1533s ok 6 /binding/transform-closure 1533s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1533s ok 7 /binding/chain 1533s ok 8 /binding/sync-create 1533s ok 9 /binding/invert-boolean 1533s ok 10 /binding/same-object 1533s ok 11 /binding/unbind 1533s ok 12 /binding/unbind-weak 1533s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1533s ok 13 /binding/unbind-multiple 1533s ok 14 /binding/fail 1533s ok 15 /binding/interface 1533s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1533s ok 16 /binding/concurrent-unbind 1533s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1533s ok 17 /binding/concurrent-finalizing 1533s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1533s ok 18 /binding/dispose-source 1533s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1533s ok 19 /binding/dispose-target 1533s # End of binding tests 1533s ok - glib/binding.test 1533s # Running test: glib/hostutils.test 1533s TAP version 13 1533s # random seed: R02S28d31572ef3e10c8163b1c2cd8f205c9 1533s 1..3 1533s # Start of hostutils tests 1533s ok 1 /hostutils/to_ascii 1533s ok 2 /hostutils/to_unicode 1533s ok 3 /hostutils/is_ip_addr 1533s # End of hostutils tests 1533s ok - glib/hostutils.test 1533s # Running test: glib/portal-support-env-var.test 1533s TAP version 13 1533s # random seed: R02Se950a9b5602eb54d8ab06b2f9b2d8732 1533s 1..1 1533s # Start of portal-support tests 1533s ok 1 /portal-support/env-var 1533s # End of portal-support tests 1533s ok - glib/portal-support-env-var.test 1533s # Running test: glib/utils-c-90.test 1533s TAP version 13 1533s # random seed: R02Seaa4c63a0fdffa6374553741f5b746e4 1533s 1..40 1533s # Start of utils tests 1533s ok 1 /utils/language-names 1533s ok 2 /utils/locale-variants 1533s ok 3 /utils/version 1533s ok 4 /utils/appname 1533s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1533s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1533s ok 5 /utils/prgname-thread-safety 1533s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1533s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1533s ok 6 /utils/tmpdir 1533s ok 7 /utils/basic_bits 1533s ok 8 /utils/bits 1533s ok 9 /utils/swap 1533s ok 10 /utils/find-program 1533s ok 11 /utils/find-program-for-path 1533s ok 12 /utils/debug 1533s ok 13 /utils/codeset 1533s ok 14 /utils/codeset2 1533s ok 15 /utils/console-charset 1533s ok 16 /utils/gettext 1533s ok 17 /utils/username 1533s ok 18 /utils/realname 1533s ok 19 /utils/hostname 1533s ok 20 /utils/xdgdirs 1533s ok 21 /utils/specialdir 1533s # NAME: Ubuntu 1533s ok 22 /utils/os-info 1533s ok 23 /utils/clear-pointer 1533s ok 24 /utils/clear-pointer-cast 1533s ok 25 /utils/take-pointer 1533s ok 26 /utils/clear-source 1533s ok 27 /utils/misc-mem 1533s # /utils/aligned-mem summary: Aligned memory allocator 1533s # Alignment must not be zero 1533s # Alignment must be a power of two 1533s # Alignment must be a multiple of sizeof(void*) 1533s ok 28 /utils/aligned-mem 1533s # /utils/free-sized summary: Check that g_free_sized() works 1533s ok 29 /utils/free-sized 1533s ok 30 /utils/nullify 1533s ok 31 /utils/atexit 1533s ok 32 /utils/check-setuid 1533s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1533s ok 33 /utils/int-limits 1533s ok 34 /utils/clear-list 1533s ok 35 /utils/clear-slist 1533s # Start of specialdir tests 1533s ok 36 /utils/specialdir/desktop 1533s # End of specialdir tests 1533s # Start of clear-pointer tests 1533s ok 37 /utils/clear-pointer/side-effects 1533s # End of clear-pointer tests 1533s # Start of aligned-mem tests 1533s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1533s ok 38 /utils/aligned-mem/alignment 1533s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1533s ok 39 /utils/aligned-mem/zeroed 1533s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1533s ok 40 /utils/aligned-mem/free-sized 1533s # Start of subprocess tests 1533s # End of subprocess tests 1533s # End of aligned-mem tests 1533s # End of utils tests 1533s ok - glib/utils-c-90.test 1533s # Running test: glib/simple-proxy.test 1533s TAP version 13 1533s # random seed: R02S61a3093b9b4772b3c114df771e35a588 1533s 1..3 1533s # Start of static-proxy tests 1533s ok 1 /static-proxy/uri 1533s ok 2 /static-proxy/socks 1533s ok 3 /static-proxy/ignore 1533s # End of static-proxy tests 1533s ok - glib/simple-proxy.test 1533s # Running test: glib/notify-init.test 1533s TAP version 13 1533s # random seed: R02S0ac65398e2ba6af530854e509b8612cd 1533s 1..1 1533s # Start of properties tests 1533s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1533s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1533s ok 1 /properties/notify-in-init 1533s # End of properties tests 1533s ok - glib/notify-init.test 1533s # Running test: glib/gdbus-exit-on-close.test 1533s TAP version 13 1533s # random seed: R02S707955c8af3a637ebc6535c348b246f8 1533s 1..4 1533s # Start of gdbus tests 1533s # Start of exit-on-close tests 1533s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/default/.dirs/home 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/default/.dirs/cache 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/default/.dirs/system-config2 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/default/.dirs/config 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/default/.dirs/system-data2 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/default/.dirs/data 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/default/.dirs/state 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/default/.dirs/runtime 1533s ok 1 /gdbus/exit-on-close/default 1533s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/true/.dirs/home 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/true/.dirs/cache 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/true/.dirs/system-config2 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/true/.dirs/config 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/true/.dirs/system-data2 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/true/.dirs/data 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/true/.dirs/state 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/true/.dirs/runtime 1533s ok 2 /gdbus/exit-on-close/true 1533s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/false/.dirs/home 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/false/.dirs/cache 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/false/.dirs/system-config2 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/false/.dirs/config 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/false/.dirs/system-data2 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/false/.dirs/data 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/false/.dirs/state 1533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/false/.dirs/runtime 1534s ok 3 /gdbus/exit-on-close/false 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/we-close/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/we-close/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/we-close/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/we-close/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/we-close/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/we-close/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/we-close/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_9HR6J2/gdbus/exit-on-close/we-close/.dirs/runtime 1534s ok 4 /gdbus/exit-on-close/we-close 1534s # Start of default tests 1534s # End of default tests 1534s # Start of true tests 1534s # End of true tests 1534s # Start of false tests 1534s # End of false tests 1534s # Start of we-close tests 1534s # End of we-close tests 1534s # End of exit-on-close tests 1534s # End of gdbus tests 1534s ok - glib/gdbus-exit-on-close.test 1534s # Running test: glib/file.test 1534s TAP version 13 1534s # random seed: R02S2e498ffcfd390bc5ca474ec6f7309798 1534s 1..50 1534s # Start of file tests 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/basic/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/basic/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/basic/.dirs/system-config1:/tmp/test_file_VY7HK2/file/basic/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/basic/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/basic/.dirs/system-data1:/tmp/test_file_VY7HK2/file/basic/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/basic/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/basic/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/basic/.dirs/runtime 1534s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1534s ok 1 /file/basic 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/build-filename/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/build-filename/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/build-filename/.dirs/system-config1:/tmp/test_file_VY7HK2/file/build-filename/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/build-filename/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/build-filename/.dirs/system-data1:/tmp/test_file_VY7HK2/file/build-filename/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/build-filename/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/build-filename/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/build-filename/.dirs/runtime 1534s ok 2 /file/build-filename 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/build-filenamev/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/build-filenamev/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_VY7HK2/file/build-filenamev/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/build-filenamev/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_VY7HK2/file/build-filenamev/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/build-filenamev/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/build-filenamev/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/build-filenamev/.dirs/runtime 1534s ok 3 /file/build-filenamev 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/parent/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/parent/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/parent/.dirs/system-config1:/tmp/test_file_VY7HK2/file/parent/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/parent/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/parent/.dirs/system-data1:/tmp/test_file_VY7HK2/file/parent/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/parent/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/parent/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/parent/.dirs/runtime 1534s ok 4 /file/parent 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/child/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/child/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/child/.dirs/system-config1:/tmp/test_file_VY7HK2/file/child/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/child/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/child/.dirs/system-data1:/tmp/test_file_VY7HK2/file/child/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/child/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/child/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/child/.dirs/runtime 1534s ok 5 /file/child 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/empty-path/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/empty-path/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/empty-path/.dirs/system-config1:/tmp/test_file_VY7HK2/file/empty-path/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/empty-path/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/empty-path/.dirs/system-data1:/tmp/test_file_VY7HK2/file/empty-path/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/empty-path/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/empty-path/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/empty-path/.dirs/runtime 1534s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1534s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1534s ok 6 /file/empty-path 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/type/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/type/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/type/.dirs/system-config1:/tmp/test_file_VY7HK2/file/type/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/type/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/type/.dirs/system-data1:/tmp/test_file_VY7HK2/file/type/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/type/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/type/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/type/.dirs/runtime 1534s ok 7 /file/type 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/parse-name/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/parse-name/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/parse-name/.dirs/system-config1:/tmp/test_file_VY7HK2/file/parse-name/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/parse-name/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/parse-name/.dirs/system-data1:/tmp/test_file_VY7HK2/file/parse-name/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/parse-name/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/parse-name/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/parse-name/.dirs/runtime 1534s ok 8 /file/parse-name 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/replace-load/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/replace-load/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/replace-load/.dirs/system-config1:/tmp/test_file_VY7HK2/file/replace-load/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/replace-load/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/replace-load/.dirs/system-data1:/tmp/test_file_VY7HK2/file/replace-load/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/replace-load/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/replace-load/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/replace-load/.dirs/runtime 1534s ok 9 /file/replace-load 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/replace-cancel/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/replace-cancel/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_VY7HK2/file/replace-cancel/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/replace-cancel/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_VY7HK2/file/replace-cancel/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/replace-cancel/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/replace-cancel/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/replace-cancel/.dirs/runtime 1534s # Bug Reference: https://bugzilla.gnome.org/629301 1534s ok 10 /file/replace-cancel 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/replace-symlink/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/replace-symlink/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_VY7HK2/file/replace-symlink/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/replace-symlink/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_VY7HK2/file/replace-symlink/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/replace-symlink/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/replace-symlink/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/replace-symlink/.dirs/runtime 1534s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1534s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1534s # Using temporary directory /tmp/test_file_VY7HK2/g_file_replace_symlink_5857J2 1534s ok 11 /file/replace-symlink 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/async-new-tmp/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/async-new-tmp/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_VY7HK2/file/async-new-tmp/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/async-new-tmp/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_VY7HK2/file/async-new-tmp/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/async-new-tmp/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/async-new-tmp/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/async-new-tmp/.dirs/runtime 1534s ok 12 /file/async-new-tmp 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/async-new-tmp-dir/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/async-new-tmp-dir/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_VY7HK2/file/async-new-tmp-dir/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/async-new-tmp-dir/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_VY7HK2/file/async-new-tmp-dir/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/async-new-tmp-dir/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/async-new-tmp-dir/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/async-new-tmp-dir/.dirs/runtime 1534s ok 13 /file/async-new-tmp-dir 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/async-delete/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/async-delete/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/async-delete/.dirs/system-config1:/tmp/test_file_VY7HK2/file/async-delete/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/async-delete/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/async-delete/.dirs/system-data1:/tmp/test_file_VY7HK2/file/async-delete/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/async-delete/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/async-delete/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/async-delete/.dirs/runtime 1534s ok 14 /file/async-delete 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/async-make-symlink/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/async-make-symlink/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_VY7HK2/file/async-make-symlink/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/async-make-symlink/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_VY7HK2/file/async-make-symlink/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/async-make-symlink/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/async-make-symlink/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/async-make-symlink/.dirs/runtime 1534s ok 15 /file/async-make-symlink 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/copy-preserve-mode/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/copy-preserve-mode/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_VY7HK2/file/copy-preserve-mode/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/copy-preserve-mode/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_VY7HK2/file/copy-preserve-mode/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/copy-preserve-mode/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/copy-preserve-mode/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/copy-preserve-mode/.dirs/runtime 1534s # Current umask: 2 1534s # Vector 0 1534s # Vector 1 1534s # Vector 2 1534s # Vector 3 1534s # Vector 4 1534s # Vector 5 1534s # Vector 6 1534s # Vector 7 1534s # Vector 8 1534s # Vector 9 1534s # Vector 10 1534s ok 16 /file/copy-preserve-mode 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/measure/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/measure/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/measure/.dirs/system-config1:/tmp/test_file_VY7HK2/file/measure/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/measure/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/measure/.dirs/system-data1:/tmp/test_file_VY7HK2/file/measure/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/measure/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/measure/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/measure/.dirs/runtime 1534s ok 17 /file/measure 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/measure-async/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/measure-async/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/measure-async/.dirs/system-config1:/tmp/test_file_VY7HK2/file/measure-async/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/measure-async/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/measure-async/.dirs/system-data1:/tmp/test_file_VY7HK2/file/measure-async/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/measure-async/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/measure-async/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/measure-async/.dirs/runtime 1534s ok 18 /file/measure-async 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/load-bytes/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/load-bytes/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_VY7HK2/file/load-bytes/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/load-bytes/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_VY7HK2/file/load-bytes/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/load-bytes/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/load-bytes/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/load-bytes/.dirs/runtime 1534s ok 19 /file/load-bytes 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/load-bytes-async/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/load-bytes-async/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_VY7HK2/file/load-bytes-async/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/load-bytes-async/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_VY7HK2/file/load-bytes-async/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/load-bytes-async/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/load-bytes-async/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/load-bytes-async/.dirs/runtime 1534s ok 20 /file/load-bytes-async 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/writev/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/writev/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/writev/.dirs/system-config1:/tmp/test_file_VY7HK2/file/writev/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/writev/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/writev/.dirs/system-data1:/tmp/test_file_VY7HK2/file/writev/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/writev/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/writev/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/writev/.dirs/runtime 1534s ok 21 /file/writev 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/build-attribute-list-for-copy/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/build-attribute-list-for-copy/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_VY7HK2/file/build-attribute-list-for-copy/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/build-attribute-list-for-copy/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_VY7HK2/file/build-attribute-list-for-copy/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/build-attribute-list-for-copy/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/build-attribute-list-for-copy/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/build-attribute-list-for-copy/.dirs/runtime 1534s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1534s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1534s # 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::* 1534s # 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::* 1534s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1534s # Attributes for copy: standard::size,xattr::* 1534s # Attributes for copy: standard::size,unix::mode,xattr::* 1534s ok 22 /file/build-attribute-list-for-copy 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/move_async/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/move_async/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/move_async/.dirs/system-config1:/tmp/test_file_VY7HK2/file/move_async/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/move_async/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/move_async/.dirs/system-data1:/tmp/test_file_VY7HK2/file/move_async/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/move_async/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/move_async/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/move_async/.dirs/runtime 1534s ok 23 /file/move_async 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/query-zero-length-content-type/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/query-zero-length-content-type/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_VY7HK2/file/query-zero-length-content-type/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/query-zero-length-content-type/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_VY7HK2/file/query-zero-length-content-type/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/query-zero-length-content-type/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/query-zero-length-content-type/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/query-zero-length-content-type/.dirs/runtime 1534s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1534s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1534s ok 24 /file/query-zero-length-content-type 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/runtime 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/data/applications 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/config 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/config 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/config 1534s ok 25 /file/query-default-handler-file 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/runtime 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/data/applications 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/config 1534s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_VY7HK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/config 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/config 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/config 1534s ok 26 /file/query-default-handler-file-async 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/runtime 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/data/applications 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/config 1534s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_VY7HK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/config 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/config 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/config 1534s ok 27 /file/query-default-handler-uri 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/runtime 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/data/applications 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/config 1534s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_VY7HK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/config 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/config 1534s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VY7HK2/file/query-default-handler-uri-async/.dirs/config 1534s ok 28 /file/query-default-handler-uri-async 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/enumerator-cancellation/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/enumerator-cancellation/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_VY7HK2/file/enumerator-cancellation/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/enumerator-cancellation/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_VY7HK2/file/enumerator-cancellation/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/enumerator-cancellation/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/enumerator-cancellation/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/enumerator-cancellation/.dirs/runtime 1534s ok 29 /file/enumerator-cancellation 1534s # Start of async-create-delete tests 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/async-create-delete/0/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/0/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_VY7HK2/file/async-create-delete/0/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/0/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_VY7HK2/file/async-create-delete/0/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/0/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/0/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/async-create-delete/0/.dirs/runtime 1534s ok 30 /file/async-create-delete/0 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/async-create-delete/1/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/1/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_VY7HK2/file/async-create-delete/1/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/1/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_VY7HK2/file/async-create-delete/1/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/1/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/1/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/async-create-delete/1/.dirs/runtime 1534s ok 31 /file/async-create-delete/1 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/async-create-delete/10/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/10/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_VY7HK2/file/async-create-delete/10/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/10/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_VY7HK2/file/async-create-delete/10/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/10/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/10/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/async-create-delete/10/.dirs/runtime 1534s ok 32 /file/async-create-delete/10 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/async-create-delete/25/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/25/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_VY7HK2/file/async-create-delete/25/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/25/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_VY7HK2/file/async-create-delete/25/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/25/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/25/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/async-create-delete/25/.dirs/runtime 1534s ok 33 /file/async-create-delete/25 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/async-create-delete/4096/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/4096/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_VY7HK2/file/async-create-delete/4096/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/4096/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_VY7HK2/file/async-create-delete/4096/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/4096/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/async-create-delete/4096/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/async-create-delete/4096/.dirs/runtime 1534s ok 34 /file/async-create-delete/4096 1534s # End of async-create-delete tests 1534s # Start of replace-symlink tests 1534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/replace-symlink/using-etag/.dirs/home 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/replace-symlink/using-etag/.dirs/cache 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_VY7HK2/file/replace-symlink/using-etag/.dirs/system-config2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/replace-symlink/using-etag/.dirs/config 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_VY7HK2/file/replace-symlink/using-etag/.dirs/system-data2 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/replace-symlink/using-etag/.dirs/data 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/replace-symlink/using-etag/.dirs/state 1534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/replace-symlink/using-etag/.dirs/runtime 1534s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1534s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1534s # Using temporary directory /tmp/test_file_VY7HK2/g_file_replace_symlink_using_etag_QWB6J2 1535s # Executing: glib/file.test 1536s ok 35 /file/replace-symlink/using-etag 1536s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 1536s # End of replace-symlink tests 1536s # Start of replace tests 1536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/replace/write-only/.dirs/home 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/replace/write-only/.dirs/cache 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_VY7HK2/file/replace/write-only/.dirs/system-config2 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/replace/write-only/.dirs/config 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_VY7HK2/file/replace/write-only/.dirs/system-data2 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/replace/write-only/.dirs/data 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/replace/write-only/.dirs/state 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/replace/write-only/.dirs/runtime 1536s # /file/replace/write-only summary: Test various situations for g_file_replace() 1536s # Current umask: 2 1536s # Test 0, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_AAOWJ2 1536s # Test 1, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_G4WWJ2 1536s # Test 2, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_GBVWJ2 1536s # Test 3, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_ADZWJ2 1536s # Test 4, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_320WJ2 1536s # Test 5, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_ZW8WJ2 1536s # Test 6, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_Y77WJ2 1536s # Test 7, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_QQYVJ2 1536s # Test 8, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_IOZVJ2 1536s # Test 9, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_S37VJ2 1536s # Test 10, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_SS4VJ2 1536s # Test 11, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_51CWJ2 1536s # Test 12, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_Y4EWJ2 1536s # Test 13, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_1HAWJ2 1536s # Test 14, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_NBMWJ2 1536s # Test 15, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_FA5XJ2 1536s # Test 16, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_FT1XJ2 1536s # Test 17, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_53AYJ2 1536s # Test 18, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_6AAYJ2 1536s # Test 19, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_KKIYJ2 1536s # Test 20, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_EWNYJ2 1536s # Test 21, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_TDKYJ2 1536s # Test 22, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_HOHXJ2 1536s # Test 23, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_VYCXJ2 1536s # Test 24, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_G8LXJ2 1536s # Test 25, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_FBIXJ2 1536s # Test 26, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_NWSXJ2 1536s # Test 27, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_R4RXJ2 1536s # Test 28, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_4NOXJ2 1536s # Test 29, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_P8VXJ2 1536s # Test 30, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_NSXXJ2 1536s # Test 31, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_QQWXJ2 1536s # Test 32, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_PKGZJ2 1536s # Test 33, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_KIPZJ2 1536s # Test 34, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_AFNZJ2 1536s # Test 35, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_M6LZJ2 1536s # Test 36, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_FMXZJ2 1536s # Test 37, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_C42ZJ2 1536s # Test 38, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_FL1ZJ2 1536s # Test 39, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_RHVYJ2 1536s # Test 40, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_FW0YJ2 1536s # Test 41, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_TOZYJ2 1537s # Test 42, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_SB8YJ2 1537s # Test 43, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_ODDZJ2 1537s # Test 44, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_GACZJ2 1537s # Test 45, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_5BBZJ2 1537s # Test 46, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_LQV0J2 1537s # Test 47, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_36W0J2 1537s # Test 48, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_H750J2 1537s # We do not have CAP_DAC_OVERRIDE or equivalent 1537s ok 36 /file/replace/write-only 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/replace/read-write/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/replace/read-write/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_VY7HK2/file/replace/read-write/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/replace/read-write/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_VY7HK2/file/replace/read-write/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/replace/read-write/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/replace/read-write/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/replace/read-write/.dirs/runtime 1537s # /file/replace/read-write summary: Test various situations for g_file_replace() 1537s # Current umask: 2 1537s # Test 0, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_WL20J2 1537s # Test 1, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_1OLDK2 1537s # Test 2, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_1KYDK2 1537s # Test 3, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_H1WDK2 1537s # Test 4, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_4A4DK2 1537s # Test 5, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_1X5DK2 1537s # Test 6, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_5QWCK2 1537s # Test 7, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_XXSCK2 1537s # Test 8, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_77TCK2 1537s # Test 9, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_YJ2CK2 1537s # Test 10, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_3SYCK2 1537s # Test 11, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_ZT9CK2 1537s # Test 12, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_MK5CK2 1537s # Test 13, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_TE7CK2 1537s # Test 14, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_0AGDK2 1537s # Test 15, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_MB0EK2 1537s # Test 16, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_5AWEK2 1537s # Test 17, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_507EK2 1537s # Test 18, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_MUCFK2 1537s # Test 19, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_5O8EK2 1537s # Test 20, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_2RKFK2 1537s # Test 21, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_1JHFK2 1537s # Test 22, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_TUBEK2 1537s # Test 23, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_EX7DK2 1537s # Test 24, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_RDGEK2 1537s # Test 25, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_WDFEK2 1537s # Test 26, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_PSMEK2 1537s # Test 27, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_CUOEK2 1537s # Test 28, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_5ALEK2 1537s # Test 29, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_VOQEK2 1537s # Test 30, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_FQREK2 1537s # Test 31, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_E1EGK2 1537s # Test 32, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_8UAGK2 1537s # Test 33, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_82MGK2 1537s # Test 34, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_65HGK2 1537s # Test 35, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_5ZJGK2 1537s # Test 36, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_2SSGK2 1537s # Test 37, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_WJXGK2 1537s # Test 38, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_MHUGK2 1537s # Test 39, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_9KOFK2 1537s # Test 40, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_2LNFK2 1537s # Test 41, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_YMWFK2 1537s # Test 42, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_6U1FK2 1537s # Test 43, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_XP0FK2 1537s # Test 44, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_JD5FK2 1537s # Test 45, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_5D7FK2 1537s # Test 46, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_4SUHK2 1537s # Test 47, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_06PHK2 1537s # Test 48, using temporary directory /tmp/test_file_VY7HK2/g_file_replace_QEZHK2 1537s # We do not have CAP_DAC_OVERRIDE or equivalent 1537s ok 37 /file/replace/read-write 1537s # End of replace tests 1537s # Start of copy tests 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/copy/progress/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/copy/progress/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_VY7HK2/file/copy/progress/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/copy/progress/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_VY7HK2/file/copy/progress/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/copy/progress/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/copy/progress/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/copy/progress/.dirs/runtime 1537s ok 38 /file/copy/progress 1537s # End of copy tests 1537s # Start of writev tests 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/writev/no-bytes-written/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/writev/no-bytes-written/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_VY7HK2/file/writev/no-bytes-written/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/writev/no-bytes-written/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_VY7HK2/file/writev/no-bytes-written/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/writev/no-bytes-written/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/writev/no-bytes-written/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/writev/no-bytes-written/.dirs/runtime 1537s ok 39 /file/writev/no-bytes-written 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/writev/no-vectors/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/writev/no-vectors/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_VY7HK2/file/writev/no-vectors/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/writev/no-vectors/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_VY7HK2/file/writev/no-vectors/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/writev/no-vectors/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/writev/no-vectors/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/writev/no-vectors/.dirs/runtime 1537s ok 40 /file/writev/no-vectors 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/writev/empty-vectors/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/writev/empty-vectors/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_VY7HK2/file/writev/empty-vectors/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/writev/empty-vectors/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_VY7HK2/file/writev/empty-vectors/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/writev/empty-vectors/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/writev/empty-vectors/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/writev/empty-vectors/.dirs/runtime 1537s ok 41 /file/writev/empty-vectors 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/writev/too-big-vectors/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/writev/too-big-vectors/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_VY7HK2/file/writev/too-big-vectors/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/writev/too-big-vectors/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_VY7HK2/file/writev/too-big-vectors/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/writev/too-big-vectors/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/writev/too-big-vectors/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/writev/too-big-vectors/.dirs/runtime 1537s ok 42 /file/writev/too-big-vectors 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/writev/async/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/writev/async/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/writev/async/.dirs/system-config1:/tmp/test_file_VY7HK2/file/writev/async/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/writev/async/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/writev/async/.dirs/system-data1:/tmp/test_file_VY7HK2/file/writev/async/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/writev/async/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/writev/async/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/writev/async/.dirs/runtime 1537s ok 43 /file/writev/async 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/writev/async_all/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/writev/async_all/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_VY7HK2/file/writev/async_all/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/writev/async_all/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_VY7HK2/file/writev/async_all/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/writev/async_all/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/writev/async_all/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/writev/async_all/.dirs/runtime 1537s ok 44 /file/writev/async_all 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/writev/async_all-empty-vectors/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-empty-vectors/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_VY7HK2/file/writev/async_all-empty-vectors/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-empty-vectors/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_VY7HK2/file/writev/async_all-empty-vectors/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-empty-vectors/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-empty-vectors/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/writev/async_all-empty-vectors/.dirs/runtime 1537s ok 45 /file/writev/async_all-empty-vectors 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/writev/async_all-no-vectors/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-no-vectors/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_VY7HK2/file/writev/async_all-no-vectors/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-no-vectors/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_VY7HK2/file/writev/async_all-no-vectors/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-no-vectors/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-no-vectors/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/writev/async_all-no-vectors/.dirs/runtime 1537s ok 46 /file/writev/async_all-no-vectors 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/writev/async_all-to-big-vectors/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-to-big-vectors/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_VY7HK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-to-big-vectors/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_VY7HK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-to-big-vectors/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-to-big-vectors/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/writev/async_all-to-big-vectors/.dirs/runtime 1537s ok 47 /file/writev/async_all-to-big-vectors 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/writev/async_all-cancellation/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-cancellation/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_VY7HK2/file/writev/async_all-cancellation/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-cancellation/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_VY7HK2/file/writev/async_all-cancellation/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-cancellation/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/writev/async_all-cancellation/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/writev/async_all-cancellation/.dirs/runtime 1537s ok 48 /file/writev/async_all-cancellation 1537s # End of writev tests 1537s # Start of from-uri tests 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/from-uri/ignores-query-string/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/from-uri/ignores-query-string/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_VY7HK2/file/from-uri/ignores-query-string/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/from-uri/ignores-query-string/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_VY7HK2/file/from-uri/ignores-query-string/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/from-uri/ignores-query-string/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/from-uri/ignores-query-string/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/from-uri/ignores-query-string/.dirs/runtime 1537s ok 49 /file/from-uri/ignores-query-string 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VY7HK2/file/from-uri/ignores-fragment/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VY7HK2/file/from-uri/ignores-fragment/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VY7HK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_VY7HK2/file/from-uri/ignores-fragment/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VY7HK2/file/from-uri/ignores-fragment/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VY7HK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_VY7HK2/file/from-uri/ignores-fragment/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VY7HK2/file/from-uri/ignores-fragment/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VY7HK2/file/from-uri/ignores-fragment/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VY7HK2/file/from-uri/ignores-fragment/.dirs/runtime 1537s ok 50 /file/from-uri/ignores-fragment 1537s # End of from-uri tests 1537s # End of file tests 1537s ok - glib/file.test 1537s # Running test: glib/gdbus-connection.test 1537s TAP version 13 1537s # random seed: R02Sdcebc5c821bcc98319a004f081530c8f 1537s 1..9 1537s # Start of gdbus tests 1537s # Start of connection tests 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/bus-failure/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/bus-failure/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/bus-failure/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/bus-failure/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/bus-failure/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/bus-failure/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/bus-failure/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/bus-failure/.dirs/runtime 1537s ok 1 /gdbus/connection/bus-failure 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/basic/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/basic/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/basic/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/basic/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/basic/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/basic/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/basic/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/basic/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 2 /gdbus/connection/basic 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/life-cycle/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/life-cycle/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/life-cycle/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/life-cycle/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/life-cycle/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/life-cycle/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/life-cycle/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/life-cycle/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 3 /gdbus/connection/life-cycle 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/send/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/send/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/send/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/send/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/send/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/send/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/send/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/send/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 4 /gdbus/connection/send 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signals/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signals/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/signals/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signals/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/signals/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signals/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signals/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signals/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 5 /gdbus/connection/signals 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signal-match-rules/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signal-match-rules/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/signal-match-rules/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signal-match-rules/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/signal-match-rules/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signal-match-rules/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signal-match-rules/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/signal-match-rules/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 6 /gdbus/connection/signal-match-rules 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/filter/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/filter/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/filter/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/filter/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/filter/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/filter/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/filter/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/filter/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 7 /gdbus/connection/filter 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/serials/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/serials/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/serials/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/serials/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/serials/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/serials/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/serials/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/serials/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 8 /gdbus/connection/serials 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/cancel/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/cancel/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/cancel/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/cancel/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_7G17J2/gdbus/connection/cancel/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/cancel/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/cancel/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7G17J2/gdbus/connection/cancel/.dirs/runtime 1537s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 9 /gdbus/connection/cancel 1537s # End of connection tests 1537s # End of gdbus tests 1537s ok - glib/gdbus-connection.test 1537s # Running test: glib/onceinit.test 1537s TAP version 13 1537s # random seed: R02S0474b01953803e527c7a478e08443dc1 1537s 1..1 1537s # Start of thread tests 1537s ok 1 /thread/onceinit 1537s # End of thread tests 1537s ok - glib/onceinit.test 1537s # Running test: glib/value.test 1537s TAP version 13 1537s # random seed: R02S1098a98be8cbb061e98083f988ddd1bd 1537s 1..8 1537s # Start of value tests 1537s ok 1 /value/basic 1537s ok 2 /value/collection 1537s ok 3 /value/copying 1537s ok 4 /value/enum-transformation 1537s ok 5 /value/gtype 1537s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1537s ok 6 /value/string 1537s # Next: GObject object in GValue of GObject to GValue of GObject 1537s # Next: GObject object in GValue of GObject to GValue of TestInterface 1537s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1537s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1537s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1537s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1537s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1537s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1537s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1537s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1537s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1537s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1537s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1537s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1537s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1537s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1537s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1537s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1537s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1537s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1537s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1537s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1537s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1537s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1537s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1537s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1537s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1537s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1537s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1537s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1537s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1537s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1537s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1537s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1537s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1537s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1537s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1537s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1537s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1537s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1537s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1537s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1537s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1537s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1537s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1537s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1537s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1537s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1537s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1537s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1537s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1537s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1537s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1537s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1537s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1537s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1537s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1537s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1537s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1537s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1537s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1537s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1537s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1537s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1537s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1537s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1537s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1537s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1537s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1537s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1537s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1537s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1537s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1537s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1537s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1537s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1537s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1537s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1537s ok 7 /value/transform-object 1537s # Start of array tests 1537s ok 8 /value/array/basic 1537s # End of array tests 1537s # End of value tests 1537s ok - glib/value.test 1537s # Running test: glib/gdbus-connection-loss.test 1537s TAP version 13 1537s # random seed: R02S868095773c67215e5d8797cbe710054d 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s 1..1 1537s # Start of gdbus tests 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_Z30WJ2/gdbus/connection-loss/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_Z30WJ2/gdbus/connection-loss/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_Z30WJ2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_Z30WJ2/gdbus/connection-loss/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_Z30WJ2/gdbus/connection-loss/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_Z30WJ2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_Z30WJ2/gdbus/connection-loss/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_Z30WJ2/gdbus/connection-loss/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_Z30WJ2/gdbus/connection-loss/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_Z30WJ2/gdbus/connection-loss/.dirs/runtime 1538s ok 1 /gdbus/connection-loss 1538s # End of gdbus tests 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s ok - glib/gdbus-connection-loss.test 1538s # Running test: glib/volumemonitor.test 1538s TAP version 13 1538s # random seed: R02S1aa53725ee98121212d7dd2970ff3cef 1538s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1538s 1..3 1538s # Start of volumemonitor tests 1538s ok 1 /volumemonitor/connected_drives 1538s ok 2 /volumemonitor/volumes 1538s ok 3 /volumemonitor/mounts 1538s # End of volumemonitor tests 1538s ok - glib/volumemonitor.test 1538s # Running test: glib/cxx.test 1538s TAP version 13 1538s # random seed: R02Se3dfb540c453c3eb589feb8560078736 1538s 1..2 1538s # Start of gtask tests 1538s # 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. 1538s ok 1 /gtask/name 1538s # Start of name tests 1538s # 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. 1538s ok 2 /gtask/name/macro-wrapper 1538s # End of name tests 1538s # End of gtask tests 1538s ok - glib/cxx.test 1538s # Running test: glib/signals-refcount1.test 1538s TAP version 13 1538s # random seed: R02S5595f3ed5a12ee63937adf256238534c 1538s 1..1 1538s # Start of gobject tests 1538s # Start of refcount tests 1538s # init 0xbfb730c71420 1538s # 1538s # init 0xbfb730c715c0 1538s # 1540s # Executing: glib/signals-refcount1.test 1543s # dispose 0xbfb730c71420! 1543s # 1543s # dispose 0xbfb730c715c0! 1543s # 1543s ok 1 /gobject/refcount/signals 1543s # slow test /gobject/refcount/signals executed in 5.00 secs 1543s # End of refcount tests 1543s # End of gobject tests 1543s ok - glib/signals-refcount1.test 1543s # Running test: glib/convert.test 1543s TAP version 13 1543s # random seed: R02S85a99f8ba355ed9ca288479370cde94a 1543s 1..14 1543s # Start of conversion tests 1543s ok 1 /conversion/no-conv 1543s ok 2 /conversion/iconv-state 1543s ok 3 /conversion/illegal-sequence 1543s ok 4 /conversion/byte-order 1543s ok 5 /conversion/unicode 1543s ok 6 /conversion/filename-utf8 1543s ok 7 /conversion/filename-display 1543s ok 8 /conversion/convert-embedded-nul 1543s # Start of locale-to-utf8 tests 1543s ok 9 /conversion/locale-to-utf8/embedded-nul 1543s # Start of embedded-nul tests 1543s # Start of subprocess tests 1543s # End of subprocess tests 1543s # End of embedded-nul tests 1543s # End of locale-to-utf8 tests 1543s # Start of locale-from-utf8 tests 1543s ok 10 /conversion/locale-from-utf8/embedded-nul 1543s # Start of embedded-nul tests 1543s # Start of subprocess tests 1543s # End of subprocess tests 1543s # End of embedded-nul tests 1543s # End of locale-from-utf8 tests 1543s # Start of filename-to-utf8 tests 1543s ok 11 /conversion/filename-to-utf8/embedded-nul 1543s # Start of embedded-nul tests 1543s # Start of subprocess tests 1543s # End of subprocess tests 1543s # End of embedded-nul tests 1543s # End of filename-to-utf8 tests 1543s # Start of filename-from-utf8 tests 1543s ok 12 /conversion/filename-from-utf8/embedded-nul 1543s # Start of embedded-nul tests 1543s # Start of subprocess tests 1543s # End of subprocess tests 1543s # End of embedded-nul tests 1543s # End of filename-from-utf8 tests 1543s # Start of filename-from-uri tests 1543s ok 13 /conversion/filename-from-uri/query-is-ignored 1543s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1543s # End of filename-from-uri tests 1543s # End of conversion tests 1543s ok - glib/convert.test 1543s # Running test: glib/credentials.test 1543s TAP version 13 1543s # random seed: R02S700fcaa33d558dc8da15ea18d3721331 1543s 1..1 1543s # Start of credentials tests 1543s # GCredentials:linux-ucred:pid=3469,uid=1000,gid=1000 1543s # GCredentials:linux-ucred:pid=3469,uid=0,gid=1000 1543s ok 1 /credentials/basic 1543s # End of credentials tests 1543s ok - glib/credentials.test 1543s # Running test: glib/gobject-private.test 1543s TAP version 13 1543s # random seed: R02Sa7329f83793e8a617a542d07bb2aa42d 1543s 1..3 1543s # Start of private tests 1543s ok 1 /private/instance 1543s ok 2 /private/derived-instance 1543s ok 3 /private/mixed-derived-instance 1543s # End of private tests 1543s ok - glib/gobject-private.test 1543s # Running test: glib/memory-monitor-dbus.test 1543s TAP version 13 1543s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1543s 1..1 1543s ok - glib/memory-monitor-dbus.test 1543s # Running test: glib/dir.test 1543s TAP version 13 1543s # random seed: R02S29404f59da21cbec71959750bf07e68a 1543s 1..3 1543s # Start of dir tests 1543s ok 1 /dir/read 1543s ok 2 /dir/nonexisting 1543s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1543s ok 3 /dir/refcounting 1543s # End of dir tests 1543s ok - glib/dir.test 1543s # Running test: glib/utf8-validate.test 1543s TAP version 13 1543s # random seed: R02S823e4f041e8fdb1c2b8dc32f928f3d07 1543s 1..216 1543s # Start of utf8 tests 1543s # Vector 0 1543s # Vector 1 1543s # Vector 2 1543s # Vector 3 1543s # Vector 4 1543s # Vector 5 1543s # Vector 6 1543s # Vector 7 1543s # Vector 8 1543s # Vector 9 1543s # Vector 10 1543s # Vector 11 1543s # Vector 12 1543s # Vector 13 1543s # Vector 14 1543s # Vector 15 1543s # Vector 16 1543s # Vector 17 1543s # Vector 18 1543s # Vector 19 1543s # Vector 20 1543s # Vector 21 1543s # Vector 22 1543s # Vector 23 1543s # Vector 24 1543s # Vector 25 1543s # Vector 26 1543s # Vector 27 1543s ok 1 /utf8/get-char-validated 1543s # Start of validate tests 1543s ok 2 /utf8/validate/0 1543s ok 3 /utf8/validate/1 1543s ok 4 /utf8/validate/2 1543s ok 5 /utf8/validate/3 1543s ok 6 /utf8/validate/4 1543s ok 7 /utf8/validate/5 1543s ok 8 /utf8/validate/6 1543s ok 9 /utf8/validate/7 1543s ok 10 /utf8/validate/8 1543s ok 11 /utf8/validate/9 1543s ok 12 /utf8/validate/10 1543s ok 13 /utf8/validate/11 1543s ok 14 /utf8/validate/12 1543s ok 15 /utf8/validate/13 1543s ok 16 /utf8/validate/14 1543s ok 17 /utf8/validate/15 1543s ok 18 /utf8/validate/16 1543s ok 19 /utf8/validate/17 1543s ok 20 /utf8/validate/18 1543s ok 21 /utf8/validate/19 1543s ok 22 /utf8/validate/20 1543s ok 23 /utf8/validate/21 1543s ok 24 /utf8/validate/22 1543s ok 25 /utf8/validate/23 1543s ok 26 /utf8/validate/24 1543s ok 27 /utf8/validate/25 1543s ok 28 /utf8/validate/26 1543s ok 29 /utf8/validate/27 1543s ok 30 /utf8/validate/28 1543s ok 31 /utf8/validate/29 1543s ok 32 /utf8/validate/30 1543s ok 33 /utf8/validate/31 1543s ok 34 /utf8/validate/32 1543s ok 35 /utf8/validate/33 1543s ok 36 /utf8/validate/34 1543s ok 37 /utf8/validate/35 1543s ok 38 /utf8/validate/36 1543s ok 39 /utf8/validate/37 1543s ok 40 /utf8/validate/38 1543s ok 41 /utf8/validate/39 1543s ok 42 /utf8/validate/40 1543s ok 43 /utf8/validate/41 1543s ok 44 /utf8/validate/42 1543s ok 45 /utf8/validate/43 1543s ok 46 /utf8/validate/44 1543s ok 47 /utf8/validate/45 1543s ok 48 /utf8/validate/46 1543s ok 49 /utf8/validate/47 1543s ok 50 /utf8/validate/48 1543s ok 51 /utf8/validate/49 1543s ok 52 /utf8/validate/50 1543s ok 53 /utf8/validate/51 1543s ok 54 /utf8/validate/52 1543s ok 55 /utf8/validate/53 1543s ok 56 /utf8/validate/54 1543s ok 57 /utf8/validate/55 1543s ok 58 /utf8/validate/56 1543s ok 59 /utf8/validate/57 1543s ok 60 /utf8/validate/58 1543s ok 61 /utf8/validate/59 1543s ok 62 /utf8/validate/60 1543s ok 63 /utf8/validate/61 1543s ok 64 /utf8/validate/62 1543s ok 65 /utf8/validate/63 1543s ok 66 /utf8/validate/64 1543s ok 67 /utf8/validate/65 1543s ok 68 /utf8/validate/66 1543s ok 69 /utf8/validate/67 1543s ok 70 /utf8/validate/68 1543s ok 71 /utf8/validate/69 1543s ok 72 /utf8/validate/70 1543s ok 73 /utf8/validate/71 1543s ok 74 /utf8/validate/72 1543s ok 75 /utf8/validate/73 1543s ok 76 /utf8/validate/74 1543s ok 77 /utf8/validate/75 1543s ok 78 /utf8/validate/76 1543s ok 79 /utf8/validate/77 1543s ok 80 /utf8/validate/78 1543s ok 81 /utf8/validate/79 1543s ok 82 /utf8/validate/80 1543s ok 83 /utf8/validate/81 1543s ok 84 /utf8/validate/82 1543s ok 85 /utf8/validate/83 1543s ok 86 /utf8/validate/84 1543s ok 87 /utf8/validate/85 1543s ok 88 /utf8/validate/86 1543s ok 89 /utf8/validate/87 1543s ok 90 /utf8/validate/88 1543s ok 91 /utf8/validate/89 1543s ok 92 /utf8/validate/90 1543s ok 93 /utf8/validate/91 1543s ok 94 /utf8/validate/92 1543s ok 95 /utf8/validate/93 1543s ok 96 /utf8/validate/94 1543s ok 97 /utf8/validate/95 1543s ok 98 /utf8/validate/96 1543s ok 99 /utf8/validate/97 1543s ok 100 /utf8/validate/98 1543s ok 101 /utf8/validate/99 1543s ok 102 /utf8/validate/100 1543s ok 103 /utf8/validate/101 1543s ok 104 /utf8/validate/102 1543s ok 105 /utf8/validate/103 1543s ok 106 /utf8/validate/104 1543s ok 107 /utf8/validate/105 1543s ok 108 /utf8/validate/106 1543s ok 109 /utf8/validate/107 1543s ok 110 /utf8/validate/108 1543s ok 111 /utf8/validate/109 1543s ok 112 /utf8/validate/110 1543s ok 113 /utf8/validate/111 1543s ok 114 /utf8/validate/112 1543s ok 115 /utf8/validate/113 1543s ok 116 /utf8/validate/114 1543s ok 117 /utf8/validate/115 1543s ok 118 /utf8/validate/116 1543s ok 119 /utf8/validate/117 1543s ok 120 /utf8/validate/118 1543s ok 121 /utf8/validate/119 1543s ok 122 /utf8/validate/120 1543s ok 123 /utf8/validate/121 1543s ok 124 /utf8/validate/122 1543s ok 125 /utf8/validate/123 1543s ok 126 /utf8/validate/124 1543s ok 127 /utf8/validate/125 1543s ok 128 /utf8/validate/126 1543s ok 129 /utf8/validate/127 1543s ok 130 /utf8/validate/128 1543s ok 131 /utf8/validate/129 1543s ok 132 /utf8/validate/130 1543s ok 133 /utf8/validate/131 1543s ok 134 /utf8/validate/132 1543s ok 135 /utf8/validate/133 1543s ok 136 /utf8/validate/134 1543s ok 137 /utf8/validate/135 1543s ok 138 /utf8/validate/136 1543s ok 139 /utf8/validate/137 1543s ok 140 /utf8/validate/138 1543s ok 141 /utf8/validate/139 1543s ok 142 /utf8/validate/140 1543s ok 143 /utf8/validate/141 1543s ok 144 /utf8/validate/142 1543s ok 145 /utf8/validate/143 1543s ok 146 /utf8/validate/144 1543s ok 147 /utf8/validate/145 1543s ok 148 /utf8/validate/146 1543s ok 149 /utf8/validate/147 1543s ok 150 /utf8/validate/148 1543s ok 151 /utf8/validate/149 1543s ok 152 /utf8/validate/150 1543s ok 153 /utf8/validate/151 1543s ok 154 /utf8/validate/152 1543s ok 155 /utf8/validate/153 1543s ok 156 /utf8/validate/154 1543s ok 157 /utf8/validate/155 1543s ok 158 /utf8/validate/156 1543s ok 159 /utf8/validate/157 1543s ok 160 /utf8/validate/158 1543s ok 161 /utf8/validate/159 1543s ok 162 /utf8/validate/160 1543s ok 163 /utf8/validate/161 1543s ok 164 /utf8/validate/162 1543s ok 165 /utf8/validate/163 1543s ok 166 /utf8/validate/164 1543s ok 167 /utf8/validate/165 1543s ok 168 /utf8/validate/166 1543s ok 169 /utf8/validate/167 1543s ok 170 /utf8/validate/168 1543s ok 171 /utf8/validate/169 1543s ok 172 /utf8/validate/170 1543s ok 173 /utf8/validate/171 1543s ok 174 /utf8/validate/172 1543s ok 175 /utf8/validate/173 1543s ok 176 /utf8/validate/174 1543s ok 177 /utf8/validate/175 1543s ok 178 /utf8/validate/176 1543s ok 179 /utf8/validate/177 1543s ok 180 /utf8/validate/178 1543s ok 181 /utf8/validate/179 1543s ok 182 /utf8/validate/180 1543s ok 183 /utf8/validate/181 1543s ok 184 /utf8/validate/182 1543s ok 185 /utf8/validate/183 1543s ok 186 /utf8/validate/184 1543s ok 187 /utf8/validate/185 1543s ok 188 /utf8/validate/186 1543s ok 189 /utf8/validate/187 1543s ok 190 /utf8/validate/188 1543s ok 191 /utf8/validate/189 1543s ok 192 /utf8/validate/190 1543s ok 193 /utf8/validate/191 1543s ok 194 /utf8/validate/192 1543s ok 195 /utf8/validate/193 1543s ok 196 /utf8/validate/194 1543s ok 197 /utf8/validate/195 1543s ok 198 /utf8/validate/196 1543s ok 199 /utf8/validate/197 1543s ok 200 /utf8/validate/198 1543s ok 201 /utf8/validate/199 1543s ok 202 /utf8/validate/200 1543s ok 203 /utf8/validate/201 1543s ok 204 /utf8/validate/202 1543s ok 205 /utf8/validate/203 1543s ok 206 /utf8/validate/204 1543s ok 207 /utf8/validate/205 1543s ok 208 /utf8/validate/206 1543s ok 209 /utf8/validate/207 1543s ok 210 /utf8/validate/208 1543s ok 211 /utf8/validate/209 1543s ok 212 /utf8/validate/210 1543s ok 213 /utf8/validate/211 1543s ok 214 /utf8/validate/212 1543s ok 215 /utf8/validate/213 1543s ok 216 /utf8/validate/214 1543s # End of validate tests 1543s # End of utf8 tests 1543s ok - glib/utf8-validate.test 1543s # Running test: glib/repository-search-paths.test 1543s TAP version 13 1543s # random seed: R02S70ec6053a0fc361ed9f81e9e1108ec9e 1543s 1..4 1543s # Start of repository tests 1543s # Start of search-paths tests 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/default/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/default/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/default/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/default/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/default/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/default/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/default/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/default/.dirs/runtime 1543s ok 1 /repository/search-paths/default 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/prepend/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/prepend/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/prepend/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/prepend/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/prepend/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/prepend/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/prepend/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ILUWJ2/repository/search-paths/prepend/.dirs/runtime 1543s ok 2 /repository/search-paths/prepend 1543s # End of search-paths tests 1543s # Start of library-paths tests 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/default/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/default/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/default/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/default/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/default/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/default/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/default/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/default/.dirs/runtime 1543s ok 3 /repository/library-paths/default 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/prepend/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/prepend/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/prepend/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/prepend/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/prepend/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/prepend/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/prepend/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ILUWJ2/repository/library-paths/prepend/.dirs/runtime 1543s ok 4 /repository/library-paths/prepend 1543s # End of library-paths tests 1543s # End of repository tests 1543s ok - glib/repository-search-paths.test 1543s # Running test: glib/gdbus-connection-slow.test 1543s TAP version 13 1543s # random seed: R02S1f51b62fc463fdf75c0d5a70ce7f3131 1543s 1..2 1543s # Start of gdbus tests 1543s # Start of connection tests 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/flush/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/flush/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/flush/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/flush/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/flush/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/flush/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/flush/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/flush/.dirs/runtime 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s ok 1 /gdbus/connection/flush 1544s # slow test /gdbus/connection/flush executed in 0.88 secs 1544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/large_message/.dirs/home 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/large_message/.dirs/cache 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/large_message/.dirs/system-config2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/large_message/.dirs/config 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/large_message/.dirs/system-data2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/large_message/.dirs/data 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/large_message/.dirs/state 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_804VJ2/gdbus/connection/large_message/.dirs/runtime 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # Executing: glib/gdbus-connection-slow.test 1546s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1546s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1546s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1546s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1546s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1546s ok 2 /gdbus/connection/large_message 1546s # slow test /gdbus/connection/large_message executed in 1.51 secs 1546s # End of connection tests 1546s # End of gdbus tests 1546s ok - glib/gdbus-connection-slow.test 1546s # Running test: glib/unicode-normalize.test 1546s TAP version 13 1546s # random seed: R02S9e9fec5582134eb6baed403abd304c48 1546s 1..3 1546s # Start of unicode tests 1546s # Processing Part0 # Specific cases 1546s # Processing Part1 # Character by character test 1546s # Processing Part2 # Canonical Order Test 1546s # Processing Part3 # PRI #29 Test 1546s ok 1 /unicode/normalize 1546s # Invalid UTF-8 vector 0 1546s # Invalid UTF-8 vector 1 1546s # Invalid UTF-8 vector 2 1546s # Invalid UTF-8 vector 3 1546s # Invalid UTF-8 vector 4 1546s # Invalid UTF-8 vector 5 1546s # Invalid UTF-8 vector 6 1546s # Invalid UTF-8 vector 7 1546s # Invalid UTF-8 vector 8 1546s # Invalid UTF-8 vector 9 1546s # Invalid UTF-8 vector 10 1546s # Invalid UTF-8 vector 11 1546s # Invalid UTF-8 vector 12 1546s ok 2 /unicode/normalize-invalid 1546s # Start of normalize tests 1546s ok 3 /unicode/normalize/bad-length 1546s # End of normalize tests 1546s # End of unicode tests 1546s ok - glib/unicode-normalize.test 1546s # Running test: glib/vfs.test 1546s TAP version 13 1546s # random seed: R02Sfe2b235210a2424b80b83a862d9577d0 1546s 1..3 1546s # Start of gvfs tests 1546s ok 1 /gvfs/local 1546s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1546s ok 2 /gvfs/register-scheme 1546s # Start of resource tests 1546s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1546s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1546s ok 3 /gvfs/resource/malformed-escaping 1546s # End of resource tests 1546s # End of gvfs tests 1546s ok - glib/vfs.test 1546s # Running test: glib/slice.test 1546s TAP version 13 1546s # random seed: R02Sba14da05fecb4d269f46aff2fd09e5e8 1546s 1..3 1546s # Start of slice tests 1546s ok 1 /slice/copy 1546s ok 2 /slice/chain 1547s ok 3 /slice/allocate 1547s # slow test /slice/allocate executed in 0.97 secs 1547s # End of slice tests 1547s ok - glib/slice.test 1547s # Running test: glib/cxx-14.test 1547s TAP version 13 1547s # random seed: R02Sed03b1fd06dc8c9833f07955e6e2a29e 1547s 1..2 1547s # Start of gtask tests 1547s # 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. 1547s ok 1 /gtask/name 1547s # Start of name tests 1547s # 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. 1547s ok 2 /gtask/name/macro-wrapper 1547s # End of name tests 1547s # End of gtask tests 1547s ok - glib/cxx-14.test 1547s # Running test: glib/cxx-2b.test 1547s TAP version 13 1547s # random seed: R02Sa39d9150ae14d1c43c7c6171f642fac0 1547s 1..2 1547s # Start of gtask tests 1547s # 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. 1547s ok 1 /gtask/name 1547s # Start of name tests 1547s # 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. 1547s ok 2 /gtask/name/macro-wrapper 1547s # End of name tests 1547s # End of gtask tests 1547s ok - glib/cxx-2b.test 1547s # Running test: glib/gdbus-non-socket.test 1547s TAP version 13 1547s # random seed: R02S042fc77e38af9ed06520221eddd23fe5 1547s 1..1 1547s # Start of gdbus tests 1547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_JO9VJ2/gdbus/non-socket/.dirs/home 1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_JO9VJ2/gdbus/non-socket/.dirs/cache 1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_JO9VJ2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_JO9VJ2/gdbus/non-socket/.dirs/system-config2 1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_JO9VJ2/gdbus/non-socket/.dirs/config 1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_JO9VJ2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_JO9VJ2/gdbus/non-socket/.dirs/system-data2 1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_JO9VJ2/gdbus/non-socket/.dirs/data 1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_JO9VJ2/gdbus/non-socket/.dirs/state 1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_JO9VJ2/gdbus/non-socket/.dirs/runtime 1547s ok 1 /gdbus/non-socket 1547s # End of gdbus tests 1547s ok - glib/gdbus-non-socket.test 1547s # Running test: glib/live-g-file.test 1547s TAP version 13 1547s # random seed: R02S956501e196cea49bdff25928879aafdc 1547s 1..13 1547s # Start of live-g-file tests 1547s # Cleaning target testing structure in 'testdir_live-g-file'... 1547s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1547s ok 1 /live-g-file/prep_clean_structure 1547s # 1547s # Going to create testing structure in 'testdir_live-g-file'... 1547s # Creating directory 'dir1'... 1547s # Creating directory 'dir1/subdir'... 1547s # Creating directory 'dir2'... 1547s # Creating directory 'dir-target'... 1547s # Creating directory 'dir_no-access'... 1547s # Creating directory 'dir_no-write'... 1547s # Creating file 'target-file'... 1547s # Creating file 'normal_file'... 1547s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1547s # Creating file 'executable_file'... 1547s # Creating file 'private_file'... 1547s # Creating file 'normal_file2'... 1547s # Creating file 'readonly_file'... 1547s # Creating file 'UTF_pr?i?lis? z'... 1547s # Creating directory 'dir_pr?i?lis? z'... 1547s # Creating symlink 'lost_symlink' --> 'nowhere'... 1547s # Creating directory 'dir_hidden'... 1547s # Creating file 'dir_hidden/.a-hidden-file'... 1547s # Creating file 'dir_hidden/file-in-.hidden1'... 1547s # Creating file 'dir_hidden/file-in-.hidden2'... 1547s # Creating pattern file... 1548s # done. 1548s ok 2 /live-g-file/create_structure 1548s # Testing sample structure in 'testdir_live-g-file'... 1548s # Testing file 'dir1'... 1548s # Testing file 'dir1/subdir'... 1548s # Testing file 'dir2'... 1548s # Testing file 'dir-target'... 1548s # Testing file 'dir_no-access'... 1548s # Testing file 'dir_no-write'... 1548s # Testing file 'target-file'... 1548s # Testing file 'normal_file'... 1548s # Testing file 'normal_file-symlink'... 1548s # Testing file 'executable_file'... 1548s # Testing file 'private_file'... 1548s # Testing file 'normal_file2'... 1548s # Testing file 'readonly_file'... 1548s # Testing file 'UTF_pr?i?lis? z'... 1548s # Testing file 'dir_pr?i?lis? z'... 1548s # Testing file 'lost_symlink'... 1548s # Testing file 'dir_hidden'... 1548s # Testing file 'dir_hidden/.a-hidden-file'... 1548s # Testing file 'dir_hidden/file-in-.hidden1'... 1548s # Testing file 'dir_hidden/file-in-.hidden2'... 1548s # Testing pattern file... 1548s # read 65536 bytes, total = 65536 of 65536. 1548s ok 3 /live-g-file/test_initial_structure 1548s # Traversing through the sample structure in 'testdir_live-g-file'... 1548s # Found file dir1, relative to root: dir1 1548s # Found file subdir, relative to root: dir1/subdir 1548s # Found file dir2, relative to root: dir2 1548s # Found file dir-target, relative to root: dir-target 1548s # Found file dir_no-access, relative to root: dir_no-access 1548s # Found file dir_no-write, relative to root: dir_no-write 1548s # Found file target-file, relative to root: target-file 1548s # Found file normal_file, relative to root: normal_file 1548s # Found file normal_file-symlink, relative to root: normal_file-symlink 1548s # Found file executable_file, relative to root: executable_file 1548s # Found file private_file, relative to root: private_file 1548s # Found file normal_file2, relative to root: normal_file2 1548s # Found file readonly_file, relative to root: readonly_file 1548s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1548s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1548s # Found file lost_symlink, relative to root: lost_symlink 1548s # Found file dir_hidden, relative to root: dir_hidden 1548s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1548s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1548s # Found file .hidden, relative to root: dir_hidden/.hidden 1548s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1548s # Found file pattern_file, relative to root: pattern_file 1548s ok 4 /live-g-file/test_traverse_structure 1548s # Test enumerate 'testdir_live-g-file'... 1548s # Testing file 'dir_no-access' 1548s # Testing file 'normal_file' 1548s # Testing file 'normal_file-symlink' 1548s # Testing file 'not_exists' 1548s # Testing file 'not_exists' 1548s # Testing file 'not_exists2' 1548s # Testing file 'not_exists3' 1548s # Testing file 'not_exists4' 1548s # Testing file 'dir_no-execute/file' 1548s ok 5 /live-g-file/test_enumerate 1548s # test_open: 'dir1' 1548s # test_open: 'dir_no-access' 1548s # test_open: 'target-file' 1548s # test_open: 'normal_file-symlink' 1548s # test_open: 'executable_file' 1548s # test_open: 'private_file' 1548s # test_open: 'readonly_file' 1548s # test_open: 'UTF_pr?i?lis? z' 1548s # test_open: 'pattern_file' 1548s # test_open: 'not_exists' 1548s # test_open: 'dir_no-execute/file' 1548s # test_open: 'lost_symlink' 1548s ok 6 /live-g-file/test_open 1548s # test_create: 'dir1' 1548s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir1?: Is a directory 1548s # test_create: 'dir1/subdir' 1548s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir1/subdir?: Is a directory 1548s # test_create: 'dir2' 1548s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir2?: File exists 1548s # test_create: 'normal_file' 1548s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/normal_file?: File exists 1548s # test_create: 'executable_file' 1548s # test_create: 'private_file' 1548s # test_create: 'normal_file2' 1548s # test_create: 'UTF_pr?i?lis? z' 1548s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1548s # test_create: 'dir_pr?i?lis? z' 1548s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1548s # test_create: 'pattern_file' 1548s # test_create: 'not_exists2' 1548s # test_create: 'not_exists3' 1548s # test_create: 'not_exists4' 1548s ok 7 /live-g-file/test_create 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1548s # res = 0, error code 25 = Can?t recursively copy directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'dir1/subdir' --> '.' 1548s # res = 0, error code 2 = Target file exists 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'dir1/subdir' --> 'target-file' 1548s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1548s # res = 0, error code 25 = Can?t recursively copy directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1548s # res = 0, error code 25 = Can?t recursively copy directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1548s # res = 0, error code 25 = Can?t recursively copy directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'dir2' --> 'dir-target' 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'dir-target' --> 'dir-target' 1548s # res = 0, error code 25 = Can?t recursively copy directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'dir-target' --> '.' 1548s # res = 0, error code 2 = Target file exists 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'dir-target' --> 'target-file' 1548s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/target-file/dir-target?: Not a directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'dir-target' --> 'not_exists' 1548s # res = 0, error code 25 = Can?t recursively copy directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'dir-target' --> 'dir_no-access' 1548s # res = 0, error code 25 = Can?t recursively copy directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'dir-target' --> 'dir_no-write' 1548s # res = 0, error code 25 = Can?t recursively copy directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'target-file' --> 'dir-target' 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'target-file' --> '.' 1548s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/target-file?: File exists 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'target-file' --> 'target-file' 1548s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/target-file/target-file?: Not a directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'target-file' --> 'not_exists' 1548s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'target-file' --> 'dir_no-access' 1548s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'target-file' --> 'dir_no-write' 1548s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'normal_file-symlink' --> '.' 1548s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/normal_file-symlink: File exists 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1548s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1548s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1548s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1548s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'executable_file' --> 'dir-target' 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'executable_file' --> 'dir-target' 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'executable_file' --> '.' 1548s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/executable_file?: File exists 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'executable_file' --> 'target-file' 1548s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/target-file/executable_file?: Not a directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'executable_file' --> 'not_exists' 1548s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'executable_file' --> 'dir_no-access' 1548s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'executable_file' --> 'dir_no-write' 1548s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'private_file' --> 'dir-target' 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'private_file' --> 'dir-target' 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'private_file' --> '.' 1548s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/private_file?: File exists 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'private_file' --> 'target-file' 1548s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/target-file/private_file?: Not a directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'private_file' --> 'not_exists' 1548s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'private_file' --> 'dir_no-access' 1548s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'private_file' --> 'dir_no-write' 1548s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'normal_file2' --> 'dir-target' 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'normal_file2' --> 'dir-target' 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'normal_file2' --> '.' 1548s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/normal_file2?: File exists 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'normal_file2' --> 'target-file' 1548s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'normal_file2' --> 'not_exists' 1548s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1548s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1548s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1548s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1548s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1548s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1548s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1548s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'pattern_file' --> 'dir-target' 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'pattern_file' --> '.' 1548s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/pattern_file?: File exists 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'pattern_file' --> 'target-file' 1548s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'pattern_file' --> 'not_exists' 1548s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1548s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1548s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'not_exists' --> 'dir-target' 1548s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists?: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'not_exists' --> '.' 1548s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists?: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'not_exists' --> 'target-file' 1548s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists?: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'not_exists' --> 'not_exists' 1548s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists?: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'not_exists' --> 'dir_no-access' 1548s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists?: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'not_exists' --> 'dir_no-write' 1548s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists?: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'not_exists' --> 'dir-target' 1548s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'lost_symlink' --> 'dir-target' 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'lost_symlink' --> '.' 1548s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/lost_symlink: File exists 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'lost_symlink' --> 'target-file' 1548s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'lost_symlink' --> 'not_exists' 1548s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1548s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1548s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1548s ok 8 /live-g-file/test_copy_move 1548s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir1 1548s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir1: Directory not empty 1548s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir2 1548s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir2: No such file or directory 1548s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/executable_file 1548s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/readonly_file 1548s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_pr?i?lis? z 1548s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists 1548s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists: No such file or directory 1548s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists 1548s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/not_exists: No such file or directory 1548s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-execute/file 1548s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1548s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-DE9XJ2/testdir_live-g-file/lost_symlink 1548s ok 9 /live-g-file/test_delete 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s ok 10 /live-g-file/test_make_directory_with_parents 1548s # Cleaning target testing structure in 'testdir_live-g-file'... 1548s # deleting 'dir1' 1548s # deleting 'subdir' 1548s # deleting 'dir-target' 1548s # deleting 'dir2' 1548s # deleting 'target-file' 1548s # deleting 'normal_file-symlink' 1548s # deleting 'pattern_file' 1548s # deleting 'executable_file' 1548s # deleting 'private_file' 1548s # deleting 'normal_file2' 1548s # deleting 'UTF_pr?i?lis? z' 1548s # deleting 'lost_symlink' 1548s # deleting 'dir_no-access' 1548s # deleting 'dir_no-write' 1548s # deleting 'target-file' 1548s # deleting 'normal_file' 1548s # deleting 'normal_file-symlink' 1548s # deleting 'executable_file~' 1548s # deleting 'private_file' 1548s # deleting 'normal_file2~' 1548s # deleting 'a' 1548s # deleting 'UTF_pr?i?lis? z' 1548s # deleting 'dir_hidden' 1548s # deleting '.a-hidden-file' 1548s # deleting 'file-in-.hidden1' 1548s # deleting '.hidden' 1548s # deleting 'file-in-.hidden2' 1548s # deleting 'pattern_file' 1548s # deleting 'normal_file2' 1548s # deleting 'not_exists2' 1548s # deleting 'not_exists3' 1548s # deleting 'not_exists4' 1548s ok 11 /live-g-file/final_clean 1548s # Start of test_unix_is_mountpoint tests 1548s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1548s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1548s # End of test_unix_is_mountpoint tests 1548s # End of live-g-file tests 1548s ok - glib/live-g-file.test 1548s # Running test: glib/module-test-library.test 1548s TAP version 13 1548s # random seed: R02S915ec0a4c8f13505a02d8a02d7609386 1548s 1..2 1548s # Start of module tests 1548s ok 1 /module/basics 1548s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1548s ok 2 /module/invalid-libtool-archive 1548s # End of module tests 1548s ok - glib/module-test-library.test 1548s # Running test: glib/gdbus-proxy-threads.test 1548s TAP version 13 1548s # random seed: R02S2c90e6cb7f188cc1fe63f0b1598f2d97 1548s 1..1 1548s # Start of gdbus tests 1548s # Start of proxy tests 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_YY99J2/gdbus/proxy/vs-threads/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_YY99J2/gdbus/proxy/vs-threads/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_YY99J2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_YY99J2/gdbus/proxy/vs-threads/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_YY99J2/gdbus/proxy/vs-threads/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_YY99J2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_YY99J2/gdbus/proxy/vs-threads/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_YY99J2/gdbus/proxy/vs-threads/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_YY99J2/gdbus/proxy/vs-threads/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_YY99J2/gdbus/proxy/vs-threads/.dirs/runtime 1548s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # Executing: glib/gdbus-proxy-threads.test 1555s # Executing: glib/gdbus-proxy-threads.test 1555s ok 1 /gdbus/proxy/vs-threads 1555s # slow test /gdbus/proxy/vs-threads executed in 7.46 secs 1555s # End of proxy tests 1555s # End of gdbus tests 1555s cleaning up pid 3807 1555s ok - glib/gdbus-proxy-threads.test 1555s # Running test: glib/checksum.test 1555s TAP version 13 1555s # random seed: R02Sfe8341c6e9ae5434d066f987fd66808b 1555s 1..1851 1555s # Start of checksum tests 1555s ok 1 /checksum/unsupported 1555s # Start of MD5 tests 1555s ok 2 /checksum/MD5/0 1555s ok 3 /checksum/MD5/1 1555s ok 4 /checksum/MD5/2 1555s ok 5 /checksum/MD5/3 1555s ok 6 /checksum/MD5/4 1555s ok 7 /checksum/MD5/5 1555s ok 8 /checksum/MD5/6 1555s ok 9 /checksum/MD5/7 1555s ok 10 /checksum/MD5/8 1555s ok 11 /checksum/MD5/9 1555s ok 12 /checksum/MD5/10 1555s ok 13 /checksum/MD5/11 1555s ok 14 /checksum/MD5/12 1555s ok 15 /checksum/MD5/13 1555s ok 16 /checksum/MD5/14 1555s ok 17 /checksum/MD5/15 1555s ok 18 /checksum/MD5/16 1555s ok 19 /checksum/MD5/17 1555s ok 20 /checksum/MD5/18 1555s ok 21 /checksum/MD5/19 1555s ok 22 /checksum/MD5/20 1555s ok 23 /checksum/MD5/21 1555s ok 24 /checksum/MD5/22 1555s ok 25 /checksum/MD5/23 1555s ok 26 /checksum/MD5/24 1555s ok 27 /checksum/MD5/25 1555s ok 28 /checksum/MD5/26 1555s ok 29 /checksum/MD5/27 1555s ok 30 /checksum/MD5/28 1555s ok 31 /checksum/MD5/29 1555s ok 32 /checksum/MD5/30 1556s ok 33 /checksum/MD5/31 1556s ok 34 /checksum/MD5/32 1556s ok 35 /checksum/MD5/33 1556s ok 36 /checksum/MD5/34 1556s ok 37 /checksum/MD5/35 1556s ok 38 /checksum/MD5/36 1556s ok 39 /checksum/MD5/37 1556s ok 40 /checksum/MD5/38 1556s ok 41 /checksum/MD5/39 1556s ok 42 /checksum/MD5/40 1556s ok 43 /checksum/MD5/41 1556s ok 44 /checksum/MD5/42 1556s ok 45 /checksum/MD5/43 1556s ok 46 /checksum/MD5/44 1556s ok 47 /checksum/MD5/45 1556s ok 48 /checksum/MD5/46 1556s ok 49 /checksum/MD5/47 1556s ok 50 /checksum/MD5/48 1556s ok 51 /checksum/MD5/49 1556s ok 52 /checksum/MD5/50 1556s ok 53 /checksum/MD5/51 1556s ok 54 /checksum/MD5/52 1556s ok 55 /checksum/MD5/53 1556s ok 56 /checksum/MD5/54 1556s ok 57 /checksum/MD5/55 1556s ok 58 /checksum/MD5/56 1556s ok 59 /checksum/MD5/57 1556s ok 60 /checksum/MD5/58 1556s ok 61 /checksum/MD5/59 1556s ok 62 /checksum/MD5/60 1556s ok 63 /checksum/MD5/61 1556s ok 64 /checksum/MD5/62 1556s ok 65 /checksum/MD5/63 1556s ok 66 /checksum/MD5/64 1556s ok 67 /checksum/MD5/65 1556s ok 68 /checksum/MD5/66 1556s ok 69 /checksum/MD5/67 1556s ok 70 /checksum/MD5/68 1556s ok 71 /checksum/MD5/69 1556s ok 72 /checksum/MD5/70 1556s ok 73 /checksum/MD5/71 1556s ok 74 /checksum/MD5/72 1556s ok 75 /checksum/MD5/73 1556s ok 76 /checksum/MD5/74 1556s ok 77 /checksum/MD5/75 1556s ok 78 /checksum/MD5/76 1556s ok 79 /checksum/MD5/77 1556s ok 80 /checksum/MD5/78 1556s ok 81 /checksum/MD5/79 1556s ok 82 /checksum/MD5/80 1556s ok 83 /checksum/MD5/81 1556s ok 84 /checksum/MD5/82 1556s ok 85 /checksum/MD5/83 1556s ok 86 /checksum/MD5/84 1556s ok 87 /checksum/MD5/85 1556s ok 88 /checksum/MD5/86 1556s ok 89 /checksum/MD5/87 1556s ok 90 /checksum/MD5/88 1556s ok 91 /checksum/MD5/89 1556s ok 92 /checksum/MD5/90 1556s ok 93 /checksum/MD5/91 1556s ok 94 /checksum/MD5/92 1556s ok 95 /checksum/MD5/93 1556s ok 96 /checksum/MD5/94 1556s ok 97 /checksum/MD5/95 1556s ok 98 /checksum/MD5/96 1556s ok 99 /checksum/MD5/97 1556s ok 100 /checksum/MD5/98 1556s ok 101 /checksum/MD5/99 1556s ok 102 /checksum/MD5/100 1556s ok 103 /checksum/MD5/101 1556s ok 104 /checksum/MD5/102 1556s ok 105 /checksum/MD5/103 1556s ok 106 /checksum/MD5/104 1556s ok 107 /checksum/MD5/105 1556s ok 108 /checksum/MD5/106 1556s ok 109 /checksum/MD5/107 1556s ok 110 /checksum/MD5/108 1556s ok 111 /checksum/MD5/109 1556s ok 112 /checksum/MD5/110 1556s ok 113 /checksum/MD5/111 1556s ok 114 /checksum/MD5/112 1556s ok 115 /checksum/MD5/113 1556s ok 116 /checksum/MD5/114 1556s ok 117 /checksum/MD5/115 1556s ok 118 /checksum/MD5/116 1556s ok 119 /checksum/MD5/117 1556s ok 120 /checksum/MD5/118 1556s ok 121 /checksum/MD5/119 1556s ok 122 /checksum/MD5/120 1556s ok 123 /checksum/MD5/121 1556s ok 124 /checksum/MD5/122 1556s ok 125 /checksum/MD5/123 1556s ok 126 /checksum/MD5/124 1556s ok 127 /checksum/MD5/125 1556s ok 128 /checksum/MD5/126 1556s ok 129 /checksum/MD5/127 1556s ok 130 /checksum/MD5/128 1556s ok 131 /checksum/MD5/129 1556s ok 132 /checksum/MD5/130 1556s ok 133 /checksum/MD5/131 1556s ok 134 /checksum/MD5/132 1556s ok 135 /checksum/MD5/133 1556s ok 136 /checksum/MD5/134 1556s ok 137 /checksum/MD5/135 1556s ok 138 /checksum/MD5/136 1556s ok 139 /checksum/MD5/137 1556s ok 140 /checksum/MD5/138 1556s ok 141 /checksum/MD5/139 1556s ok 142 /checksum/MD5/140 1556s ok 143 /checksum/MD5/141 1556s ok 144 /checksum/MD5/142 1556s ok 145 /checksum/MD5/143 1556s ok 146 /checksum/MD5/144 1556s ok 147 /checksum/MD5/145 1556s ok 148 /checksum/MD5/146 1556s ok 149 /checksum/MD5/147 1556s ok 150 /checksum/MD5/148 1556s ok 151 /checksum/MD5/149 1556s ok 152 /checksum/MD5/150 1556s ok 153 /checksum/MD5/151 1556s ok 154 /checksum/MD5/152 1556s ok 155 /checksum/MD5/153 1556s ok 156 /checksum/MD5/154 1556s ok 157 /checksum/MD5/155 1556s ok 158 /checksum/MD5/156 1556s ok 159 /checksum/MD5/157 1556s ok 160 /checksum/MD5/158 1556s ok 161 /checksum/MD5/159 1556s ok 162 /checksum/MD5/160 1556s ok 163 /checksum/MD5/161 1556s ok 164 /checksum/MD5/162 1556s ok 165 /checksum/MD5/163 1556s ok 166 /checksum/MD5/164 1556s ok 167 /checksum/MD5/165 1556s ok 168 /checksum/MD5/166 1556s ok 169 /checksum/MD5/167 1556s ok 170 /checksum/MD5/168 1556s ok 171 /checksum/MD5/169 1556s ok 172 /checksum/MD5/170 1556s ok 173 /checksum/MD5/171 1556s ok 174 /checksum/MD5/172 1556s ok 175 /checksum/MD5/173 1556s ok 176 /checksum/MD5/174 1556s ok 177 /checksum/MD5/175 1556s ok 178 /checksum/MD5/176 1556s ok 179 /checksum/MD5/177 1556s ok 180 /checksum/MD5/178 1556s ok 181 /checksum/MD5/179 1556s ok 182 /checksum/MD5/180 1556s ok 183 /checksum/MD5/181 1556s ok 184 /checksum/MD5/182 1556s ok 185 /checksum/MD5/183 1556s ok 186 /checksum/MD5/string 1556s ok 187 /checksum/MD5/bytes 1556s # Start of reset tests 1556s ok 188 /checksum/MD5/reset/0 1556s ok 189 /checksum/MD5/reset/1 1556s ok 190 /checksum/MD5/reset/2 1556s ok 191 /checksum/MD5/reset/3 1556s ok 192 /checksum/MD5/reset/4 1556s ok 193 /checksum/MD5/reset/5 1556s ok 194 /checksum/MD5/reset/6 1556s ok 195 /checksum/MD5/reset/7 1556s ok 196 /checksum/MD5/reset/8 1556s ok 197 /checksum/MD5/reset/9 1556s ok 198 /checksum/MD5/reset/10 1556s ok 199 /checksum/MD5/reset/11 1556s ok 200 /checksum/MD5/reset/12 1556s ok 201 /checksum/MD5/reset/13 1556s ok 202 /checksum/MD5/reset/14 1556s ok 203 /checksum/MD5/reset/15 1556s ok 204 /checksum/MD5/reset/16 1556s ok 205 /checksum/MD5/reset/17 1556s ok 206 /checksum/MD5/reset/18 1556s ok 207 /checksum/MD5/reset/19 1556s ok 208 /checksum/MD5/reset/20 1556s ok 209 /checksum/MD5/reset/21 1556s ok 210 /checksum/MD5/reset/22 1556s ok 211 /checksum/MD5/reset/23 1556s ok 212 /checksum/MD5/reset/24 1556s ok 213 /checksum/MD5/reset/25 1556s ok 214 /checksum/MD5/reset/26 1556s ok 215 /checksum/MD5/reset/27 1556s ok 216 /checksum/MD5/reset/28 1556s ok 217 /checksum/MD5/reset/29 1556s ok 218 /checksum/MD5/reset/30 1556s ok 219 /checksum/MD5/reset/31 1556s ok 220 /checksum/MD5/reset/32 1556s ok 221 /checksum/MD5/reset/33 1556s ok 222 /checksum/MD5/reset/34 1556s ok 223 /checksum/MD5/reset/35 1556s ok 224 /checksum/MD5/reset/36 1556s ok 225 /checksum/MD5/reset/37 1556s ok 226 /checksum/MD5/reset/38 1556s ok 227 /checksum/MD5/reset/39 1556s ok 228 /checksum/MD5/reset/40 1556s ok 229 /checksum/MD5/reset/41 1556s ok 230 /checksum/MD5/reset/42 1556s ok 231 /checksum/MD5/reset/43 1556s ok 232 /checksum/MD5/reset/44 1556s ok 233 /checksum/MD5/reset/45 1556s ok 234 /checksum/MD5/reset/46 1556s ok 235 /checksum/MD5/reset/47 1556s ok 236 /checksum/MD5/reset/48 1556s ok 237 /checksum/MD5/reset/49 1556s ok 238 /checksum/MD5/reset/50 1556s ok 239 /checksum/MD5/reset/51 1556s ok 240 /checksum/MD5/reset/52 1556s ok 241 /checksum/MD5/reset/53 1556s ok 242 /checksum/MD5/reset/54 1556s ok 243 /checksum/MD5/reset/55 1556s ok 244 /checksum/MD5/reset/56 1556s ok 245 /checksum/MD5/reset/57 1556s ok 246 /checksum/MD5/reset/58 1556s ok 247 /checksum/MD5/reset/59 1556s ok 248 /checksum/MD5/reset/60 1556s ok 249 /checksum/MD5/reset/61 1556s ok 250 /checksum/MD5/reset/62 1556s ok 251 /checksum/MD5/reset/63 1556s ok 252 /checksum/MD5/reset/64 1556s ok 253 /checksum/MD5/reset/65 1556s ok 254 /checksum/MD5/reset/66 1556s ok 255 /checksum/MD5/reset/67 1556s ok 256 /checksum/MD5/reset/68 1556s ok 257 /checksum/MD5/reset/69 1556s ok 258 /checksum/MD5/reset/70 1556s ok 259 /checksum/MD5/reset/71 1556s ok 260 /checksum/MD5/reset/72 1556s ok 261 /checksum/MD5/reset/73 1556s ok 262 /checksum/MD5/reset/74 1556s ok 263 /checksum/MD5/reset/75 1556s ok 264 /checksum/MD5/reset/76 1556s ok 265 /checksum/MD5/reset/77 1556s ok 266 /checksum/MD5/reset/78 1556s ok 267 /checksum/MD5/reset/79 1556s ok 268 /checksum/MD5/reset/80 1556s ok 269 /checksum/MD5/reset/81 1556s ok 270 /checksum/MD5/reset/82 1556s ok 271 /checksum/MD5/reset/83 1556s ok 272 /checksum/MD5/reset/84 1556s ok 273 /checksum/MD5/reset/85 1556s ok 274 /checksum/MD5/reset/86 1556s ok 275 /checksum/MD5/reset/87 1556s ok 276 /checksum/MD5/reset/88 1556s ok 277 /checksum/MD5/reset/89 1556s ok 278 /checksum/MD5/reset/90 1556s ok 279 /checksum/MD5/reset/91 1556s ok 280 /checksum/MD5/reset/92 1556s ok 281 /checksum/MD5/reset/93 1556s ok 282 /checksum/MD5/reset/94 1556s ok 283 /checksum/MD5/reset/95 1556s ok 284 /checksum/MD5/reset/96 1556s ok 285 /checksum/MD5/reset/97 1556s ok 286 /checksum/MD5/reset/98 1556s ok 287 /checksum/MD5/reset/99 1556s ok 288 /checksum/MD5/reset/100 1556s ok 289 /checksum/MD5/reset/101 1556s ok 290 /checksum/MD5/reset/102 1556s ok 291 /checksum/MD5/reset/103 1556s ok 292 /checksum/MD5/reset/104 1556s ok 293 /checksum/MD5/reset/105 1556s ok 294 /checksum/MD5/reset/106 1556s ok 295 /checksum/MD5/reset/107 1556s ok 296 /checksum/MD5/reset/108 1556s ok 297 /checksum/MD5/reset/109 1556s ok 298 /checksum/MD5/reset/110 1556s ok 299 /checksum/MD5/reset/111 1556s ok 300 /checksum/MD5/reset/112 1556s ok 301 /checksum/MD5/reset/113 1556s ok 302 /checksum/MD5/reset/114 1556s ok 303 /checksum/MD5/reset/115 1556s ok 304 /checksum/MD5/reset/116 1556s ok 305 /checksum/MD5/reset/117 1556s ok 306 /checksum/MD5/reset/118 1556s ok 307 /checksum/MD5/reset/119 1556s ok 308 /checksum/MD5/reset/120 1556s ok 309 /checksum/MD5/reset/121 1556s ok 310 /checksum/MD5/reset/122 1556s ok 311 /checksum/MD5/reset/123 1556s ok 312 /checksum/MD5/reset/124 1556s ok 313 /checksum/MD5/reset/125 1556s ok 314 /checksum/MD5/reset/126 1556s ok 315 /checksum/MD5/reset/127 1556s ok 316 /checksum/MD5/reset/128 1556s ok 317 /checksum/MD5/reset/129 1556s ok 318 /checksum/MD5/reset/130 1556s ok 319 /checksum/MD5/reset/131 1556s ok 320 /checksum/MD5/reset/132 1556s ok 321 /checksum/MD5/reset/133 1556s ok 322 /checksum/MD5/reset/134 1556s ok 323 /checksum/MD5/reset/135 1556s ok 324 /checksum/MD5/reset/136 1556s ok 325 /checksum/MD5/reset/137 1556s ok 326 /checksum/MD5/reset/138 1556s ok 327 /checksum/MD5/reset/139 1556s ok 328 /checksum/MD5/reset/140 1556s ok 329 /checksum/MD5/reset/141 1556s ok 330 /checksum/MD5/reset/142 1556s ok 331 /checksum/MD5/reset/143 1556s ok 332 /checksum/MD5/reset/144 1556s ok 333 /checksum/MD5/reset/145 1556s ok 334 /checksum/MD5/reset/146 1556s ok 335 /checksum/MD5/reset/147 1556s ok 336 /checksum/MD5/reset/148 1556s ok 337 /checksum/MD5/reset/149 1556s ok 338 /checksum/MD5/reset/150 1556s ok 339 /checksum/MD5/reset/151 1556s ok 340 /checksum/MD5/reset/152 1556s ok 341 /checksum/MD5/reset/153 1556s ok 342 /checksum/MD5/reset/154 1556s ok 343 /checksum/MD5/reset/155 1556s ok 344 /checksum/MD5/reset/156 1556s ok 345 /checksum/MD5/reset/157 1556s ok 346 /checksum/MD5/reset/158 1556s ok 347 /checksum/MD5/reset/159 1556s ok 348 /checksum/MD5/reset/160 1556s ok 349 /checksum/MD5/reset/161 1556s ok 350 /checksum/MD5/reset/162 1556s ok 351 /checksum/MD5/reset/163 1556s ok 352 /checksum/MD5/reset/164 1556s ok 353 /checksum/MD5/reset/165 1556s ok 354 /checksum/MD5/reset/166 1556s ok 355 /checksum/MD5/reset/167 1556s ok 356 /checksum/MD5/reset/168 1556s ok 357 /checksum/MD5/reset/169 1556s ok 358 /checksum/MD5/reset/170 1556s ok 359 /checksum/MD5/reset/171 1556s ok 360 /checksum/MD5/reset/172 1556s ok 361 /checksum/MD5/reset/173 1556s ok 362 /checksum/MD5/reset/174 1556s ok 363 /checksum/MD5/reset/175 1556s ok 364 /checksum/MD5/reset/176 1556s ok 365 /checksum/MD5/reset/177 1556s ok 366 /checksum/MD5/reset/178 1556s ok 367 /checksum/MD5/reset/179 1556s ok 368 /checksum/MD5/reset/180 1556s ok 369 /checksum/MD5/reset/181 1556s ok 370 /checksum/MD5/reset/182 1556s ok 371 /checksum/MD5/reset/183 1556s # End of reset tests 1556s # End of MD5 tests 1556s # Start of SHA1 tests 1556s ok 372 /checksum/SHA1/0 1556s ok 373 /checksum/SHA1/1 1556s ok 374 /checksum/SHA1/2 1556s ok 375 /checksum/SHA1/3 1556s ok 376 /checksum/SHA1/4 1556s ok 377 /checksum/SHA1/5 1556s ok 378 /checksum/SHA1/6 1556s ok 379 /checksum/SHA1/7 1556s ok 380 /checksum/SHA1/8 1556s ok 381 /checksum/SHA1/9 1556s ok 382 /checksum/SHA1/10 1556s ok 383 /checksum/SHA1/11 1556s ok 384 /checksum/SHA1/12 1556s ok 385 /checksum/SHA1/13 1556s ok 386 /checksum/SHA1/14 1556s ok 387 /checksum/SHA1/15 1556s ok 388 /checksum/SHA1/16 1556s ok 389 /checksum/SHA1/17 1556s ok 390 /checksum/SHA1/18 1556s ok 391 /checksum/SHA1/19 1556s ok 392 /checksum/SHA1/20 1556s ok 393 /checksum/SHA1/21 1556s ok 394 /checksum/SHA1/22 1556s ok 395 /checksum/SHA1/23 1556s ok 396 /checksum/SHA1/24 1556s ok 397 /checksum/SHA1/25 1556s ok 398 /checksum/SHA1/26 1556s ok 399 /checksum/SHA1/27 1556s ok 400 /checksum/SHA1/28 1556s ok 401 /checksum/SHA1/29 1556s ok 402 /checksum/SHA1/30 1556s ok 403 /checksum/SHA1/31 1556s ok 404 /checksum/SHA1/32 1556s ok 405 /checksum/SHA1/33 1556s ok 406 /checksum/SHA1/34 1556s ok 407 /checksum/SHA1/35 1556s ok 408 /checksum/SHA1/36 1556s ok 409 /checksum/SHA1/37 1556s ok 410 /checksum/SHA1/38 1556s ok 411 /checksum/SHA1/39 1556s ok 412 /checksum/SHA1/40 1556s ok 413 /checksum/SHA1/41 1556s ok 414 /checksum/SHA1/42 1556s ok 415 /checksum/SHA1/43 1556s ok 416 /checksum/SHA1/44 1556s ok 417 /checksum/SHA1/45 1556s ok 418 /checksum/SHA1/46 1556s ok 419 /checksum/SHA1/47 1556s ok 420 /checksum/SHA1/48 1556s ok 421 /checksum/SHA1/49 1556s ok 422 /checksum/SHA1/50 1556s ok 423 /checksum/SHA1/51 1556s ok 424 /checksum/SHA1/52 1556s ok 425 /checksum/SHA1/53 1556s ok 426 /checksum/SHA1/54 1556s ok 427 /checksum/SHA1/55 1556s ok 428 /checksum/SHA1/56 1556s ok 429 /checksum/SHA1/57 1556s ok 430 /checksum/SHA1/58 1556s ok 431 /checksum/SHA1/59 1556s ok 432 /checksum/SHA1/60 1556s ok 433 /checksum/SHA1/61 1556s ok 434 /checksum/SHA1/62 1556s ok 435 /checksum/SHA1/63 1556s ok 436 /checksum/SHA1/64 1556s ok 437 /checksum/SHA1/65 1556s ok 438 /checksum/SHA1/66 1556s ok 439 /checksum/SHA1/67 1556s ok 440 /checksum/SHA1/68 1556s ok 441 /checksum/SHA1/69 1556s ok 442 /checksum/SHA1/70 1556s ok 443 /checksum/SHA1/71 1556s ok 444 /checksum/SHA1/72 1556s ok 445 /checksum/SHA1/73 1556s ok 446 /checksum/SHA1/74 1556s ok 447 /checksum/SHA1/75 1556s ok 448 /checksum/SHA1/76 1556s ok 449 /checksum/SHA1/77 1556s ok 450 /checksum/SHA1/78 1556s ok 451 /checksum/SHA1/79 1556s ok 452 /checksum/SHA1/80 1556s ok 453 /checksum/SHA1/81 1556s ok 454 /checksum/SHA1/82 1556s ok 455 /checksum/SHA1/83 1556s ok 456 /checksum/SHA1/84 1556s ok 457 /checksum/SHA1/85 1556s ok 458 /checksum/SHA1/86 1556s ok 459 /checksum/SHA1/87 1556s ok 460 /checksum/SHA1/88 1556s ok 461 /checksum/SHA1/89 1556s ok 462 /checksum/SHA1/90 1556s ok 463 /checksum/SHA1/91 1556s ok 464 /checksum/SHA1/92 1556s ok 465 /checksum/SHA1/93 1556s ok 466 /checksum/SHA1/94 1556s ok 467 /checksum/SHA1/95 1556s ok 468 /checksum/SHA1/96 1556s ok 469 /checksum/SHA1/97 1556s ok 470 /checksum/SHA1/98 1556s ok 471 /checksum/SHA1/99 1556s ok 472 /checksum/SHA1/100 1556s ok 473 /checksum/SHA1/101 1556s ok 474 /checksum/SHA1/102 1556s ok 475 /checksum/SHA1/103 1556s ok 476 /checksum/SHA1/104 1556s ok 477 /checksum/SHA1/105 1556s ok 478 /checksum/SHA1/106 1556s ok 479 /checksum/SHA1/107 1556s ok 480 /checksum/SHA1/108 1556s ok 481 /checksum/SHA1/109 1556s ok 482 /checksum/SHA1/110 1556s ok 483 /checksum/SHA1/111 1556s ok 484 /checksum/SHA1/112 1556s ok 485 /checksum/SHA1/113 1556s ok 486 /checksum/SHA1/114 1556s ok 487 /checksum/SHA1/115 1556s ok 488 /checksum/SHA1/116 1556s ok 489 /checksum/SHA1/117 1556s ok 490 /checksum/SHA1/118 1556s ok 491 /checksum/SHA1/119 1556s ok 492 /checksum/SHA1/120 1556s ok 493 /checksum/SHA1/121 1556s ok 494 /checksum/SHA1/122 1556s ok 495 /checksum/SHA1/123 1556s ok 496 /checksum/SHA1/124 1556s ok 497 /checksum/SHA1/125 1556s ok 498 /checksum/SHA1/126 1556s ok 499 /checksum/SHA1/127 1556s ok 500 /checksum/SHA1/128 1556s ok 501 /checksum/SHA1/129 1556s ok 502 /checksum/SHA1/130 1556s ok 503 /checksum/SHA1/131 1556s ok 504 /checksum/SHA1/132 1556s ok 505 /checksum/SHA1/133 1556s ok 506 /checksum/SHA1/134 1556s ok 507 /checksum/SHA1/135 1556s ok 508 /checksum/SHA1/136 1556s ok 509 /checksum/SHA1/137 1556s ok 510 /checksum/SHA1/138 1556s ok 511 /checksum/SHA1/139 1556s ok 512 /checksum/SHA1/140 1556s ok 513 /checksum/SHA1/141 1556s ok 514 /checksum/SHA1/142 1556s ok 515 /checksum/SHA1/143 1556s ok 516 /checksum/SHA1/144 1556s ok 517 /checksum/SHA1/145 1556s ok 518 /checksum/SHA1/146 1556s ok 519 /checksum/SHA1/147 1556s ok 520 /checksum/SHA1/148 1556s ok 521 /checksum/SHA1/149 1556s ok 522 /checksum/SHA1/150 1556s ok 523 /checksum/SHA1/151 1556s ok 524 /checksum/SHA1/152 1556s ok 525 /checksum/SHA1/153 1556s ok 526 /checksum/SHA1/154 1556s ok 527 /checksum/SHA1/155 1556s ok 528 /checksum/SHA1/156 1556s ok 529 /checksum/SHA1/157 1556s ok 530 /checksum/SHA1/158 1556s ok 531 /checksum/SHA1/159 1556s ok 532 /checksum/SHA1/160 1556s ok 533 /checksum/SHA1/161 1556s ok 534 /checksum/SHA1/162 1556s ok 535 /checksum/SHA1/163 1556s ok 536 /checksum/SHA1/164 1556s ok 537 /checksum/SHA1/165 1556s ok 538 /checksum/SHA1/166 1556s ok 539 /checksum/SHA1/167 1556s ok 540 /checksum/SHA1/168 1556s ok 541 /checksum/SHA1/169 1556s ok 542 /checksum/SHA1/170 1556s ok 543 /checksum/SHA1/171 1556s ok 544 /checksum/SHA1/172 1556s ok 545 /checksum/SHA1/173 1556s ok 546 /checksum/SHA1/174 1556s ok 547 /checksum/SHA1/175 1556s ok 548 /checksum/SHA1/176 1556s ok 549 /checksum/SHA1/177 1556s ok 550 /checksum/SHA1/178 1556s ok 551 /checksum/SHA1/179 1556s ok 552 /checksum/SHA1/180 1556s ok 553 /checksum/SHA1/181 1556s ok 554 /checksum/SHA1/182 1556s ok 555 /checksum/SHA1/183 1556s ok 556 /checksum/SHA1/string 1556s ok 557 /checksum/SHA1/bytes 1556s # Start of reset tests 1556s ok 558 /checksum/SHA1/reset/0 1556s ok 559 /checksum/SHA1/reset/1 1556s ok 560 /checksum/SHA1/reset/2 1556s ok 561 /checksum/SHA1/reset/3 1556s ok 562 /checksum/SHA1/reset/4 1556s ok 563 /checksum/SHA1/reset/5 1556s ok 564 /checksum/SHA1/reset/6 1556s ok 565 /checksum/SHA1/reset/7 1556s ok 566 /checksum/SHA1/reset/8 1556s ok 567 /checksum/SHA1/reset/9 1556s ok 568 /checksum/SHA1/reset/10 1556s ok 569 /checksum/SHA1/reset/11 1556s ok 570 /checksum/SHA1/reset/12 1556s ok 571 /checksum/SHA1/reset/13 1556s ok 572 /checksum/SHA1/reset/14 1556s ok 573 /checksum/SHA1/reset/15 1556s ok 574 /checksum/SHA1/reset/16 1556s ok 575 /checksum/SHA1/reset/17 1556s ok 576 /checksum/SHA1/reset/18 1556s ok 577 /checksum/SHA1/reset/19 1556s ok 578 /checksum/SHA1/reset/20 1556s ok 579 /checksum/SHA1/reset/21 1556s ok 580 /checksum/SHA1/reset/22 1556s ok 581 /checksum/SHA1/reset/23 1556s ok 582 /checksum/SHA1/reset/24 1556s ok 583 /checksum/SHA1/reset/25 1556s ok 584 /checksum/SHA1/reset/26 1556s ok 585 /checksum/SHA1/reset/27 1556s ok 586 /checksum/SHA1/reset/28 1556s ok 587 /checksum/SHA1/reset/29 1556s ok 588 /checksum/SHA1/reset/30 1556s ok 589 /checksum/SHA1/reset/31 1556s ok 590 /checksum/SHA1/reset/32 1556s ok 591 /checksum/SHA1/reset/33 1556s ok 592 /checksum/SHA1/reset/34 1556s ok 593 /checksum/SHA1/reset/35 1556s ok 594 /checksum/SHA1/reset/36 1556s ok 595 /checksum/SHA1/reset/37 1556s ok 596 /checksum/SHA1/reset/38 1556s ok 597 /checksum/SHA1/reset/39 1556s ok 598 /checksum/SHA1/reset/40 1556s ok 599 /checksum/SHA1/reset/41 1556s ok 600 /checksum/SHA1/reset/42 1556s ok 601 /checksum/SHA1/reset/43 1556s ok 602 /checksum/SHA1/reset/44 1556s ok 603 /checksum/SHA1/reset/45 1556s ok 604 /checksum/SHA1/reset/46 1556s ok 605 /checksum/SHA1/reset/47 1556s ok 606 /checksum/SHA1/reset/48 1556s ok 607 /checksum/SHA1/reset/49 1556s ok 608 /checksum/SHA1/reset/50 1556s ok 609 /checksum/SHA1/reset/51 1556s ok 610 /checksum/SHA1/reset/52 1556s ok 611 /checksum/SHA1/reset/53 1556s ok 612 /checksum/SHA1/reset/54 1556s ok 613 /checksum/SHA1/reset/55 1556s ok 614 /checksum/SHA1/reset/56 1556s ok 615 /checksum/SHA1/reset/57 1556s ok 616 /checksum/SHA1/reset/58 1556s ok 617 /checksum/SHA1/reset/59 1556s ok 618 /checksum/SHA1/reset/60 1556s ok 619 /checksum/SHA1/reset/61 1556s ok 620 /checksum/SHA1/reset/62 1556s ok 621 /checksum/SHA1/reset/63 1556s ok 622 /checksum/SHA1/reset/64 1556s ok 623 /checksum/SHA1/reset/65 1556s ok 624 /checksum/SHA1/reset/66 1556s ok 625 /checksum/SHA1/reset/67 1556s ok 626 /checksum/SHA1/reset/68 1556s ok 627 /checksum/SHA1/reset/69 1556s ok 628 /checksum/SHA1/reset/70 1556s ok 629 /checksum/SHA1/reset/71 1556s ok 630 /checksum/SHA1/reset/72 1556s ok 631 /checksum/SHA1/reset/73 1556s ok 632 /checksum/SHA1/reset/74 1556s ok 633 /checksum/SHA1/reset/75 1556s ok 634 /checksum/SHA1/reset/76 1556s ok 635 /checksum/SHA1/reset/77 1556s ok 636 /checksum/SHA1/reset/78 1556s ok 637 /checksum/SHA1/reset/79 1556s ok 638 /checksum/SHA1/reset/80 1556s ok 639 /checksum/SHA1/reset/81 1556s ok 640 /checksum/SHA1/reset/82 1556s ok 641 /checksum/SHA1/reset/83 1556s ok 642 /checksum/SHA1/reset/84 1556s ok 643 /checksum/SHA1/reset/85 1556s ok 644 /checksum/SHA1/reset/86 1556s ok 645 /checksum/SHA1/reset/87 1556s ok 646 /checksum/SHA1/reset/88 1556s ok 647 /checksum/SHA1/reset/89 1556s ok 648 /checksum/SHA1/reset/90 1556s ok 649 /checksum/SHA1/reset/91 1556s ok 650 /checksum/SHA1/reset/92 1556s ok 651 /checksum/SHA1/reset/93 1556s ok 652 /checksum/SHA1/reset/94 1556s ok 653 /checksum/SHA1/reset/95 1556s ok 654 /checksum/SHA1/reset/96 1556s ok 655 /checksum/SHA1/reset/97 1556s ok 656 /checksum/SHA1/reset/98 1556s ok 657 /checksum/SHA1/reset/99 1556s ok 658 /checksum/SHA1/reset/100 1556s ok 659 /checksum/SHA1/reset/101 1556s ok 660 /checksum/SHA1/reset/102 1556s ok 661 /checksum/SHA1/reset/103 1556s ok 662 /checksum/SHA1/reset/104 1556s ok 663 /checksum/SHA1/reset/105 1556s ok 664 /checksum/SHA1/reset/106 1556s ok 665 /checksum/SHA1/reset/107 1556s ok 666 /checksum/SHA1/reset/108 1556s ok 667 /checksum/SHA1/reset/109 1556s ok 668 /checksum/SHA1/reset/110 1556s ok 669 /checksum/SHA1/reset/111 1556s ok 670 /checksum/SHA1/reset/112 1556s ok 671 /checksum/SHA1/reset/113 1556s ok 672 /checksum/SHA1/reset/114 1556s ok 673 /checksum/SHA1/reset/115 1556s ok 674 /checksum/SHA1/reset/116 1556s ok 675 /checksum/SHA1/reset/117 1556s ok 676 /checksum/SHA1/reset/118 1556s ok 677 /checksum/SHA1/reset/119 1556s ok 678 /checksum/SHA1/reset/120 1556s ok 679 /checksum/SHA1/reset/121 1556s ok 680 /checksum/SHA1/reset/122 1556s ok 681 /checksum/SHA1/reset/123 1556s ok 682 /checksum/SHA1/reset/124 1556s ok 683 /checksum/SHA1/reset/125 1556s ok 684 /checksum/SHA1/reset/126 1556s ok 685 /checksum/SHA1/reset/127 1556s ok 686 /checksum/SHA1/reset/128 1556s ok 687 /checksum/SHA1/reset/129 1556s ok 688 /checksum/SHA1/reset/130 1556s ok 689 /checksum/SHA1/reset/131 1556s ok 690 /checksum/SHA1/reset/132 1556s ok 691 /checksum/SHA1/reset/133 1556s ok 692 /checksum/SHA1/reset/134 1556s ok 693 /checksum/SHA1/reset/135 1556s ok 694 /checksum/SHA1/reset/136 1556s ok 695 /checksum/SHA1/reset/137 1556s ok 696 /checksum/SHA1/reset/138 1556s ok 697 /checksum/SHA1/reset/139 1556s ok 698 /checksum/SHA1/reset/140 1556s ok 699 /checksum/SHA1/reset/141 1556s ok 700 /checksum/SHA1/reset/142 1556s ok 701 /checksum/SHA1/reset/143 1556s ok 702 /checksum/SHA1/reset/144 1556s ok 703 /checksum/SHA1/reset/145 1556s ok 704 /checksum/SHA1/reset/146 1556s ok 705 /checksum/SHA1/reset/147 1556s ok 706 /checksum/SHA1/reset/148 1556s ok 707 /checksum/SHA1/reset/149 1556s ok 708 /checksum/SHA1/reset/150 1556s ok 709 /checksum/SHA1/reset/151 1556s ok 710 /checksum/SHA1/reset/152 1556s ok 711 /checksum/SHA1/reset/153 1556s ok 712 /checksum/SHA1/reset/154 1556s ok 713 /checksum/SHA1/reset/155 1556s ok 714 /checksum/SHA1/reset/156 1556s ok 715 /checksum/SHA1/reset/157 1556s ok 716 /checksum/SHA1/reset/158 1556s ok 717 /checksum/SHA1/reset/159 1556s ok 718 /checksum/SHA1/reset/160 1556s ok 719 /checksum/SHA1/reset/161 1556s ok 720 /checksum/SHA1/reset/162 1556s ok 721 /checksum/SHA1/reset/163 1556s ok 722 /checksum/SHA1/reset/164 1556s ok 723 /checksum/SHA1/reset/165 1556s ok 724 /checksum/SHA1/reset/166 1556s ok 725 /checksum/SHA1/reset/167 1556s ok 726 /checksum/SHA1/reset/168 1556s ok 727 /checksum/SHA1/reset/169 1556s ok 728 /checksum/SHA1/reset/170 1556s ok 729 /checksum/SHA1/reset/171 1556s ok 730 /checksum/SHA1/reset/172 1556s ok 731 /checksum/SHA1/reset/173 1556s ok 732 /checksum/SHA1/reset/174 1556s ok 733 /checksum/SHA1/reset/175 1556s ok 734 /checksum/SHA1/reset/176 1556s ok 735 /checksum/SHA1/reset/177 1556s ok 736 /checksum/SHA1/reset/178 1556s ok 737 /checksum/SHA1/reset/179 1556s ok 738 /checksum/SHA1/reset/180 1556s ok 739 /checksum/SHA1/reset/181 1556s ok 740 /checksum/SHA1/reset/182 1556s ok 741 /checksum/SHA1/reset/183 1556s # End of reset tests 1556s # End of SHA1 tests 1556s # Start of SHA256 tests 1556s ok 742 /checksum/SHA256/0 1556s ok 743 /checksum/SHA256/1 1556s ok 744 /checksum/SHA256/2 1556s ok 745 /checksum/SHA256/3 1556s ok 746 /checksum/SHA256/4 1556s ok 747 /checksum/SHA256/5 1556s ok 748 /checksum/SHA256/6 1556s ok 749 /checksum/SHA256/7 1556s ok 750 /checksum/SHA256/8 1556s ok 751 /checksum/SHA256/9 1556s ok 752 /checksum/SHA256/10 1556s ok 753 /checksum/SHA256/11 1556s ok 754 /checksum/SHA256/12 1556s ok 755 /checksum/SHA256/13 1556s ok 756 /checksum/SHA256/14 1556s ok 757 /checksum/SHA256/15 1556s ok 758 /checksum/SHA256/16 1556s ok 759 /checksum/SHA256/17 1556s ok 760 /checksum/SHA256/18 1556s ok 761 /checksum/SHA256/19 1556s ok 762 /checksum/SHA256/20 1556s ok 763 /checksum/SHA256/21 1556s ok 764 /checksum/SHA256/22 1556s ok 765 /checksum/SHA256/23 1556s ok 766 /checksum/SHA256/24 1556s ok 767 /checksum/SHA256/25 1556s ok 768 /checksum/SHA256/26 1556s ok 769 /checksum/SHA256/27 1556s ok 770 /checksum/SHA256/28 1556s ok 771 /checksum/SHA256/29 1556s ok 772 /checksum/SHA256/30 1556s ok 773 /checksum/SHA256/31 1556s ok 774 /checksum/SHA256/32 1556s ok 775 /checksum/SHA256/33 1556s ok 776 /checksum/SHA256/34 1556s ok 777 /checksum/SHA256/35 1556s ok 778 /checksum/SHA256/36 1556s ok 779 /checksum/SHA256/37 1556s ok 780 /checksum/SHA256/38 1556s ok 781 /checksum/SHA256/39 1556s ok 782 /checksum/SHA256/40 1556s ok 783 /checksum/SHA256/41 1556s ok 784 /checksum/SHA256/42 1556s ok 785 /checksum/SHA256/43 1556s ok 786 /checksum/SHA256/44 1556s ok 787 /checksum/SHA256/45 1556s ok 788 /checksum/SHA256/46 1556s ok 789 /checksum/SHA256/47 1556s ok 790 /checksum/SHA256/48 1556s ok 791 /checksum/SHA256/49 1556s ok 792 /checksum/SHA256/50 1556s ok 793 /checksum/SHA256/51 1556s ok 794 /checksum/SHA256/52 1556s ok 795 /checksum/SHA256/53 1556s ok 796 /checksum/SHA256/54 1556s ok 797 /checksum/SHA256/55 1556s ok 798 /checksum/SHA256/56 1556s ok 799 /checksum/SHA256/57 1556s ok 800 /checksum/SHA256/58 1556s ok 801 /checksum/SHA256/59 1556s ok 802 /checksum/SHA256/60 1556s ok 803 /checksum/SHA256/61 1556s ok 804 /checksum/SHA256/62 1556s ok 805 /checksum/SHA256/63 1556s ok 806 /checksum/SHA256/64 1556s ok 807 /checksum/SHA256/65 1556s ok 808 /checksum/SHA256/66 1556s ok 809 /checksum/SHA256/67 1556s ok 810 /checksum/SHA256/68 1556s ok 811 /checksum/SHA256/69 1556s ok 812 /checksum/SHA256/70 1556s ok 813 /checksum/SHA256/71 1556s ok 814 /checksum/SHA256/72 1556s ok 815 /checksum/SHA256/73 1556s ok 816 /checksum/SHA256/74 1556s ok 817 /checksum/SHA256/75 1556s ok 818 /checksum/SHA256/76 1556s ok 819 /checksum/SHA256/77 1556s ok 820 /checksum/SHA256/78 1556s ok 821 /checksum/SHA256/79 1556s ok 822 /checksum/SHA256/80 1556s ok 823 /checksum/SHA256/81 1556s ok 824 /checksum/SHA256/82 1556s ok 825 /checksum/SHA256/83 1556s ok 826 /checksum/SHA256/84 1556s ok 827 /checksum/SHA256/85 1556s ok 828 /checksum/SHA256/86 1556s ok 829 /checksum/SHA256/87 1556s ok 830 /checksum/SHA256/88 1556s ok 831 /checksum/SHA256/89 1556s ok 832 /checksum/SHA256/90 1556s ok 833 /checksum/SHA256/91 1556s ok 834 /checksum/SHA256/92 1556s ok 835 /checksum/SHA256/93 1556s ok 836 /checksum/SHA256/94 1556s ok 837 /checksum/SHA256/95 1556s ok 838 /checksum/SHA256/96 1556s ok 839 /checksum/SHA256/97 1556s ok 840 /checksum/SHA256/98 1556s ok 841 /checksum/SHA256/99 1556s ok 842 /checksum/SHA256/100 1556s ok 843 /checksum/SHA256/101 1556s ok 844 /checksum/SHA256/102 1556s ok 845 /checksum/SHA256/103 1556s ok 846 /checksum/SHA256/104 1556s ok 847 /checksum/SHA256/105 1556s ok 848 /checksum/SHA256/106 1556s ok 849 /checksum/SHA256/107 1556s ok 850 /checksum/SHA256/108 1556s ok 851 /checksum/SHA256/109 1556s ok 852 /checksum/SHA256/110 1556s ok 853 /checksum/SHA256/111 1556s ok 854 /checksum/SHA256/112 1556s ok 855 /checksum/SHA256/113 1556s ok 856 /checksum/SHA256/114 1556s ok 857 /checksum/SHA256/115 1556s ok 858 /checksum/SHA256/116 1556s ok 859 /checksum/SHA256/117 1556s ok 860 /checksum/SHA256/118 1556s ok 861 /checksum/SHA256/119 1556s ok 862 /checksum/SHA256/120 1556s ok 863 /checksum/SHA256/121 1556s ok 864 /checksum/SHA256/122 1556s ok 865 /checksum/SHA256/123 1556s ok 866 /checksum/SHA256/124 1556s ok 867 /checksum/SHA256/125 1556s ok 868 /checksum/SHA256/126 1556s ok 869 /checksum/SHA256/127 1556s ok 870 /checksum/SHA256/128 1556s ok 871 /checksum/SHA256/129 1556s ok 872 /checksum/SHA256/130 1556s ok 873 /checksum/SHA256/131 1556s ok 874 /checksum/SHA256/132 1556s ok 875 /checksum/SHA256/133 1556s ok 876 /checksum/SHA256/134 1556s ok 877 /checksum/SHA256/135 1556s ok 878 /checksum/SHA256/136 1556s ok 879 /checksum/SHA256/137 1556s ok 880 /checksum/SHA256/138 1556s ok 881 /checksum/SHA256/139 1556s ok 882 /checksum/SHA256/140 1556s ok 883 /checksum/SHA256/141 1556s ok 884 /checksum/SHA256/142 1556s ok 885 /checksum/SHA256/143 1556s ok 886 /checksum/SHA256/144 1556s ok 887 /checksum/SHA256/145 1556s ok 888 /checksum/SHA256/146 1556s ok 889 /checksum/SHA256/147 1556s ok 890 /checksum/SHA256/148 1556s ok 891 /checksum/SHA256/149 1556s ok 892 /checksum/SHA256/150 1556s ok 893 /checksum/SHA256/151 1556s ok 894 /checksum/SHA256/152 1556s ok 895 /checksum/SHA256/153 1556s ok 896 /checksum/SHA256/154 1556s ok 897 /checksum/SHA256/155 1556s ok 898 /checksum/SHA256/156 1556s ok 899 /checksum/SHA256/157 1556s ok 900 /checksum/SHA256/158 1556s ok 901 /checksum/SHA256/159 1556s ok 902 /checksum/SHA256/160 1556s ok 903 /checksum/SHA256/161 1556s ok 904 /checksum/SHA256/162 1556s ok 905 /checksum/SHA256/163 1556s ok 906 /checksum/SHA256/164 1556s ok 907 /checksum/SHA256/165 1556s ok 908 /checksum/SHA256/166 1556s ok 909 /checksum/SHA256/167 1556s ok 910 /checksum/SHA256/168 1556s ok 911 /checksum/SHA256/169 1556s ok 912 /checksum/SHA256/170 1556s ok 913 /checksum/SHA256/171 1556s ok 914 /checksum/SHA256/172 1556s ok 915 /checksum/SHA256/173 1556s ok 916 /checksum/SHA256/174 1556s ok 917 /checksum/SHA256/175 1556s ok 918 /checksum/SHA256/176 1556s ok 919 /checksum/SHA256/177 1556s ok 920 /checksum/SHA256/178 1556s ok 921 /checksum/SHA256/179 1556s ok 922 /checksum/SHA256/180 1556s ok 923 /checksum/SHA256/181 1556s ok 924 /checksum/SHA256/182 1556s ok 925 /checksum/SHA256/183 1556s ok 926 /checksum/SHA256/string 1556s ok 927 /checksum/SHA256/bytes 1556s # Start of reset tests 1556s ok 928 /checksum/SHA256/reset/0 1556s ok 929 /checksum/SHA256/reset/1 1556s ok 930 /checksum/SHA256/reset/2 1556s ok 931 /checksum/SHA256/reset/3 1556s ok 932 /checksum/SHA256/reset/4 1556s ok 933 /checksum/SHA256/reset/5 1556s ok 934 /checksum/SHA256/reset/6 1556s ok 935 /checksum/SHA256/reset/7 1556s ok 936 /checksum/SHA256/reset/8 1556s ok 937 /checksum/SHA256/reset/9 1556s ok 938 /checksum/SHA256/reset/10 1556s ok 939 /checksum/SHA256/reset/11 1556s ok 940 /checksum/SHA256/reset/12 1556s ok 941 /checksum/SHA256/reset/13 1556s ok 942 /checksum/SHA256/reset/14 1556s ok 943 /checksum/SHA256/reset/15 1556s ok 944 /checksum/SHA256/reset/16 1556s ok 945 /checksum/SHA256/reset/17 1556s ok 946 /checksum/SHA256/reset/18 1556s ok 947 /checksum/SHA256/reset/19 1556s ok 948 /checksum/SHA256/reset/20 1556s ok 949 /checksum/SHA256/reset/21 1556s ok 950 /checksum/SHA256/reset/22 1556s ok 951 /checksum/SHA256/reset/23 1556s ok 952 /checksum/SHA256/reset/24 1556s ok 953 /checksum/SHA256/reset/25 1556s ok 954 /checksum/SHA256/reset/26 1556s ok 955 /checksum/SHA256/reset/27 1556s ok 956 /checksum/SHA256/reset/28 1556s ok 957 /checksum/SHA256/reset/29 1556s ok 958 /checksum/SHA256/reset/30 1556s ok 959 /checksum/SHA256/reset/31 1556s ok 960 /checksum/SHA256/reset/32 1556s ok 961 /checksum/SHA256/reset/33 1556s ok 962 /checksum/SHA256/reset/34 1556s ok 963 /checksum/SHA256/reset/35 1556s ok 964 /checksum/SHA256/reset/36 1556s ok 965 /checksum/SHA256/reset/37 1556s ok 966 /checksum/SHA256/reset/38 1556s ok 967 /checksum/SHA256/reset/39 1556s ok 968 /checksum/SHA256/reset/40 1556s ok 969 /checksum/SHA256/reset/41 1556s ok 970 /checksum/SHA256/reset/42 1556s ok 971 /checksum/SHA256/reset/43 1556s ok 972 /checksum/SHA256/reset/44 1556s ok 973 /checksum/SHA256/reset/45 1556s ok 974 /checksum/SHA256/reset/46 1556s ok 975 /checksum/SHA256/reset/47 1556s ok 976 /checksum/SHA256/reset/48 1556s ok 977 /checksum/SHA256/reset/49 1556s ok 978 /checksum/SHA256/reset/50 1556s ok 979 /checksum/SHA256/reset/51 1556s ok 980 /checksum/SHA256/reset/52 1556s ok 981 /checksum/SHA256/reset/53 1556s ok 982 /checksum/SHA256/reset/54 1556s ok 983 /checksum/SHA256/reset/55 1556s ok 984 /checksum/SHA256/reset/56 1556s ok 985 /checksum/SHA256/reset/57 1556s ok 986 /checksum/SHA256/reset/58 1556s ok 987 /checksum/SHA256/reset/59 1556s ok 988 /checksum/SHA256/reset/60 1556s ok 989 /checksum/SHA256/reset/61 1556s ok 990 /checksum/SHA256/reset/62 1556s ok 991 /checksum/SHA256/reset/63 1556s ok 992 /checksum/SHA256/reset/64 1556s ok 993 /checksum/SHA256/reset/65 1556s ok 994 /checksum/SHA256/reset/66 1556s ok 995 /checksum/SHA256/reset/67 1556s ok 996 /checksum/SHA256/reset/68 1556s ok 997 /checksum/SHA256/reset/69 1556s ok 998 /checksum/SHA256/reset/70 1556s ok 999 /checksum/SHA256/reset/71 1556s ok 1000 /checksum/SHA256/reset/72 1556s ok 1001 /checksum/SHA256/reset/73 1556s ok 1002 /checksum/SHA256/reset/74 1556s ok 1003 /checksum/SHA256/reset/75 1556s ok 1004 /checksum/SHA256/reset/76 1556s ok 1005 /checksum/SHA256/reset/77 1556s ok 1006 /checksum/SHA256/reset/78 1556s ok 1007 /checksum/SHA256/reset/79 1556s ok 1008 /checksum/SHA256/reset/80 1556s ok 1009 /checksum/SHA256/reset/81 1556s ok 1010 /checksum/SHA256/reset/82 1556s ok 1011 /checksum/SHA256/reset/83 1556s ok 1012 /checksum/SHA256/reset/84 1556s ok 1013 /checksum/SHA256/reset/85 1556s ok 1014 /checksum/SHA256/reset/86 1556s ok 1015 /checksum/SHA256/reset/87 1556s ok 1016 /checksum/SHA256/reset/88 1556s ok 1017 /checksum/SHA256/reset/89 1556s ok 1018 /checksum/SHA256/reset/90 1556s ok 1019 /checksum/SHA256/reset/91 1556s ok 1020 /checksum/SHA256/reset/92 1556s ok 1021 /checksum/SHA256/reset/93 1556s ok 1022 /checksum/SHA256/reset/94 1556s ok 1023 /checksum/SHA256/reset/95 1556s ok 1024 /checksum/SHA256/reset/96 1556s ok 1025 /checksum/SHA256/reset/97 1556s ok 1026 /checksum/SHA256/reset/98 1556s ok 1027 /checksum/SHA256/reset/99 1556s ok 1028 /checksum/SHA256/reset/100 1556s ok 1029 /checksum/SHA256/reset/101 1556s ok 1030 /checksum/SHA256/reset/102 1556s ok 1031 /checksum/SHA256/reset/103 1556s ok 1032 /checksum/SHA256/reset/104 1556s ok 1033 /checksum/SHA256/reset/105 1556s ok 1034 /checksum/SHA256/reset/106 1556s ok 1035 /checksum/SHA256/reset/107 1556s ok 1036 /checksum/SHA256/reset/108 1556s ok 1037 /checksum/SHA256/reset/109 1556s ok 1038 /checksum/SHA256/reset/110 1556s ok 1039 /checksum/SHA256/reset/111 1556s ok 1040 /checksum/SHA256/reset/112 1556s ok 1041 /checksum/SHA256/reset/113 1556s ok 1042 /checksum/SHA256/reset/114 1556s ok 1043 /checksum/SHA256/reset/115 1556s ok 1044 /checksum/SHA256/reset/116 1556s ok 1045 /checksum/SHA256/reset/117 1556s ok 1046 /checksum/SHA256/reset/118 1556s ok 1047 /checksum/SHA256/reset/119 1556s ok 1048 /checksum/SHA256/reset/120 1556s ok 1049 /checksum/SHA256/reset/121 1556s ok 1050 /checksum/SHA256/reset/122 1556s ok 1051 /checksum/SHA256/reset/123 1556s ok 1052 /checksum/SHA256/reset/124 1556s ok 1053 /checksum/SHA256/reset/125 1556s ok 1054 /checksum/SHA256/reset/126 1556s ok 1055 /checksum/SHA256/reset/127 1556s ok 1056 /checksum/SHA256/reset/128 1556s ok 1057 /checksum/SHA256/reset/129 1556s ok 1058 /checksum/SHA256/reset/130 1556s ok 1059 /checksum/SHA256/reset/131 1556s ok 1060 /checksum/SHA256/reset/132 1556s ok 1061 /checksum/SHA256/reset/133 1556s ok 1062 /checksum/SHA256/reset/134 1556s ok 1063 /checksum/SHA256/reset/135 1556s ok 1064 /checksum/SHA256/reset/136 1556s ok 1065 /checksum/SHA256/reset/137 1556s ok 1066 /checksum/SHA256/reset/138 1556s ok 1067 /checksum/SHA256/reset/139 1556s ok 1068 /checksum/SHA256/reset/140 1556s ok 1069 /checksum/SHA256/reset/141 1556s ok 1070 /checksum/SHA256/reset/142 1556s ok 1071 /checksum/SHA256/reset/143 1556s ok 1072 /checksum/SHA256/reset/144 1556s ok 1073 /checksum/SHA256/reset/145 1556s ok 1074 /checksum/SHA256/reset/146 1556s ok 1075 /checksum/SHA256/reset/147 1556s ok 1076 /checksum/SHA256/reset/148 1556s ok 1077 /checksum/SHA256/reset/149 1556s ok 1078 /checksum/SHA256/reset/150 1556s ok 1079 /checksum/SHA256/reset/151 1556s ok 1080 /checksum/SHA256/reset/152 1556s ok 1081 /checksum/SHA256/reset/153 1556s ok 1082 /checksum/SHA256/reset/154 1556s ok 1083 /checksum/SHA256/reset/155 1556s ok 1084 /checksum/SHA256/reset/156 1556s ok 1085 /checksum/SHA256/reset/157 1556s ok 1086 /checksum/SHA256/reset/158 1556s ok 1087 /checksum/SHA256/reset/159 1556s ok 1088 /checksum/SHA256/reset/160 1556s ok 1089 /checksum/SHA256/reset/161 1556s ok 1090 /checksum/SHA256/reset/162 1556s ok 1091 /checksum/SHA256/reset/163 1556s ok 1092 /checksum/SHA256/reset/164 1556s ok 1093 /checksum/SHA256/reset/165 1556s ok 1094 /checksum/SHA256/reset/166 1556s ok 1095 /checksum/SHA256/reset/167 1556s ok 1096 /checksum/SHA256/reset/168 1556s ok 1097 /checksum/SHA256/reset/169 1556s ok 1098 /checksum/SHA256/reset/170 1556s ok 1099 /checksum/SHA256/reset/171 1556s ok 1100 /checksum/SHA256/reset/172 1556s ok 1101 /checksum/SHA256/reset/173 1556s ok 1102 /checksum/SHA256/reset/174 1556s ok 1103 /checksum/SHA256/reset/175 1556s ok 1104 /checksum/SHA256/reset/176 1556s ok 1105 /checksum/SHA256/reset/177 1556s ok 1106 /checksum/SHA256/reset/178 1556s ok 1107 /checksum/SHA256/reset/179 1556s ok 1108 /checksum/SHA256/reset/180 1556s ok 1109 /checksum/SHA256/reset/181 1556s ok 1110 /checksum/SHA256/reset/182 1556s ok 1111 /checksum/SHA256/reset/183 1556s # End of reset tests 1556s # End of SHA256 tests 1556s # Start of SHA384 tests 1556s ok 1112 /checksum/SHA384/0 1556s ok 1113 /checksum/SHA384/1 1556s ok 1114 /checksum/SHA384/2 1556s ok 1115 /checksum/SHA384/3 1556s ok 1116 /checksum/SHA384/4 1556s ok 1117 /checksum/SHA384/5 1556s ok 1118 /checksum/SHA384/6 1556s ok 1119 /checksum/SHA384/7 1556s ok 1120 /checksum/SHA384/8 1556s ok 1121 /checksum/SHA384/9 1556s ok 1122 /checksum/SHA384/10 1556s ok 1123 /checksum/SHA384/11 1556s ok 1124 /checksum/SHA384/12 1556s ok 1125 /checksum/SHA384/13 1556s ok 1126 /checksum/SHA384/14 1556s ok 1127 /checksum/SHA384/15 1556s ok 1128 /checksum/SHA384/16 1556s ok 1129 /checksum/SHA384/17 1556s ok 1130 /checksum/SHA384/18 1556s ok 1131 /checksum/SHA384/19 1556s ok 1132 /checksum/SHA384/20 1556s ok 1133 /checksum/SHA384/21 1556s ok 1134 /checksum/SHA384/22 1556s ok 1135 /checksum/SHA384/23 1556s ok 1136 /checksum/SHA384/24 1556s ok 1137 /checksum/SHA384/25 1556s ok 1138 /checksum/SHA384/26 1556s ok 1139 /checksum/SHA384/27 1556s ok 1140 /checksum/SHA384/28 1556s ok 1141 /checksum/SHA384/29 1556s ok 1142 /checksum/SHA384/30 1556s ok 1143 /checksum/SHA384/31 1556s ok 1144 /checksum/SHA384/32 1556s ok 1145 /checksum/SHA384/33 1556s ok 1146 /checksum/SHA384/34 1556s ok 1147 /checksum/SHA384/35 1556s ok 1148 /checksum/SHA384/36 1556s ok 1149 /checksum/SHA384/37 1556s ok 1150 /checksum/SHA384/38 1556s ok 1151 /checksum/SHA384/39 1556s ok 1152 /checksum/SHA384/40 1556s ok 1153 /checksum/SHA384/41 1556s ok 1154 /checksum/SHA384/42 1556s ok 1155 /checksum/SHA384/43 1556s ok 1156 /checksum/SHA384/44 1556s ok 1157 /checksum/SHA384/45 1556s ok 1158 /checksum/SHA384/46 1556s ok 1159 /checksum/SHA384/47 1556s ok 1160 /checksum/SHA384/48 1556s ok 1161 /checksum/SHA384/49 1556s ok 1162 /checksum/SHA384/50 1556s ok 1163 /checksum/SHA384/51 1556s ok 1164 /checksum/SHA384/52 1556s ok 1165 /checksum/SHA384/53 1556s ok 1166 /checksum/SHA384/54 1556s ok 1167 /checksum/SHA384/55 1556s ok 1168 /checksum/SHA384/56 1556s ok 1169 /checksum/SHA384/57 1556s ok 1170 /checksum/SHA384/58 1556s ok 1171 /checksum/SHA384/59 1556s ok 1172 /checksum/SHA384/60 1556s ok 1173 /checksum/SHA384/61 1556s ok 1174 /checksum/SHA384/62 1556s ok 1175 /checksum/SHA384/63 1556s ok 1176 /checksum/SHA384/64 1556s ok 1177 /checksum/SHA384/65 1556s ok 1178 /checksum/SHA384/66 1556s ok 1179 /checksum/SHA384/67 1556s ok 1180 /checksum/SHA384/68 1556s ok 1181 /checksum/SHA384/69 1556s ok 1182 /checksum/SHA384/70 1556s ok 1183 /checksum/SHA384/71 1556s ok 1184 /checksum/SHA384/72 1556s ok 1185 /checksum/SHA384/73 1556s ok 1186 /checksum/SHA384/74 1556s ok 1187 /checksum/SHA384/75 1556s ok 1188 /checksum/SHA384/76 1556s ok 1189 /checksum/SHA384/77 1556s ok 1190 /checksum/SHA384/78 1556s ok 1191 /checksum/SHA384/79 1556s ok 1192 /checksum/SHA384/80 1556s ok 1193 /checksum/SHA384/81 1556s ok 1194 /checksum/SHA384/82 1556s ok 1195 /checksum/SHA384/83 1556s ok 1196 /checksum/SHA384/84 1556s ok 1197 /checksum/SHA384/85 1556s ok 1198 /checksum/SHA384/86 1556s ok 1199 /checksum/SHA384/87 1556s ok 1200 /checksum/SHA384/88 1556s ok 1201 /checksum/SHA384/89 1556s ok 1202 /checksum/SHA384/90 1556s ok 1203 /checksum/SHA384/91 1556s ok 1204 /checksum/SHA384/92 1556s ok 1205 /checksum/SHA384/93 1556s ok 1206 /checksum/SHA384/94 1556s ok 1207 /checksum/SHA384/95 1556s ok 1208 /checksum/SHA384/96 1556s ok 1209 /checksum/SHA384/97 1556s ok 1210 /checksum/SHA384/98 1556s ok 1211 /checksum/SHA384/99 1556s ok 1212 /checksum/SHA384/100 1556s ok 1213 /checksum/SHA384/101 1556s ok 1214 /checksum/SHA384/102 1556s ok 1215 /checksum/SHA384/103 1556s ok 1216 /checksum/SHA384/104 1556s ok 1217 /checksum/SHA384/105 1556s ok 1218 /checksum/SHA384/106 1556s ok 1219 /checksum/SHA384/107 1556s ok 1220 /checksum/SHA384/108 1556s ok 1221 /checksum/SHA384/109 1556s ok 1222 /checksum/SHA384/110 1556s ok 1223 /checksum/SHA384/111 1556s ok 1224 /checksum/SHA384/112 1556s ok 1225 /checksum/SHA384/113 1556s ok 1226 /checksum/SHA384/114 1556s ok 1227 /checksum/SHA384/115 1556s ok 1228 /checksum/SHA384/116 1556s ok 1229 /checksum/SHA384/117 1556s ok 1230 /checksum/SHA384/118 1556s ok 1231 /checksum/SHA384/119 1556s ok 1232 /checksum/SHA384/120 1556s ok 1233 /checksum/SHA384/121 1556s ok 1234 /checksum/SHA384/122 1556s ok 1235 /checksum/SHA384/123 1556s ok 1236 /checksum/SHA384/124 1556s ok 1237 /checksum/SHA384/125 1556s ok 1238 /checksum/SHA384/126 1556s ok 1239 /checksum/SHA384/127 1556s ok 1240 /checksum/SHA384/128 1556s ok 1241 /checksum/SHA384/129 1556s ok 1242 /checksum/SHA384/130 1556s ok 1243 /checksum/SHA384/131 1556s ok 1244 /checksum/SHA384/132 1556s ok 1245 /checksum/SHA384/133 1556s ok 1246 /checksum/SHA384/134 1556s ok 1247 /checksum/SHA384/135 1556s ok 1248 /checksum/SHA384/136 1556s ok 1249 /checksum/SHA384/137 1556s ok 1250 /checksum/SHA384/138 1556s ok 1251 /checksum/SHA384/139 1556s ok 1252 /checksum/SHA384/140 1556s ok 1253 /checksum/SHA384/141 1556s ok 1254 /checksum/SHA384/142 1556s ok 1255 /checksum/SHA384/143 1556s ok 1256 /checksum/SHA384/144 1556s ok 1257 /checksum/SHA384/145 1556s ok 1258 /checksum/SHA384/146 1556s ok 1259 /checksum/SHA384/147 1556s ok 1260 /checksum/SHA384/148 1556s ok 1261 /checksum/SHA384/149 1556s ok 1262 /checksum/SHA384/150 1556s ok 1263 /checksum/SHA384/151 1556s ok 1264 /checksum/SHA384/152 1556s ok 1265 /checksum/SHA384/153 1556s ok 1266 /checksum/SHA384/154 1556s ok 1267 /checksum/SHA384/155 1556s ok 1268 /checksum/SHA384/156 1556s ok 1269 /checksum/SHA384/157 1556s ok 1270 /checksum/SHA384/158 1556s ok 1271 /checksum/SHA384/159 1556s ok 1272 /checksum/SHA384/160 1556s ok 1273 /checksum/SHA384/161 1556s ok 1274 /checksum/SHA384/162 1556s ok 1275 /checksum/SHA384/163 1556s ok 1276 /checksum/SHA384/164 1556s ok 1277 /checksum/SHA384/165 1556s ok 1278 /checksum/SHA384/166 1556s ok 1279 /checksum/SHA384/167 1556s ok 1280 /checksum/SHA384/168 1556s ok 1281 /checksum/SHA384/169 1556s ok 1282 /checksum/SHA384/170 1556s ok 1283 /checksum/SHA384/171 1556s ok 1284 /checksum/SHA384/172 1556s ok 1285 /checksum/SHA384/173 1556s ok 1286 /checksum/SHA384/174 1556s ok 1287 /checksum/SHA384/175 1556s ok 1288 /checksum/SHA384/176 1556s ok 1289 /checksum/SHA384/177 1556s ok 1290 /checksum/SHA384/178 1556s ok 1291 /checksum/SHA384/179 1556s ok 1292 /checksum/SHA384/180 1556s ok 1293 /checksum/SHA384/181 1556s ok 1294 /checksum/SHA384/182 1556s ok 1295 /checksum/SHA384/183 1556s ok 1296 /checksum/SHA384/string 1556s ok 1297 /checksum/SHA384/bytes 1556s # Start of reset tests 1556s ok 1298 /checksum/SHA384/reset/0 1556s ok 1299 /checksum/SHA384/reset/1 1556s ok 1300 /checksum/SHA384/reset/2 1556s ok 1301 /checksum/SHA384/reset/3 1556s ok 1302 /checksum/SHA384/reset/4 1556s ok 1303 /checksum/SHA384/reset/5 1556s ok 1304 /checksum/SHA384/reset/6 1556s ok 1305 /checksum/SHA384/reset/7 1556s ok 1306 /checksum/SHA384/reset/8 1556s ok 1307 /checksum/SHA384/reset/9 1556s ok 1308 /checksum/SHA384/reset/10 1556s ok 1309 /checksum/SHA384/reset/11 1556s ok 1310 /checksum/SHA384/reset/12 1556s ok 1311 /checksum/SHA384/reset/13 1556s ok 1312 /checksum/SHA384/reset/14 1556s ok 1313 /checksum/SHA384/reset/15 1556s ok 1314 /checksum/SHA384/reset/16 1556s ok 1315 /checksum/SHA384/reset/17 1556s ok 1316 /checksum/SHA384/reset/18 1556s ok 1317 /checksum/SHA384/reset/19 1556s ok 1318 /checksum/SHA384/reset/20 1556s ok 1319 /checksum/SHA384/reset/21 1556s ok 1320 /checksum/SHA384/reset/22 1556s ok 1321 /checksum/SHA384/reset/23 1556s ok 1322 /checksum/SHA384/reset/24 1556s ok 1323 /checksum/SHA384/reset/25 1556s ok 1324 /checksum/SHA384/reset/26 1556s ok 1325 /checksum/SHA384/reset/27 1556s ok 1326 /checksum/SHA384/reset/28 1556s ok 1327 /checksum/SHA384/reset/29 1556s ok 1328 /checksum/SHA384/reset/30 1556s ok 1329 /checksum/SHA384/reset/31 1556s ok 1330 /checksum/SHA384/reset/32 1556s ok 1331 /checksum/SHA384/reset/33 1556s ok 1332 /checksum/SHA384/reset/34 1556s ok 1333 /checksum/SHA384/reset/35 1556s ok 1334 /checksum/SHA384/reset/36 1556s ok 1335 /checksum/SHA384/reset/37 1556s ok 1336 /checksum/SHA384/reset/38 1556s ok 1337 /checksum/SHA384/reset/39 1556s ok 1338 /checksum/SHA384/reset/40 1556s ok 1339 /checksum/SHA384/reset/41 1556s ok 1340 /checksum/SHA384/reset/42 1556s ok 1341 /checksum/SHA384/reset/43 1556s ok 1342 /checksum/SHA384/reset/44 1556s ok 1343 /checksum/SHA384/reset/45 1556s ok 1344 /checksum/SHA384/reset/46 1556s ok 1345 /checksum/SHA384/reset/47 1556s ok 1346 /checksum/SHA384/reset/48 1556s ok 1347 /checksum/SHA384/reset/49 1556s ok 1348 /checksum/SHA384/reset/50 1556s ok 1349 /checksum/SHA384/reset/51 1556s ok 1350 /checksum/SHA384/reset/52 1556s ok 1351 /checksum/SHA384/reset/53 1556s ok 1352 /checksum/SHA384/reset/54 1556s ok 1353 /checksum/SHA384/reset/55 1556s ok 1354 /checksum/SHA384/reset/56 1556s ok 1355 /checksum/SHA384/reset/57 1556s ok 1356 /checksum/SHA384/reset/58 1556s ok 1357 /checksum/SHA384/reset/59 1556s ok 1358 /checksum/SHA384/reset/60 1556s ok 1359 /checksum/SHA384/reset/61 1556s ok 1360 /checksum/SHA384/reset/62 1556s ok 1361 /checksum/SHA384/reset/63 1556s ok 1362 /checksum/SHA384/reset/64 1556s ok 1363 /checksum/SHA384/reset/65 1556s ok 1364 /checksum/SHA384/reset/66 1556s ok 1365 /checksum/SHA384/reset/67 1556s ok 1366 /checksum/SHA384/reset/68 1556s ok 1367 /checksum/SHA384/reset/69 1556s ok 1368 /checksum/SHA384/reset/70 1556s ok 1369 /checksum/SHA384/reset/71 1556s ok 1370 /checksum/SHA384/reset/72 1556s ok 1371 /checksum/SHA384/reset/73 1556s ok 1372 /checksum/SHA384/reset/74 1556s ok 1373 /checksum/SHA384/reset/75 1556s ok 1374 /checksum/SHA384/reset/76 1556s ok 1375 /checksum/SHA384/reset/77 1556s ok 1376 /checksum/SHA384/reset/78 1556s ok 1377 /checksum/SHA384/reset/79 1556s ok 1378 /checksum/SHA384/reset/80 1556s ok 1379 /checksum/SHA384/reset/81 1556s ok 1380 /checksum/SHA384/reset/82 1556s ok 1381 /checksum/SHA384/reset/83 1556s ok 1382 /checksum/SHA384/reset/84 1556s ok 1383 /checksum/SHA384/reset/85 1556s ok 1384 /checksum/SHA384/reset/86 1556s ok 1385 /checksum/SHA384/reset/87 1556s ok 1386 /checksum/SHA384/reset/88 1556s ok 1387 /checksum/SHA384/reset/89 1556s ok 1388 /checksum/SHA384/reset/90 1556s ok 1389 /checksum/SHA384/reset/91 1556s ok 1390 /checksum/SHA384/reset/92 1556s ok 1391 /checksum/SHA384/reset/93 1556s ok 1392 /checksum/SHA384/reset/94 1556s ok 1393 /checksum/SHA384/reset/95 1556s ok 1394 /checksum/SHA384/reset/96 1556s ok 1395 /checksum/SHA384/reset/97 1556s ok 1396 /checksum/SHA384/reset/98 1556s ok 1397 /checksum/SHA384/reset/99 1556s ok 1398 /checksum/SHA384/reset/100 1556s ok 1399 /checksum/SHA384/reset/101 1556s ok 1400 /checksum/SHA384/reset/102 1556s ok 1401 /checksum/SHA384/reset/103 1556s ok 1402 /checksum/SHA384/reset/104 1556s ok 1403 /checksum/SHA384/reset/105 1556s ok 1404 /checksum/SHA384/reset/106 1556s ok 1405 /checksum/SHA384/reset/107 1556s ok 1406 /checksum/SHA384/reset/108 1556s ok 1407 /checksum/SHA384/reset/109 1556s ok 1408 /checksum/SHA384/reset/110 1556s ok 1409 /checksum/SHA384/reset/111 1556s ok 1410 /checksum/SHA384/reset/112 1556s ok 1411 /checksum/SHA384/reset/113 1556s ok 1412 /checksum/SHA384/reset/114 1556s ok 1413 /checksum/SHA384/reset/115 1556s ok 1414 /checksum/SHA384/reset/116 1556s ok 1415 /checksum/SHA384/reset/117 1556s ok 1416 /checksum/SHA384/reset/118 1556s ok 1417 /checksum/SHA384/reset/119 1556s ok 1418 /checksum/SHA384/reset/120 1556s ok 1419 /checksum/SHA384/reset/121 1556s ok 1420 /checksum/SHA384/reset/122 1556s ok 1421 /checksum/SHA384/reset/123 1556s ok 1422 /checksum/SHA384/reset/124 1556s ok 1423 /checksum/SHA384/reset/125 1556s ok 1424 /checksum/SHA384/reset/126 1556s ok 1425 /checksum/SHA384/reset/127 1556s ok 1426 /checksum/SHA384/reset/128 1556s ok 1427 /checksum/SHA384/reset/129 1556s ok 1428 /checksum/SHA384/reset/130 1556s ok 1429 /checksum/SHA384/reset/131 1556s ok 1430 /checksum/SHA384/reset/132 1556s ok 1431 /checksum/SHA384/reset/133 1556s ok 1432 /checksum/SHA384/reset/134 1556s ok 1433 /checksum/SHA384/reset/135 1556s ok 1434 /checksum/SHA384/reset/136 1556s ok 1435 /checksum/SHA384/reset/137 1556s ok 1436 /checksum/SHA384/reset/138 1556s ok 1437 /checksum/SHA384/reset/139 1556s ok 1438 /checksum/SHA384/reset/140 1556s ok 1439 /checksum/SHA384/reset/141 1556s ok 1440 /checksum/SHA384/reset/142 1556s ok 1441 /checksum/SHA384/reset/143 1556s ok 1442 /checksum/SHA384/reset/144 1556s ok 1443 /checksum/SHA384/reset/145 1556s ok 1444 /checksum/SHA384/reset/146 1556s ok 1445 /checksum/SHA384/reset/147 1556s ok 1446 /checksum/SHA384/reset/148 1556s ok 1447 /checksum/SHA384/reset/149 1556s ok 1448 /checksum/SHA384/reset/150 1556s ok 1449 /checksum/SHA384/reset/151 1556s ok 1450 /checksum/SHA384/reset/152 1556s ok 1451 /checksum/SHA384/reset/153 1556s ok 1452 /checksum/SHA384/reset/154 1556s ok 1453 /checksum/SHA384/reset/155 1556s ok 1454 /checksum/SHA384/reset/156 1556s ok 1455 /checksum/SHA384/reset/157 1556s ok 1456 /checksum/SHA384/reset/158 1556s ok 1457 /checksum/SHA384/reset/159 1556s ok 1458 /checksum/SHA384/reset/160 1556s ok 1459 /checksum/SHA384/reset/161 1556s ok 1460 /checksum/SHA384/reset/162 1556s ok 1461 /checksum/SHA384/reset/163 1556s ok 1462 /checksum/SHA384/reset/164 1556s ok 1463 /checksum/SHA384/reset/165 1556s ok 1464 /checksum/SHA384/reset/166 1556s ok 1465 /checksum/SHA384/reset/167 1556s ok 1466 /checksum/SHA384/reset/168 1556s ok 1467 /checksum/SHA384/reset/169 1556s ok 1468 /checksum/SHA384/reset/170 1556s ok 1469 /checksum/SHA384/reset/171 1556s ok 1470 /checksum/SHA384/reset/172 1556s ok 1471 /checksum/SHA384/reset/173 1556s ok 1472 /checksum/SHA384/reset/174 1556s ok 1473 /checksum/SHA384/reset/175 1556s ok 1474 /checksum/SHA384/reset/176 1556s ok 1475 /checksum/SHA384/reset/177 1556s ok 1476 /checksum/SHA384/reset/178 1556s ok 1477 /checksum/SHA384/reset/179 1556s ok 1478 /checksum/SHA384/reset/180 1556s ok 1479 /checksum/SHA384/reset/181 1556s ok 1480 /checksum/SHA384/reset/182 1556s ok 1481 /checksum/SHA384/reset/183 1556s # End of reset tests 1556s # End of SHA384 tests 1556s # Start of SHA512 tests 1556s ok 1482 /checksum/SHA512/0 1556s ok 1483 /checksum/SHA512/1 1556s ok 1484 /checksum/SHA512/2 1556s ok 1485 /checksum/SHA512/3 1556s ok 1486 /checksum/SHA512/4 1556s ok 1487 /checksum/SHA512/5 1556s ok 1488 /checksum/SHA512/6 1556s ok 1489 /checksum/SHA512/7 1556s ok 1490 /checksum/SHA512/8 1556s ok 1491 /checksum/SHA512/9 1556s ok 1492 /checksum/SHA512/10 1556s ok 1493 /checksum/SHA512/11 1556s ok 1494 /checksum/SHA512/12 1556s ok 1495 /checksum/SHA512/13 1556s ok 1496 /checksum/SHA512/14 1556s ok 1497 /checksum/SHA512/15 1556s ok 1498 /checksum/SHA512/16 1556s ok 1499 /checksum/SHA512/17 1556s ok 1500 /checksum/SHA512/18 1556s ok 1501 /checksum/SHA512/19 1556s ok 1502 /checksum/SHA512/20 1556s ok 1503 /checksum/SHA512/21 1556s ok 1504 /checksum/SHA512/22 1556s ok 1505 /checksum/SHA512/23 1556s ok 1506 /checksum/SHA512/24 1556s ok 1507 /checksum/SHA512/25 1556s ok 1508 /checksum/SHA512/26 1556s ok 1509 /checksum/SHA512/27 1556s ok 1510 /checksum/SHA512/28 1556s ok 1511 /checksum/SHA512/29 1556s ok 1512 /checksum/SHA512/30 1556s ok 1513 /checksum/SHA512/31 1556s ok 1514 /checksum/SHA512/32 1556s ok 1515 /checksum/SHA512/33 1556s ok 1516 /checksum/SHA512/34 1556s ok 1517 /checksum/SHA512/35 1556s ok 1518 /checksum/SHA512/36 1556s ok 1519 /checksum/SHA512/37 1556s ok 1520 /checksum/SHA512/38 1556s ok 1521 /checksum/SHA512/39 1556s ok 1522 /checksum/SHA512/40 1556s ok 1523 /checksum/SHA512/41 1556s ok 1524 /checksum/SHA512/42 1556s ok 1525 /checksum/SHA512/43 1556s ok 1526 /checksum/SHA512/44 1556s ok 1527 /checksum/SHA512/45 1556s ok 1528 /checksum/SHA512/46 1556s ok 1529 /checksum/SHA512/47 1556s ok 1530 /checksum/SHA512/48 1556s ok 1531 /checksum/SHA512/49 1556s ok 1532 /checksum/SHA512/50 1556s ok 1533 /checksum/SHA512/51 1556s ok 1534 /checksum/SHA512/52 1556s ok 1535 /checksum/SHA512/53 1556s ok 1536 /checksum/SHA512/54 1556s ok 1537 /checksum/SHA512/55 1556s ok 1538 /checksum/SHA512/56 1556s ok 1539 /checksum/SHA512/57 1556s ok 1540 /checksum/SHA512/58 1556s ok 1541 /checksum/SHA512/59 1556s ok 1542 /checksum/SHA512/60 1556s ok 1543 /checksum/SHA512/61 1556s ok 1544 /checksum/SHA512/62 1556s ok 1545 /checksum/SHA512/63 1556s ok 1546 /checksum/SHA512/64 1556s ok 1547 /checksum/SHA512/65 1556s ok 1548 /checksum/SHA512/66 1556s ok 1549 /checksum/SHA512/67 1556s ok 1550 /checksum/SHA512/68 1556s ok 1551 /checksum/SHA512/69 1556s ok 1552 /checksum/SHA512/70 1556s ok 1553 /checksum/SHA512/71 1556s ok 1554 /checksum/SHA512/72 1556s ok 1555 /checksum/SHA512/73 1556s ok 1556 /checksum/SHA512/74 1556s ok 1557 /checksum/SHA512/75 1556s ok 1558 /checksum/SHA512/76 1556s ok 1559 /checksum/SHA512/77 1556s ok 1560 /checksum/SHA512/78 1556s ok 1561 /checksum/SHA512/79 1556s ok 1562 /checksum/SHA512/80 1556s ok 1563 /checksum/SHA512/81 1556s ok 1564 /checksum/SHA512/82 1556s ok 1565 /checksum/SHA512/83 1556s ok 1566 /checksum/SHA512/84 1556s ok 1567 /checksum/SHA512/85 1556s ok 1568 /checksum/SHA512/86 1556s ok 1569 /checksum/SHA512/87 1556s ok 1570 /checksum/SHA512/88 1556s ok 1571 /checksum/SHA512/89 1556s ok 1572 /checksum/SHA512/90 1556s ok 1573 /checksum/SHA512/91 1556s ok 1574 /checksum/SHA512/92 1556s ok 1575 /checksum/SHA512/93 1556s ok 1576 /checksum/SHA512/94 1556s ok 1577 /checksum/SHA512/95 1556s ok 1578 /checksum/SHA512/96 1556s ok 1579 /checksum/SHA512/97 1556s ok 1580 /checksum/SHA512/98 1556s ok 1581 /checksum/SHA512/99 1556s ok 1582 /checksum/SHA512/100 1556s ok 1583 /checksum/SHA512/101 1556s ok 1584 /checksum/SHA512/102 1556s ok 1585 /checksum/SHA512/103 1556s ok 1586 /checksum/SHA512/104 1556s ok 1587 /checksum/SHA512/105 1556s ok 1588 /checksum/SHA512/106 1556s ok 1589 /checksum/SHA512/107 1556s ok 1590 /checksum/SHA512/108 1556s ok 1591 /checksum/SHA512/109 1556s ok 1592 /checksum/SHA512/110 1556s ok 1593 /checksum/SHA512/111 1556s ok 1594 /checksum/SHA512/112 1556s ok 1595 /checksum/SHA512/113 1556s ok 1596 /checksum/SHA512/114 1556s ok 1597 /checksum/SHA512/115 1556s ok 1598 /checksum/SHA512/116 1556s ok 1599 /checksum/SHA512/117 1556s ok 1600 /checksum/SHA512/118 1556s ok 1601 /checksum/SHA512/119 1556s ok 1602 /checksum/SHA512/120 1556s ok 1603 /checksum/SHA512/121 1556s ok 1604 /checksum/SHA512/122 1556s ok 1605 /checksum/SHA512/123 1556s ok 1606 /checksum/SHA512/124 1556s ok 1607 /checksum/SHA512/125 1556s ok 1608 /checksum/SHA512/126 1556s ok 1609 /checksum/SHA512/127 1556s ok 1610 /checksum/SHA512/128 1556s ok 1611 /checksum/SHA512/129 1556s ok 1612 /checksum/SHA512/130 1556s ok 1613 /checksum/SHA512/131 1556s ok 1614 /checksum/SHA512/132 1556s ok 1615 /checksum/SHA512/133 1556s ok 1616 /checksum/SHA512/134 1556s ok 1617 /checksum/SHA512/135 1556s ok 1618 /checksum/SHA512/136 1556s ok 1619 /checksum/SHA512/137 1556s ok 1620 /checksum/SHA512/138 1556s ok 1621 /checksum/SHA512/139 1556s ok 1622 /checksum/SHA512/140 1556s ok 1623 /checksum/SHA512/141 1556s ok 1624 /checksum/SHA512/142 1556s ok 1625 /checksum/SHA512/143 1556s ok 1626 /checksum/SHA512/144 1556s ok 1627 /checksum/SHA512/145 1556s ok 1628 /checksum/SHA512/146 1556s ok 1629 /checksum/SHA512/147 1556s ok 1630 /checksum/SHA512/148 1556s ok 1631 /checksum/SHA512/149 1556s ok 1632 /checksum/SHA512/150 1556s ok 1633 /checksum/SHA512/151 1556s ok 1634 /checksum/SHA512/152 1556s ok 1635 /checksum/SHA512/153 1556s ok 1636 /checksum/SHA512/154 1556s ok 1637 /checksum/SHA512/155 1556s ok 1638 /checksum/SHA512/156 1556s ok 1639 /checksum/SHA512/157 1556s ok 1640 /checksum/SHA512/158 1556s ok 1641 /checksum/SHA512/159 1556s ok 1642 /checksum/SHA512/160 1556s ok 1643 /checksum/SHA512/161 1556s ok 1644 /checksum/SHA512/162 1556s ok 1645 /checksum/SHA512/163 1556s ok 1646 /checksum/SHA512/164 1556s ok 1647 /checksum/SHA512/165 1556s ok 1648 /checksum/SHA512/166 1556s ok 1649 /checksum/SHA512/167 1556s ok 1650 /checksum/SHA512/168 1556s ok 1651 /checksum/SHA512/169 1556s ok 1652 /checksum/SHA512/170 1556s ok 1653 /checksum/SHA512/171 1556s ok 1654 /checksum/SHA512/172 1556s ok 1655 /checksum/SHA512/173 1556s ok 1656 /checksum/SHA512/174 1556s ok 1657 /checksum/SHA512/175 1556s ok 1658 /checksum/SHA512/176 1556s ok 1659 /checksum/SHA512/177 1556s ok 1660 /checksum/SHA512/178 1556s ok 1661 /checksum/SHA512/179 1556s ok 1662 /checksum/SHA512/180 1556s ok 1663 /checksum/SHA512/181 1556s ok 1664 /checksum/SHA512/182 1556s ok 1665 /checksum/SHA512/183 1556s ok 1666 /checksum/SHA512/string 1556s ok 1667 /checksum/SHA512/bytes 1556s # Start of reset tests 1556s ok 1668 /checksum/SHA512/reset/0 1556s ok 1669 /checksum/SHA512/reset/1 1556s ok 1670 /checksum/SHA512/reset/2 1556s ok 1671 /checksum/SHA512/reset/3 1556s ok 1672 /checksum/SHA512/reset/4 1556s ok 1673 /checksum/SHA512/reset/5 1556s ok 1674 /checksum/SHA512/reset/6 1556s ok 1675 /checksum/SHA512/reset/7 1556s ok 1676 /checksum/SHA512/reset/8 1556s ok 1677 /checksum/SHA512/reset/9 1556s ok 1678 /checksum/SHA512/reset/10 1556s ok 1679 /checksum/SHA512/reset/11 1556s ok 1680 /checksum/SHA512/reset/12 1556s ok 1681 /checksum/SHA512/reset/13 1556s ok 1682 /checksum/SHA512/reset/14 1556s ok 1683 /checksum/SHA512/reset/15 1556s ok 1684 /checksum/SHA512/reset/16 1556s ok 1685 /checksum/SHA512/reset/17 1556s ok 1686 /checksum/SHA512/reset/18 1556s ok 1687 /checksum/SHA512/reset/19 1556s ok 1688 /checksum/SHA512/reset/20 1556s ok 1689 /checksum/SHA512/reset/21 1556s ok 1690 /checksum/SHA512/reset/22 1556s ok 1691 /checksum/SHA512/reset/23 1556s ok 1692 /checksum/SHA512/reset/24 1556s ok 1693 /checksum/SHA512/reset/25 1556s ok 1694 /checksum/SHA512/reset/26 1556s ok 1695 /checksum/SHA512/reset/27 1556s ok 1696 /checksum/SHA512/reset/28 1556s ok 1697 /checksum/SHA512/reset/29 1556s ok 1698 /checksum/SHA512/reset/30 1556s ok 1699 /checksum/SHA512/reset/31 1556s ok 1700 /checksum/SHA512/reset/32 1556s ok 1701 /checksum/SHA512/reset/33 1556s ok 1702 /checksum/SHA512/reset/34 1556s ok 1703 /checksum/SHA512/reset/35 1556s ok 1704 /checksum/SHA512/reset/36 1556s ok 1705 /checksum/SHA512/reset/37 1556s ok 1706 /checksum/SHA512/reset/38 1556s ok 1707 /checksum/SHA512/reset/39 1556s ok 1708 /checksum/SHA512/reset/40 1556s ok 1709 /checksum/SHA512/reset/41 1556s ok 1710 /checksum/SHA512/reset/42 1556s ok 1711 /checksum/SHA512/reset/43 1556s ok 1712 /checksum/SHA512/reset/44 1556s ok 1713 /checksum/SHA512/reset/45 1556s ok 1714 /checksum/SHA512/reset/46 1556s ok 1715 /checksum/SHA512/reset/47 1556s ok 1716 /checksum/SHA512/reset/48 1556s ok 1717 /checksum/SHA512/reset/49 1556s ok 1718 /checksum/SHA512/reset/50 1556s ok 1719 /checksum/SHA512/reset/51 1556s ok 1720 /checksum/SHA512/reset/52 1556s ok 1721 /checksum/SHA512/reset/53 1556s ok 1722 /checksum/SHA512/reset/54 1556s ok 1723 /checksum/SHA512/reset/55 1556s ok 1724 /checksum/SHA512/reset/56 1556s ok 1725 /checksum/SHA512/reset/57 1556s ok 1726 /checksum/SHA512/reset/58 1556s ok 1727 /checksum/SHA512/reset/59 1556s ok 1728 /checksum/SHA512/reset/60 1556s ok 1729 /checksum/SHA512/reset/61 1556s ok 1730 /checksum/SHA512/reset/62 1556s ok 1731 /checksum/SHA512/reset/63 1556s ok 1732 /checksum/SHA512/reset/64 1556s ok 1733 /checksum/SHA512/reset/65 1556s ok 1734 /checksum/SHA512/reset/66 1556s ok 1735 /checksum/SHA512/reset/67 1556s ok 1736 /checksum/SHA512/reset/68 1556s ok 1737 /checksum/SHA512/reset/69 1556s ok 1738 /checksum/SHA512/reset/70 1556s ok 1739 /checksum/SHA512/reset/71 1556s ok 1740 /checksum/SHA512/reset/72 1556s ok 1741 /checksum/SHA512/reset/73 1556s ok 1742 /checksum/SHA512/reset/74 1556s ok 1743 /checksum/SHA512/reset/75 1556s ok 1744 /checksum/SHA512/reset/76 1556s ok 1745 /checksum/SHA512/reset/77 1556s ok 1746 /checksum/SHA512/reset/78 1556s ok 1747 /checksum/SHA512/reset/79 1556s ok 1748 /checksum/SHA512/reset/80 1556s ok 1749 /checksum/SHA512/reset/81 1556s ok 1750 /checksum/SHA512/reset/82 1556s ok 1751 /checksum/SHA512/reset/83 1556s ok 1752 /checksum/SHA512/reset/84 1556s ok 1753 /checksum/SHA512/reset/85 1556s ok 1754 /checksum/SHA512/reset/86 1556s ok 1755 /checksum/SHA512/reset/87 1556s ok 1756 /checksum/SHA512/reset/88 1556s ok 1757 /checksum/SHA512/reset/89 1556s ok 1758 /checksum/SHA512/reset/90 1556s ok 1759 /checksum/SHA512/reset/91 1556s ok 1760 /checksum/SHA512/reset/92 1556s ok 1761 /checksum/SHA512/reset/93 1556s ok 1762 /checksum/SHA512/reset/94 1556s ok 1763 /checksum/SHA512/reset/95 1556s ok 1764 /checksum/SHA512/reset/96 1556s ok 1765 /checksum/SHA512/reset/97 1556s ok 1766 /checksum/SHA512/reset/98 1556s ok 1767 /checksum/SHA512/reset/99 1556s ok 1768 /checksum/SHA512/reset/100 1556s ok 1769 /checksum/SHA512/reset/101 1556s ok 1770 /checksum/SHA512/reset/102 1556s ok 1771 /checksum/SHA512/reset/103 1556s ok 1772 /checksum/SHA512/reset/104 1556s ok 1773 /checksum/SHA512/reset/105 1556s ok 1774 /checksum/SHA512/reset/106 1556s ok 1775 /checksum/SHA512/reset/107 1556s ok 1776 /checksum/SHA512/reset/108 1556s ok 1777 /checksum/SHA512/reset/109 1556s ok 1778 /checksum/SHA512/reset/110 1556s ok 1779 /checksum/SHA512/reset/111 1556s ok 1780 /checksum/SHA512/reset/112 1556s ok 1781 /checksum/SHA512/reset/113 1556s ok 1782 /checksum/SHA512/reset/114 1556s ok 1783 /checksum/SHA512/reset/115 1556s ok 1784 /checksum/SHA512/reset/116 1556s ok 1785 /checksum/SHA512/reset/117 1556s ok 1786 /checksum/SHA512/reset/118 1556s ok 1787 /checksum/SHA512/reset/119 1556s ok 1788 /checksum/SHA512/reset/120 1556s ok 1789 /checksum/SHA512/reset/121 1556s ok 1790 /checksum/SHA512/reset/122 1556s ok 1791 /checksum/SHA512/reset/123 1556s ok 1792 /checksum/SHA512/reset/124 1556s ok 1793 /checksum/SHA512/reset/125 1556s ok 1794 /checksum/SHA512/reset/126 1556s ok 1795 /checksum/SHA512/reset/127 1556s ok 1796 /checksum/SHA512/reset/128 1556s ok 1797 /checksum/SHA512/reset/129 1556s ok 1798 /checksum/SHA512/reset/130 1556s ok 1799 /checksum/SHA512/reset/131 1556s ok 1800 /checksum/SHA512/reset/132 1556s ok 1801 /checksum/SHA512/reset/133 1556s ok 1802 /checksum/SHA512/reset/134 1556s ok 1803 /checksum/SHA512/reset/135 1556s ok 1804 /checksum/SHA512/reset/136 1556s ok 1805 /checksum/SHA512/reset/137 1556s ok 1806 /checksum/SHA512/reset/138 1556s ok 1807 /checksum/SHA512/reset/139 1556s ok 1808 /checksum/SHA512/reset/140 1556s ok 1809 /checksum/SHA512/reset/141 1556s ok 1810 /checksum/SHA512/reset/142 1556s ok 1811 /checksum/SHA512/reset/143 1556s ok 1812 /checksum/SHA512/reset/144 1556s ok 1813 /checksum/SHA512/reset/145 1556s ok 1814 /checksum/SHA512/reset/146 1556s ok 1815 /checksum/SHA512/reset/147 1556s ok 1816 /checksum/SHA512/reset/148 1556s ok 1817 /checksum/SHA512/reset/149 1556s ok 1818 /checksum/SHA512/reset/150 1556s ok 1819 /checksum/SHA512/reset/151 1556s ok 1820 /checksum/SHA512/reset/152 1556s ok 1821 /checksum/SHA512/reset/153 1556s ok 1822 /checksum/SHA512/reset/154 1556s ok 1823 /checksum/SHA512/reset/155 1556s ok 1824 /checksum/SHA512/reset/156 1556s ok 1825 /checksum/SHA512/reset/157 1556s ok 1826 /checksum/SHA512/reset/158 1556s ok 1827 /checksum/SHA512/reset/159 1556s ok 1828 /checksum/SHA512/reset/160 1556s ok 1829 /checksum/SHA512/reset/161 1556s ok 1830 /checksum/SHA512/reset/162 1556s ok 1831 /checksum/SHA512/reset/163 1556s ok 1832 /checksum/SHA512/reset/164 1556s ok 1833 /checksum/SHA512/reset/165 1556s ok 1834 /checksum/SHA512/reset/166 1556s ok 1835 /checksum/SHA512/reset/167 1556s ok 1836 /checksum/SHA512/reset/168 1556s ok 1837 /checksum/SHA512/reset/169 1556s ok 1838 /checksum/SHA512/reset/170 1556s ok 1839 /checksum/SHA512/reset/171 1556s ok 1840 /checksum/SHA512/reset/172 1556s ok 1841 /checksum/SHA512/reset/173 1556s ok 1842 /checksum/SHA512/reset/174 1556s ok 1843 /checksum/SHA512/reset/175 1556s ok 1844 /checksum/SHA512/reset/176 1556s ok 1845 /checksum/SHA512/reset/177 1556s ok 1846 /checksum/SHA512/reset/178 1556s ok 1847 /checksum/SHA512/reset/179 1556s ok 1848 /checksum/SHA512/reset/180 1556s ok 1849 /checksum/SHA512/reset/181 1556s ok 1850 /checksum/SHA512/reset/182 1556s ok 1851 /checksum/SHA512/reset/183 1556s # End of reset tests 1556s # End of SHA512 tests 1556s # End of checksum tests 1556s ok - glib/checksum.test 1556s # Running test: glib/gdbus-sasl.test 1556s TAP version 13 1556s # random seed: R02S6f634b630a0843c30ae7d73db1f64460 1556s 1..1 1556s # Start of gdbus tests 1556s # Start of sasl tests 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_ERY6J2/gdbus/sasl/server/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_ERY6J2/gdbus/sasl/server/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_ERY6J2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_ERY6J2/gdbus/sasl/server/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_ERY6J2/gdbus/sasl/server/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_ERY6J2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_ERY6J2/gdbus/sasl/server/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_ERY6J2/gdbus/sasl/server/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_ERY6J2/gdbus/sasl/server/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_ERY6J2/gdbus/sasl/server/.dirs/runtime 1556s # New handshake: EXTERNAL with incorrect initial response 1556s # C:“AUTH EXTERNAL 30” 1556s # Expect: /^REJECTED.*$/ 1556s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1556s # New handshake: EXTERNAL without initial response, failing to authenticate 1556s # C:“AUTH EXTERNAL” 1556s # Expect: /^DATA$/ 1556s # S:“DATA” 1556s # C:“DATA 30” 1556s # Expect: /^REJECTED.*$/ 1556s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1556s # New handshake: EXTERNAL with initial response 1556s # C:“AUTH EXTERNAL 31303030” 1556s # Expect: /^OK [0-9a-f]+$/ 1556s # S:“OK 8e2f1c8111b10429b8c8dc9565ec978d” 1556s # New handshake: EXTERNAL without initial response 1556s # C:“AUTH EXTERNAL” 1556s # Expect: /^DATA$/ 1556s # S:“DATA” 1556s # C:“DATA 31303030” 1556s # Expect: /^OK [0-9a-f]+$/ 1556s # S:“OK 8e2f1c8111b10429b8c8dc9565ec978d” 1556s # New handshake: EXTERNAL with empty authorization identity 1556s # C:“AUTH EXTERNAL” 1556s # Expect: /^DATA$/ 1556s # S:“DATA” 1556s # C:“DATA” 1556s # Expect: /^OK [0-9a-f]+$/ 1556s # S:“OK 8e2f1c8111b10429b8c8dc9565ec978d” 1556s # New handshake: EXTERNAL with empty authorization identity and whitespace 1556s # C:“AUTH EXTERNAL” 1556s # Expect: /^DATA$/ 1556s # S:“DATA” 1556s # C:“DATA ” 1556s # Expect: /^OK [0-9a-f]+$/ 1556s # S:“OK 8e2f1c8111b10429b8c8dc9565ec978d” 1556s ok 1 /gdbus/sasl/server 1556s # End of sasl tests 1556s # End of gdbus tests 1556s ok - glib/gdbus-sasl.test 1556s # Running test: glib/macros.test 1556s TAP version 13 1556s # random seed: R02Sac452f85d26920c4a34dba412a386bbb 1556s 1..3 1556s # Start of alignof tests 1556s ok 1 /alignof/fallback 1556s # End of alignof tests 1556s # Start of assert tests 1556s ok 2 /assert/static 1556s # End of assert tests 1556s # Start of struct tests 1556s ok 3 /struct/sizeof_member 1556s # End of struct tests 1556s ok - glib/macros.test 1556s # Running test: glib/hmac.test 1556s TAP version 13 1556s # random seed: R02S53a5d283649cb1e5cba670e4659f4ab6 1556s 1..37 1556s # Start of hmac tests 1556s ok 1 /hmac/sha1-1 1556s ok 2 /hmac/sha1-2 1556s ok 3 /hmac/sha1-3 1556s ok 4 /hmac/sha1-4 1556s ok 5 /hmac/sha1-5 1556s ok 6 /hmac/sha1-6 1556s ok 7 /hmac/sha1-7 1556s ok 8 /hmac/sha256-1 1556s ok 9 /hmac/sha256-2 1556s ok 10 /hmac/sha256-3 1556s ok 11 /hmac/sha256-4 1556s ok 12 /hmac/sha256-5 1556s ok 13 /hmac/sha256-6 1556s ok 14 /hmac/sha384-1 1556s ok 15 /hmac/sha384-2 1556s ok 16 /hmac/sha384-3 1556s ok 17 /hmac/sha384-4 1556s ok 18 /hmac/sha384-5 1556s ok 19 /hmac/sha384-6 1556s ok 20 /hmac/sha512-1 1556s ok 21 /hmac/sha512-2 1556s ok 22 /hmac/sha512-3 1556s ok 23 /hmac/sha512-4 1556s ok 24 /hmac/sha512-5 1556s ok 25 /hmac/sha512-6 1556s ok 26 /hmac/md5-1 1556s ok 27 /hmac/md5-2 1556s ok 28 /hmac/md5-3 1556s ok 29 /hmac/md5-4 1556s ok 30 /hmac/md5-5 1556s ok 31 /hmac/md5-6 1556s ok 32 /hmac/md5-7 1556s ok 33 /hmac/ref-unref 1556s ok 34 /hmac/copy 1556s ok 35 /hmac/for-data 1556s ok 36 /hmac/for-string 1556s ok 37 /hmac/for-bytes 1556s # End of hmac tests 1556s ok - glib/hmac.test 1556s # Running test: glib/completion.test 1556s TAP version 13 1556s # random seed: R02S27e5307209140def6ed23e595402c7d7 1556s 1..1 1556s # Start of completion tests 1556s ok 1 /completion/test-completion 1556s # End of completion tests 1556s ok - glib/completion.test 1556s # Running test: glib/gmenumodel.test 1556s TAP version 13 1556s # random seed: R02S0ef0837e9d25cbb7d678e8df929cfe49 1556s 1..14 1556s # Start of gmenu tests 1559s ok 1 /gmenu/equality 1559s # slow test /gmenu/equality executed in 2.70 secs 1560s # Executing: glib/gmenumodel.test 1562s ok 2 /gmenu/random 1562s # slow test /gmenu/random executed in 2.97 secs 1562s ok 3 /gmenu/attributes 1562s ok 4 /gmenu/links 1562s ok 5 /gmenu/mutable 1562s ok 6 /gmenu/convenience 1562s ok 7 /gmenu/menuitem 1562s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s ok 8 /gmenu/input-validation 1562s # Start of dbus tests 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s ok 9 /gmenu/dbus/roundtrip 1563s # slow test /gmenu/dbus/roundtrip executed in 1.18 secs 1564s ok 10 /gmenu/dbus/subscriptions 1565s # Executing: glib/gmenumodel.test 1569s ok 11 /gmenu/dbus/threaded 1569s # slow test /gmenu/dbus/threaded executed in 4.73 secs 1569s # Start of peer tests 1570s ok 12 /gmenu/dbus/peer/roundtrip 1570s # slow test /gmenu/dbus/peer/roundtrip executed in 1.07 secs 1570s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 1570s # End of peer tests 1570s # End of dbus tests 1570s # Start of attributes tests 1570s ok 14 /gmenu/attributes/iterate 1570s # End of attributes tests 1570s # End of gmenu tests 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s ok - glib/gmenumodel.test 1570s # Running test: glib/deprecated-properties.test 1570s TAP version 13 1570s # random seed: R02S5c9e1147accb9bf54e6fcb758a6f8e36 1570s 1..3 1570s # Start of deprecated-properties tests 1570s ok 1 /deprecated-properties/construct 1570s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1570s ok 2 /deprecated-properties/default-construct 1570s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1570s ok 3 /deprecated-properties/set 1570s # End of deprecated-properties tests 1570s ok - glib/deprecated-properties.test 1570s # Running test: glib/include.test 1570s TAP version 13 1570s # random seed: R02Sa98ab5bca4ccd299ef97ea18ba63c393 1570s 1..1 1570s # Start of include tests 1570s ok 1 /include/rwlock 1570s # End of include tests 1570s ok - glib/include.test 1570s # Running test: glib/repository.test 1570s TAP version 13 1570s # random seed: R02S6cdd492294a9b8a365e6aa3d43673bc8 1570s 1..21 1570s # Start of repository tests 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/basic/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/basic/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/basic/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/basic/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/basic/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/basic/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/basic/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/basic/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/basic/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/basic/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1570s ok 1 /repository/basic 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/info/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/info/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/info/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/info/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/info/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/info/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/info/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/info/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/info/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/info/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1570s ok 2 /repository/info 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/dependencies/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/dependencies/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/dependencies/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/dependencies/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/dependencies/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/dependencies/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/dependencies/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/dependencies/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1570s ok 3 /repository/dependencies 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/arg-info/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/arg-info/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/arg-info/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/arg-info/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/arg-info/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/arg-info/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/arg-info/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/arg-info/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1570s ok 4 /repository/arg-info 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/callable-info/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/callable-info/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/callable-info/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/callable-info/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/callable-info/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/callable-info/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/callable-info/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/callable-info/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1570s ok 5 /repository/callable-info 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/callback-info/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/callback-info/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/callback-info/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/callback-info/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/callback-info/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/callback-info/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/callback-info/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/callback-info/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1570s ok 6 /repository/callback-info 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/char-types/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/char-types/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/char-types/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/char-types/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/char-types/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/char-types/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/char-types/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/char-types/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/char-types/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/char-types/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1570s ok 7 /repository/char-types 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/constructor-return-type/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/constructor-return-type/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/constructor-return-type/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/constructor-return-type/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/constructor-return-type/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/constructor-return-type/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/constructor-return-type/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/constructor-return-type/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1570s ok 8 /repository/constructor-return-type 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/enum-info-c-identifier/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/enum-info-c-identifier/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/enum-info-c-identifier/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/enum-info-c-identifier/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/enum-info-c-identifier/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/enum-info-c-identifier/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/enum-info-c-identifier/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/enum-info-c-identifier/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1570s ok 9 /repository/enum-info-c-identifier 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/enum-info-static-methods/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/enum-info-static-methods/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/enum-info-static-methods/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/enum-info-static-methods/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/enum-info-static-methods/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/enum-info-static-methods/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/enum-info-static-methods/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/enum-info-static-methods/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/enum-info-static-methods summary: Test an enum with methods 1570s ok 10 /repository/enum-info-static-methods 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/error-quark/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/error-quark/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/error-quark/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/error-quark/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/error-quark/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/error-quark/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/error-quark/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/error-quark/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/error-quark summary: Test finding an error quark by error domain 1570s ok 11 /repository/error-quark 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/flags-info-c-identifier/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/flags-info-c-identifier/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/flags-info-c-identifier/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/flags-info-c-identifier/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/flags-info-c-identifier/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/flags-info-c-identifier/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/flags-info-c-identifier/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/flags-info-c-identifier/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1570s ok 12 /repository/flags-info-c-identifier 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/fundamental-ref-func/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/fundamental-ref-func/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/fundamental-ref-func/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/fundamental-ref-func/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/fundamental-ref-func/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/fundamental-ref-func/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/fundamental-ref-func/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/fundamental-ref-func/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1570s ok 13 /repository/fundamental-ref-func 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/instance-method-ownership-transfer/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/instance-method-ownership-transfer/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/instance-method-ownership-transfer/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/instance-method-ownership-transfer/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/instance-method-ownership-transfer/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/instance-method-ownership-transfer/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/instance-method-ownership-transfer/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/instance-method-ownership-transfer/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1570s ok 14 /repository/instance-method-ownership-transfer 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/object-gtype-interfaces/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/object-gtype-interfaces/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/object-gtype-interfaces/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/object-gtype-interfaces/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/object-gtype-interfaces/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/object-gtype-interfaces/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/object-gtype-interfaces/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/object-gtype-interfaces/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1570s ok 15 /repository/object-gtype-interfaces 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/signal-info-with-array-length-arg/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/signal-info-with-array-length-arg/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/signal-info-with-array-length-arg/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/signal-info-with-array-length-arg/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/signal-info-with-array-length-arg/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/signal-info-with-array-length-arg/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1570s ok 16 /repository/signal-info-with-array-length-arg 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/type-info-name/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/type-info-name/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/type-info-name/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/type-info-name/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/type-info-name/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/type-info-name/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/type-info-name/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/type-info-name/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1570s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1570s ok 17 /repository/type-info-name 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-no-invoker/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-no-invoker/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-no-invoker/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-no-invoker/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-no-invoker/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1570s ok 18 /repository/vfunc-info-with-no-invoker 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1570s ok 19 /repository/vfunc-info-with-invoker-on-interface 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1570s ok 20 /repository/vfunc-info-with-invoker-on-object 1570s # Start of base-info tests 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4GRGK2/repository/base-info/clear/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4GRGK2/repository/base-info/clear/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4GRGK2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_4GRGK2/repository/base-info/clear/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4GRGK2/repository/base-info/clear/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4GRGK2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_4GRGK2/repository/base-info/clear/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4GRGK2/repository/base-info/clear/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4GRGK2/repository/base-info/clear/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4GRGK2/repository/base-info/clear/.dirs/runtime 1570s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1570s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1570s ok 21 /repository/base-info/clear 1570s # End of base-info tests 1570s # End of repository tests 1570s ok - glib/repository.test 1570s # Running test: glib/null-settings-backend.test 1570s # Executing: glib/null-settings-backend.test 1570s TAP version 13 1570s # random seed: R02S741aabc7d3a463289bfa1a1f54308bb0 1570s 1..1 1570s # Start of null-settings-backend tests 1570s ok 1 /null-settings-backend/extension-point-registered 1570s # End of null-settings-backend tests 1570s ok - glib/null-settings-backend.test 1570s # Running test: glib/codegen.py.test 1571s TAP version 13 1571s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1571s # tmpdir: /tmp/tmpg84bj4bh 1571s # codegen: /usr/bin/gdbus-codegen 1571s # /tmp/tmpg84bj4bh/tmpld98jid4.xml: 1571s # 1571s # 1571s # 1571s # 1571s # 1571s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg84bj4bh/tmpld98jid4.xml', '--output', '-', '--header'] 1571s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1571s # Output: /* 1571s # * This file is generated by gdbus-codegen, do not modify it. 1571s # * 1571s # * The license of this code is the same as for the D-Bus interface description 1571s # * it was derived from. Note that it links to GLib, so must comply with the 1571s # * LGPL linking clauses. 1571s # */ 1571s # 1571s # #ifndef __STDOUT__ 1571s # #define __STDOUT__ 1571s # 1571s # #include 1571s # 1571s # G_BEGIN_DECLS 1571s # 1571s # 1571s # /* ------------------------------------------------------------------------ */ 1571s # /* Declarations for org.project.UsefulInterface */ 1571s # 1571s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1571s # 1571s # struct _OrgProjectUsefulInterface; 1571s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1571s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1571s # 1571s # struct _OrgProjectUsefulInterfaceIface 1571s # { 1571s # GTypeInterface parent_iface; 1571s # 1571s # gboolean (*handle_useful_method) ( 1571s # OrgProjectUsefulInterface *object, 1571s # GDBusMethodInvocation *invocation); 1571s # 1571s # }; 1571s # 1571s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1571s # 1571s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1571s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1571s # 1571s # 1571s # /* D-Bus method call completion functions: */ 1571s # void org_project_useful_interface_complete_useful_method ( 1571s # OrgProjectUsefulInterface *object, 1571s # GDBusMethodInvocation *invocation); 1571s # 1571s # 1571s # 1571s # /* D-Bus method calls: */ 1571s # void org_project_useful_interface_call_useful_method ( 1571s # OrgProjectUsefulInterface *proxy, 1571s # GCancellable *cancellable, 1571s # GAsyncReadyCallback callback, 1571s # gpointer user_data); 1571s # 1571s # gboolean org_project_useful_interface_call_useful_method_finish ( 1571s # OrgProjectUsefulInterface *proxy, 1571s # GAsyncResult *res, 1571s # GError **error); 1571s # 1571s # gboolean org_project_useful_interface_call_useful_method_sync ( 1571s # OrgProjectUsefulInterface *proxy, 1571s # GCancellable *cancellable, 1571s # GError **error); 1571s # 1571s # 1571s # 1571s # /* ---- */ 1571s # 1571s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1571s # 1571s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1571s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1571s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1571s # 1571s # struct _OrgProjectUsefulInterfaceProxy 1571s # { 1571s # /*< private >*/ 1571s # GDBusProxy parent_instance; 1571s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1571s # }; 1571s # 1571s # struct _OrgProjectUsefulInterfaceProxyClass 1571s # { 1571s # GDBusProxyClass parent_class; 1571s # }; 1571s # 1571s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1571s # 1571s # #if GLIB_CHECK_VERSION(2, 44, 0) 1571s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1571s # #endif 1571s # 1571s # void org_project_useful_interface_proxy_new ( 1571s # GDBusConnection *connection, 1571s # GDBusProxyFlags flags, 1571s # const gchar *name, 1571s # const gchar *object_path, 1571s # GCancellable *cancellable, 1571s # GAsyncReadyCallback callback, 1571s # gpointer user_data); 1571s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1571s # GAsyncResult *res, 1571s # GError **error); 1571s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1571s # GDBusConnection *connection, 1571s # GDBusProxyFlags flags, 1571s # const gchar *name, 1571s # const gchar *object_path, 1571s # GCancellable *cancellable, 1571s # GError **error); 1571s # 1571s # void org_project_useful_interface_proxy_new_for_bus ( 1571s # GBusType bus_type, 1571s # GDBusProxyFlags flags, 1571s # const gchar *name, 1571s # const gchar *object_path, 1571s # GCancellable *cancellable, 1571s # GAsyncReadyCallback callback, 1571s # gpointer user_data); 1571s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1571s # GAsyncResult *res, 1571s # GError **error); 1571s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1571s # GBusType bus_type, 1571s # GDBusProxyFlags flags, 1571s # const gchar *name, 1571s # const gchar *object_path, 1571s # GCancellable *cancellable, 1571s # GError **error); 1571s # 1571s # 1571s # /* ---- */ 1571s # 1571s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1571s # 1571s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1571s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1571s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1571s # 1571s # struct _OrgProjectUsefulInterfaceSkeleton 1571s # { 1571s # /*< private >*/ 1571s # GDBusInterfaceSkeleton parent_instance; 1571s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1571s # }; 1571s # 1571s # struct _OrgProjectUsefulInterfaceSkeletonClass 1571s # { 1571s # GDBusInterfaceSkeletonClass parent_class; 1571s # }; 1571s # 1571s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1571s # 1571s # #if GLIB_CHECK_VERSION(2, 44, 0) 1571s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1571s # #endif 1571s # 1571s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1571s # 1571s # 1571s # G_END_DECLS 1571s # 1571s # #endif /* __STDOUT__ */ 1571s # /tmp/tmpg84bj4bh/tmp312bdzko.xml: 1571s # 1571s # 1571s # 1571s # 1571s # 1571s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg84bj4bh/tmp312bdzko.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1571s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1571s # Output: /* 1571s # * This file is generated by gdbus-codegen, do not modify it. 1571s # * 1571s # * The license of this code is the same as for the D-Bus interface description 1571s # * it was derived from. Note that it links to GLib, so must comply with the 1571s # * LGPL linking clauses. 1571s # */ 1571s # 1571s # #ifndef __STDOUT__ 1571s # #define __STDOUT__ 1571s # 1571s # #include 1571s # 1571s # G_BEGIN_DECLS 1571s # 1571s # 1571s # /* ------------------------------------------------------------------------ */ 1571s # /* Declarations for org.project.UsefulInterface */ 1571s # 1571s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1571s # 1571s # struct _OrgProjectUsefulInterface; 1571s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1571s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1571s # 1571s # struct _OrgProjectUsefulInterfaceIface 1571s # { 1571s # GTypeInterface parent_iface; 1571s # 1571s # gboolean (*handle_useful_method) ( 1571s # OrgProjectUsefulInterface *object, 1571s # GDBusMethodInvocation *invocation); 1571s # 1571s # }; 1571s # 1571s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1571s # 1571s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1571s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1571s # 1571s # 1571s # /* D-Bus method call completion functions: */ 1571s # void org_project_useful_interface_complete_useful_method ( 1571s # OrgProjectUsefulInterface *object, 1571s # GDBusMethodInvocation *invocation); 1571s # 1571s # 1571s # 1571s # /* D-Bus method calls: */ 1571s # void org_project_useful_interface_call_useful_method ( 1571s # OrgProjectUsefulInterface *proxy, 1571s # GCancellable *cancellable, 1571s # GAsyncReadyCallback callback, 1571s # gpointer user_data); 1571s # 1571s # gboolean org_project_useful_interface_call_useful_method_finish ( 1571s # OrgProjectUsefulInterface *proxy, 1571s # GAsyncResult *res, 1571s # GError **error); 1571s # 1571s # gboolean org_project_useful_interface_call_useful_method_sync ( 1571s # OrgProjectUsefulInterface *proxy, 1571s # GCancellable *cancellable, 1571s # GError **error); 1571s # 1571s # 1571s # 1571s # /* ---- */ 1571s # 1571s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1571s # 1571s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1571s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1571s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1571s # 1571s # struct _OrgProjectUsefulInterfaceProxy 1571s # { 1571s # /*< private >*/ 1571s # GDBusProxy parent_instance; 1571s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1571s # }; 1571s # 1571s # struct _OrgProjectUsefulInterfaceProxyClass 1571s # { 1571s # GDBusProxyClass parent_class; 1571s # }; 1571s # 1571s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1571s # 1571s # #if GLIB_CHECK_VERSION(2, 44, 0) 1571s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1571s # #endif 1571s # 1571s # void org_project_useful_interface_proxy_new ( 1571s # GDBusConnection *connection, 1571s # GDBusProxyFlags flags, 1571s # const gchar *name, 1571s # const gchar *object_path, 1571s # GCancellable *cancellable, 1571s # GAsyncReadyCallback callback, 1571s # gpointer user_data); 1571s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1571s # GAsyncResult *res, 1571s # GError **error); 1571s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1571s # GDBusConnection *connection, 1571s # GDBusProxyFlags flags, 1571s # const gchar *name, 1571s # const gchar *object_path, 1571s # GCancellable *cancellable, 1571s # GError **error); 1571s # 1571s # void org_project_useful_interface_proxy_new_for_bus ( 1571s # GBusType bus_type, 1571s # GDBusProxyFlags flags, 1571s # const gchar *name, 1571s # const gchar *object_path, 1571s # GCancellable *cancellable, 1571s # GAsyncReadyCallback callback, 1571s # gpointer user_data); 1571s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1571s # GAsyncResult *res, 1571s # GError **error); 1571s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1571s # GBusType bus_type, 1571s # GDBusProxyFlags flags, 1571s # const gchar *name, 1571s # const gchar *object_path, 1571s # GCancellable *cancellable, 1571s # GError **error); 1571s # 1571s # 1571s # /* ---- */ 1571s # 1571s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1571s # 1571s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1571s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1571s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1571s # 1571s # struct _OrgProjectUsefulInterfaceSkeleton 1571s # { 1571s # /*< private >*/ 1571s # GDBusInterfaceSkeleton parent_instance; 1571s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1571s # }; 1571s # 1571s # struct _OrgProjectUsefulInterfaceSkeletonClass 1571s # { 1571s # GDBusInterfaceSkeletonClass parent_class; 1571s # }; 1571s # 1571s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1571s # 1571s # #if GLIB_CHECK_VERSION(2, 44, 0) 1571s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1571s # #endif 1571s # 1571s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1571s # 1571s # 1571s # G_END_DECLS 1571s # 1571s # #endif /* __STDOUT__ */ 1571s # /tmp/tmpg84bj4bh/tmpqosrf53u.xml: 1571s # 1571s # 1571s # 1571s # 1571s # 1571s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg84bj4bh/tmpqosrf53u.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1571s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1571s # Output: /* 1571s # * This file is generated by gdbus-codegen, do not modify it. 1571s # * 1571s # * The license of this code is the same as for the D-Bus interface description 1571s # * it was derived from. Note that it links to GLib, so must comply with the 1571s # * LGPL linking clauses. 1571s # */ 1571s # 1571s # #ifndef __STDOUT__ 1571s # #define __STDOUT__ 1571s # 1571s # #include 1571s # 1571s # G_BEGIN_DECLS 1571s # 1571s # 1571s # /* ------------------------------------------------------------------------ */ 1571s # /* Declarations for org.project.UsefulInterface */ 1571s # 1571s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1571s # 1571s # struct _OrgProjectUsefulInterface; 1571s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1571s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1571s # 1571s # struct _OrgProjectUsefulInterfaceIface 1571s # { 1571s # GTypeInterface parent_iface; 1571s # 1571s # gboolean (*handle_useful_method) ( 1571s # OrgProjectUsefulInterface *object, 1571s # GDBusMethodInvocation *invocation); 1571s # 1571s # }; 1571s # 1571s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1571s # 1571s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1571s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1571s # 1571s # 1571s # /* D-Bus method call completion functions: */ 1571s # void org_project_useful_interface_complete_useful_method ( 1571s # OrgProjectUsefulInterface *object, 1571s # GDBusMethodInvocation *invocation); 1571s # 1571s # 1571s # 1571s # /* D-Bus method calls: */ 1571s # void org_project_useful_interface_call_useful_method ( 1571s # OrgProjectUsefulInterface *proxy, 1571s # GDBusCallFlags call_flags, 1571s # gint timeout_msec, 1571s # GCancellable *cancellable, 1571s # GAsyncReadyCallback callback, 1571s # gpointer user_data); 1571s # 1571s # gboolean org_project_useful_interface_call_useful_method_finish ( 1571s # OrgProjectUsefulInterface *proxy, 1571s # GAsyncResult *res, 1571s # GError **error); 1571s # 1571s # gboolean org_project_useful_interface_call_useful_method_sync ( 1571s # OrgProjectUsefulInterface *proxy, 1571s # GDBusCallFlags call_flags, 1571s # gint timeout_msec, 1571s # GCancellable *cancellable, 1571s # GError **error); 1571s # 1571s # 1571s # 1571s # /* ---- */ 1571s # 1571s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1571s # 1571s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1571s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1571s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1571s # 1571s # struct _OrgProjectUsefulInterfaceProxy 1571s # { 1571s # /*< private >*/ 1571s # GDBusProxy parent_instance; 1571s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1571s # }; 1571s # 1571s # struct _OrgProjectUsefulInterfaceProxyClass 1571s # { 1571s # GDBusProxyClass parent_class; 1571s # }; 1571s # 1571s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1571s # 1571s # #if GLIB_CHECK_VERSION(2, 44, 0) 1571s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1571s # #endif 1571s # 1571s # void org_project_useful_interface_proxy_new ( 1571s # GDBusConnection *connection, 1571s # GDBusProxyFlags flags, 1571s # const gchar *name, 1571s # const gchar *object_path, 1571s # GCancellable *cancellable, 1571s # GAsyncReadyCallback callback, 1571s # gpointer user_data); 1571s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1571s # GAsyncResult *res, 1571s # GError **error); 1571s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1571s # GDBusConnection *connection, 1571s # GDBusProxyFlags flags, 1571s # const gchar *name, 1571s # const gchar *object_path, 1571s # GCancellable *cancellable, 1571s # GError **error); 1571s # 1571s # void org_project_useful_interface_proxy_new_for_bus ( 1571s # GBusType bus_type, 1571s # GDBusProxyFlags flags, 1571s # const gchar *name, 1571s # const gchar *object_path, 1571s # GCancellable *cancellable, 1571s # GAsyncReadyCallback callback, 1571s # gpointer user_data); 1571s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1571s # GAsyncResult *res, 1571s # GError **error); 1571s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1571s # GBusType bus_type, 1571s # GDBusProxyFlags flags, 1571s # const gchar *name, 1571s # const gchar *object_path, 1571s # GCancellable *cancellable, 1571s # GError **error); 1571s # 1571s # 1571s # /* ---- */ 1571s # 1571s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1571s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1571s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1571s # 1571s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1571s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1571s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1571s # 1571s # struct _OrgProjectUsefulInterfaceSkeleton 1571s # { 1571s # /*< private >*/ 1571s # GDBusInterfaceSkeleton parent_instance; 1571s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1571s # }; 1571s # 1571s # struct _OrgProjectUsefulInterfaceSkeletonClass 1571s # { 1571s # GDBusInterfaceSkeletonClass parent_class; 1571s # }; 1571s # 1571s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1571s # 1571s # #if GLIB_CHECK_VERSION(2, 44, 0) 1571s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1571s # #endif 1571s # 1571s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1571s # 1571s # 1571s # G_END_DECLS 1571s # 1571s # #endif /* __STDOUT__ */ 1573s ok 2 __main__.TestCodegen.test_dbus_types 1573s # tmpdir: /tmp/tmpc2py6zeh 1573s # codegen: /usr/bin/gdbus-codegen 1573s # /tmp/tmpc2py6zeh/tmpya7qf63j.xml: 1573s # 1573s # 1573s # 1573s # 1573s # 1573s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmpya7qf63j.xml', '--output', '-', '--body'] 1573s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1573s # /tmp/tmpc2py6zeh/tmpdxj0owix.xml: 1573s # 1573s # 1573s # 1573s # 1573s # 1573s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmpdxj0owix.xml', '--output', '-', '--body'] 1573s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1573s # /tmp/tmpc2py6zeh/tmp4exn04xo.xml: 1573s # 1573s # 1573s # 1573s # 1573s # 1573s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmp4exn04xo.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # /tmp/tmpc2py6zeh/tmpgcsg3g_n.xml: 1574s # 1574s # 1574s # 1574s # 1574s # 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmpgcsg3g_n.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # /tmp/tmpc2py6zeh/tmpbb7tk6xm.xml: 1574s # 1574s # 1574s # 1574s # 1574s # 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmpbb7tk6xm.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # /tmp/tmpc2py6zeh/tmpbhqw11g_.xml: 1574s # 1574s # 1574s # 1574s # 1574s # 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmpbhqw11g_.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # /tmp/tmpc2py6zeh/tmp4babofpd.xml: 1574s # 1574s # 1574s # 1574s # 1574s # 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmp4babofpd.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # /tmp/tmpc2py6zeh/tmpjicov88l.xml: 1574s # 1574s # 1574s # 1574s # 1574s # 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmpjicov88l.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # /tmp/tmpc2py6zeh/tmp95y48o0f.xml: 1574s # 1574s # 1574s # 1574s # 1574s # 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmp95y48o0f.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # /tmp/tmpc2py6zeh/tmpsykk1nm4.xml: 1574s # 1574s # 1574s # 1574s # 1574s # 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmpsykk1nm4.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # /tmp/tmpc2py6zeh/tmpyie7i0ef.xml: 1574s # 1574s # 1574s # 1574s # 1574s # 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmpyie7i0ef.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # /tmp/tmpc2py6zeh/tmp5zn7iwj3.xml: 1574s # 1574s # 1574s # 1574s # 1574s # 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmp5zn7iwj3.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # /tmp/tmpc2py6zeh/tmpjm5llhxe.xml: 1574s # 1574s # 1574s # 1574s # 1574s # 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmpjm5llhxe.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # /tmp/tmpc2py6zeh/tmprncl48w5.xml: 1574s # 1574s # 1574s # 1574s # 1574s # 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmprncl48w5.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # Output: /* 1574s # * This file is generated by gdbus-codegen, do not modify it. 1574s # * 1574s # * The license of this code is the same as for the D-Bus interface description 1574s # * it was derived from. Note that it links to GLib, so must comply with the 1574s # * LGPL linking clauses. 1574s # */ 1574s # 1574s # #ifdef HAVE_CONFIG_H 1574s # # include "config.h" 1574s # #endif 1574s # 1574s # #include 1574s # #ifdef G_OS_UNIX 1574s # # include 1574s # #endif 1574s # 1574s # #ifdef G_ENABLE_DEBUG 1574s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1574s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1574s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1574s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1574s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1574s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1574s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1574s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1574s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1574s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1574s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1574s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1574s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1574s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1574s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1574s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1574s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1574s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1574s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1574s # #else /* !G_ENABLE_DEBUG */ 1574s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1574s # * Do not access GValues directly in your code. Instead, use the 1574s # * g_value_get_*() functions 1574s # */ 1574s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1574s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1574s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1574s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1574s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1574s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1574s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1574s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1574s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1574s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1574s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1574s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1574s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1574s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1574s # #endif /* !G_ENABLE_DEBUG */ 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusArgInfo parent_struct; 1574s # gboolean use_gvariant; 1574s # } _ExtendedGDBusArgInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusMethodInfo parent_struct; 1574s # const gchar *signal_name; 1574s # gboolean pass_fdlist; 1574s # } _ExtendedGDBusMethodInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusSignalInfo parent_struct; 1574s # const gchar *signal_name; 1574s # } _ExtendedGDBusSignalInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusPropertyInfo parent_struct; 1574s # const gchar *hyphen_name; 1574s # guint use_gvariant : 1; 1574s # guint emits_changed_signal : 1; 1574s # } _ExtendedGDBusPropertyInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusInterfaceInfo parent_struct; 1574s # const gchar *hyphen_name; 1574s # } _ExtendedGDBusInterfaceInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info; 1574s # guint prop_id; 1574s # GValue orig_value; /* the value before the change */ 1574s # } ChangedProperty; 1574s # 1574s # static void 1574s # _changed_property_free (ChangedProperty *data) 1574s # { 1574s # g_value_unset (&data->orig_value); 1574s # g_free (data); 1574s # } 1574s # 1574s # static gboolean 1574s # _g_strv_equal0 (gchar **a, gchar **b) 1574s # { 1574s # gboolean ret = FALSE; 1574s # guint n; 1574s # if (a == NULL && b == NULL) 1574s # { 1574s # ret = TRUE; 1574s # goto out; 1574s # } 1574s # if (a == NULL || b == NULL) 1574s # goto out; 1574s # if (g_strv_length (a) != g_strv_length (b)) 1574s # goto out; 1574s # for (n = 0; a[n] != NULL; n++) 1574s # if (g_strcmp0 (a[n], b[n]) != 0) 1574s # goto out; 1574s # ret = TRUE; 1574s # out: 1574s # return ret; 1574s # } 1574s # 1574s # static gboolean 1574s # _g_variant_equal0 (GVariant *a, GVariant *b) 1574s # { 1574s # gboolean ret = FALSE; 1574s # if (a == NULL && b == NULL) 1574s # { 1574s # ret = TRUE; 1574s # goto out; 1574s # } 1574s # if (a == NULL || b == NULL) 1574s # goto out; 1574s # ret = g_variant_equal (a, b); 1574s # out: 1574s # return ret; 1574s # } 1574s # 1574s # G_GNUC_UNUSED static gboolean 1574s # _g_value_equal (const GValue *a, const GValue *b) 1574s # { 1574s # gboolean ret = FALSE; 1574s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1574s # switch (G_VALUE_TYPE (a)) 1574s # { 1574s # case G_TYPE_BOOLEAN: 1574s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1574s # break; 1574s # case G_TYPE_UCHAR: 1574s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1574s # break; 1574s # case G_TYPE_INT: 1574s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1574s # break; 1574s # case G_TYPE_UINT: 1574s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1574s # break; 1574s # case G_TYPE_INT64: 1574s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1574s # break; 1574s # case G_TYPE_UINT64: 1574s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1574s # break; 1574s # case G_TYPE_DOUBLE: 1574s # { 1574s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1574s # gdouble da = g_value_get_double (a); 1574s # gdouble db = g_value_get_double (b); 1574s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1574s # } 1574s # break; 1574s # case G_TYPE_STRING: 1574s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1574s # break; 1574s # case G_TYPE_VARIANT: 1574s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1574s # break; 1574s # default: 1574s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1574s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1574s # else 1574s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1574s # break; 1574s # } 1574s # return ret; 1574s # } 1574s # 1574s # /* ------------------------------------------------------------------------ 1574s # * Code for interface GoodTypes 1574s # * ------------------------------------------------------------------------ 1574s # */ 1574s # 1574s # /** 1574s # * SECTION:GoodTypes 1574s # * @title: GoodTypes 1574s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1574s # * 1574s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1574s # */ 1574s # 1574s # /* ---- Introspection data for GoodTypes ---- */ 1574s # 1574s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1574s # { 1574s # { 1574s # -1, 1574s # (gchar *) "GoodPropertyType", 1574s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1574s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1574s # NULL 1574s # }, 1574s # "good-property-type", 1574s # FALSE, 1574s # TRUE 1574s # }; 1574s # 1574s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1574s # { 1574s # &_good_types_property_info_good_property_type.parent_struct, 1574s # NULL 1574s # }; 1574s # 1574s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1574s # { 1574s # { 1574s # -1, 1574s # (gchar *) "GoodTypes", 1574s # NULL, 1574s # NULL, 1574s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1574s # NULL 1574s # }, 1574s # "good-types", 1574s # }; 1574s # 1574s # 1574s # /** 1574s # * good_types_interface_info: 1574s # * 1574s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1574s # * 1574s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1574s # */ 1574s # GDBusInterfaceInfo * 1574s # good_types_interface_info (void) 1574s # { 1574s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1574s # } 1574s # 1574s # /** 1574s # * good_types_override_properties: 1574s # * @klass: The class structure for a #GObject derived class. 1574s # * @property_id_begin: The property id to assign to the first overridden property. 1574s # * 1574s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1574s # * The properties are overridden in the order they are defined. 1574s # * 1574s # * Returns: The last property id. 1574s # */ 1574s # guint 1574s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1574s # { 1574s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1574s # return property_id_begin - 1; 1574s # } 1574s # 1574s # 1574s # 1574s # /** 1574s # * GoodTypes: 1574s # * 1574s # * Abstract interface type for the D-Bus interface GoodTypes. 1574s # */ 1574s # 1574s # /** 1574s # * GoodTypesIface: 1574s # * @parent_iface: The parent interface. 1574s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1574s # * 1574s # * Virtual table for the D-Bus interface GoodTypes. 1574s # */ 1574s # 1574s # typedef GoodTypesIface GoodTypesInterface; 1574s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1574s # 1574s # static void 1574s # good_types_default_init (GoodTypesIface *iface) 1574s # { 1574s # /* GObject properties for D-Bus properties: */ 1574s # /** 1574s # * GoodTypes:good-property-type: 1574s # * 1574s # * Represents the D-Bus property "GoodPropertyType". 1574s # * 1574s # * 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. 1574s # */ 1574s # g_object_interface_install_property (iface, 1574s # 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)); 1574s # } 1574s # 1574s # /** 1574s # * good_types_get_good_property_type: (skip) 1574s # * @object: A GoodTypes. 1574s # * 1574s # * Gets the value of the "GoodPropertyType" D-Bus property. 1574s # * 1574s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1574s # * 1574s # * 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. 1574s # * 1574s # * 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. 1574s # */ 1574s # GVariant * 1574s # good_types_get_good_property_type (GoodTypes *object) 1574s # { 1574s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1574s # 1574s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1574s # } 1574s # 1574s # /** 1574s # * good_types_dup_good_property_type: (skip) 1574s # * @object: A GoodTypes. 1574s # * 1574s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1574s # * 1574s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1574s # * 1574s # * 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(). 1574s # */ 1574s # GVariant * 1574s # good_types_dup_good_property_type (GoodTypes *object) 1574s # { 1574s # GVariant *value; 1574s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1574s # return value; 1574s # } 1574s # 1574s # /** 1574s # * good_types_set_good_property_type: (skip) 1574s # * @object: A GoodTypes. 1574s # * @value: The value to set. 1574s # * 1574s # * Sets the "GoodPropertyType" D-Bus property to @value. 1574s # * 1574s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1574s # */ 1574s # void 1574s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1574s # { 1574s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1574s # } 1574s # 1574s # /* ------------------------------------------------------------------------ */ 1574s # 1574s # /** 1574s # * GoodTypesProxy: 1574s # * 1574s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1574s # */ 1574s # 1574s # /** 1574s # * GoodTypesProxyClass: 1574s # * @parent_class: The parent class. 1574s # * 1574s # * Class structure for GoodTypesProxy. 1574s # */ 1574s # 1574s # struct _GoodTypesProxyPrivate 1574s # { 1574s # GData *qdata; 1574s # }; 1574s # 1574s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1574s # 1574s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1574s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1574s # G_ADD_PRIVATE (GoodTypesProxy) 1574s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1574s # 1574s # #else 1574s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1574s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1574s # 1574s # #endif 1574s # static void 1574s # good_types_proxy_finalize (GObject *object) 1574s # { 1574s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1574s # g_datalist_clear (&proxy->priv->qdata); 1574s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_get_property (GObject *object, 1574s # guint prop_id, 1574s # GValue *value, 1574s # GParamSpec *pspec G_GNUC_UNUSED) 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info; 1574s # GVariant *variant; 1574s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1574s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1574s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1574s # if (info->use_gvariant) 1574s # { 1574s # g_value_set_variant (value, variant); 1574s # } 1574s # else 1574s # { 1574s # if (variant != NULL) 1574s # g_dbus_gvariant_to_gvalue (variant, value); 1574s # } 1574s # if (variant != NULL) 1574s # g_variant_unref (variant); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1574s # GAsyncResult *res, 1574s # gpointer user_data) 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info = user_data; 1574s # GError *error; 1574s # GVariant *_ret; 1574s # error = NULL; 1574s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1574s # if (!_ret) 1574s # { 1574s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1574s # info->parent_struct.name, 1574s # error->message, g_quark_to_string (error->domain), error->code); 1574s # g_error_free (error); 1574s # } 1574s # else 1574s # { 1574s # g_variant_unref (_ret); 1574s # } 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_set_property (GObject *object, 1574s # guint prop_id, 1574s # const GValue *value, 1574s # GParamSpec *pspec G_GNUC_UNUSED) 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info; 1574s # GVariant *variant; 1574s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1574s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1574s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1574s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1574s # "org.freedesktop.DBus.Properties.Set", 1574s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1574s # G_DBUS_CALL_FLAGS_NONE, 1574s # -1, 1574s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1574s # g_variant_unref (variant); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_g_signal (GDBusProxy *proxy, 1574s # const gchar *sender_name G_GNUC_UNUSED, 1574s # const gchar *signal_name, 1574s # GVariant *parameters) 1574s # { 1574s # _ExtendedGDBusSignalInfo *info; 1574s # GVariantIter iter; 1574s # GVariant *child; 1574s # GValue *paramv; 1574s # gsize num_params; 1574s # gsize n; 1574s # guint signal_id; 1574s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1574s # if (info == NULL) 1574s # return; 1574s # num_params = g_variant_n_children (parameters); 1574s # paramv = g_new0 (GValue, num_params + 1); 1574s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1574s # g_value_set_object (¶mv[0], proxy); 1574s # g_variant_iter_init (&iter, parameters); 1574s # n = 1; 1574s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1574s # { 1574s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1574s # if (arg_info->use_gvariant) 1574s # { 1574s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1574s # g_value_set_variant (¶mv[n], child); 1574s # n++; 1574s # } 1574s # else 1574s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1574s # g_variant_unref (child); 1574s # } 1574s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1574s # g_signal_emitv (paramv, signal_id, 0, NULL); 1574s # for (n = 0; n < num_params + 1; n++) 1574s # g_value_unset (¶mv[n]); 1574s # g_free (paramv); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1574s # GVariant *changed_properties, 1574s # const gchar *const *invalidated_properties) 1574s # { 1574s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1574s # guint n; 1574s # const gchar *key; 1574s # GVariantIter *iter; 1574s # _ExtendedGDBusPropertyInfo *info; 1574s # g_variant_get (changed_properties, "a{sv}", &iter); 1574s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1574s # { 1574s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1574s # g_datalist_remove_data (&proxy->priv->qdata, key); 1574s # if (info != NULL) 1574s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1574s # } 1574s # g_variant_iter_free (iter); 1574s # for (n = 0; invalidated_properties[n] != NULL; n++) 1574s # { 1574s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1574s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1574s # if (info != NULL) 1574s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1574s # } 1574s # } 1574s # 1574s # static GVariant * 1574s # good_types_proxy_get_good_property_type (GoodTypes *object) 1574s # { 1574s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1574s # GVariant *variant; 1574s # GVariant *value = NULL; 1574s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1574s # value = variant; 1574s # if (variant != NULL) 1574s # g_variant_unref (variant); 1574s # return value; 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_init (GoodTypesProxy *proxy) 1574s # { 1574s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1574s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1574s # #else 1574s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1574s # #endif 1574s # 1574s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1574s # { 1574s # GObjectClass *gobject_class; 1574s # GDBusProxyClass *proxy_class; 1574s # 1574s # gobject_class = G_OBJECT_CLASS (klass); 1574s # gobject_class->finalize = good_types_proxy_finalize; 1574s # gobject_class->get_property = good_types_proxy_get_property; 1574s # gobject_class->set_property = good_types_proxy_set_property; 1574s # 1574s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1574s # proxy_class->g_signal = good_types_proxy_g_signal; 1574s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1574s # 1574s # good_types_override_properties (gobject_class, 1); 1574s # 1574s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1574s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1574s # #endif 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_iface_init (GoodTypesIface *iface) 1574s # { 1574s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new: 1574s # * @connection: A #GDBusConnection. 1574s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1574s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1574s # * @object_path: An object path. 1574s # * @cancellable: (nullable): A #GCancellable or %NULL. 1574s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1574s # * @user_data: User data to pass to @callback. 1574s # * 1574s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1574s # * 1574s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1574s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1574s # * 1574s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1574s # */ 1574s # void 1574s # good_types_proxy_new ( 1574s # GDBusConnection *connection, 1574s # GDBusProxyFlags flags, 1574s # const gchar *name, 1574s # const gchar *object_path, 1574s # GCancellable *cancellable, 1574s # GAsyncReadyCallback callback, 1574s # gpointer user_data) 1574s # { 1574s # 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); 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new_finish: 1574s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1574s # * @error: Return location for error or %NULL 1574s # * 1574s # * Finishes an operation started with good_types_proxy_new(). 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1574s # */ 1574s # GoodTypes * 1574s # good_types_proxy_new_finish ( 1574s # GAsyncResult *res, 1574s # GError **error) 1574s # { 1574s # GObject *ret; 1574s # GObject *source_object; 1574s # source_object = g_async_result_get_source_object (res); 1574s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1574s # g_object_unref (source_object); 1574s # if (ret != NULL) 1574s # return GOOD_TYPES (ret); 1574s # else 1574s # return NULL; 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new_sync: 1574s # * @connection: A #GDBusConnection. 1574s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1574s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1574s # * @object_path: An object path. 1574s # * @cancellable: (nullable): A #GCancellable or %NULL. 1574s # * @error: Return location for error or %NULL 1574s # * 1574s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1574s # * 1574s # * The calling thread is blocked until a reply is received. 1574s # * 1574s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1574s # */ 1574s # GoodTypes * 1574s # good_types_proxy_new_sync ( 1574s # GDBusConnection *connection, 1574s # GDBusProxyFlags flags, 1574s # const gchar *name, 1574s # const gchar *object_path, 1574s # GCancellable *cancellable, 1574s # GError **error) 1574s # { 1574s # GInitable *ret; 1574s # 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); 1574s # if (ret != NULL) 1574s # return GOOD_TYPES (ret); 1574s # else 1574s # return NULL; 1574s # } 1574s # 1574s # 1574s # /** 1574s # * good_types_proxy_new_for_bus: 1574s # * @bus_type: A #GBusType. 1574s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1574s # * @name: A bus name (well-known or unique). 1574s # * @object_path: An object path. 1574s # * @cancellable: (nullable): A #GCancellable or %NULL. 1574s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1574s # * @user_data: User data to pass to @callback. 1574s # * 1574s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1574s # * 1574s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1574s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1574s # * 1574s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1574s # */ 1574s # void 1574s # good_types_proxy_new_for_bus ( 1574s # GBusType bus_type, 1574s # GDBusProxyFlags flags, 1574s # const gchar *name, 1574s # const gchar *object_path, 1574s # GCancellable *cancellable, 1574s # GAsyncReadyCallback callback, 1574s # gpointer user_data) 1574s # { 1574s # 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); 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new_for_bus_finish: 1574s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1574s # * @error: Return location for error or %NULL 1574s # * 1574s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1574s # */ 1574s # GoodTypes * 1574s # good_types_proxy_new_for_bus_finish ( 1574s # GAsyncResult *res, 1574s # GError **error) 1574s # { 1574s # GObject *ret; 1574s # GObject *source_object; 1574s # source_object = g_async_result_get_source_object (res); 1574s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1574s # g_object_unref (source_object); 1574s # if (ret != NULL) 1574s # return GOOD_TYPES (ret); 1574s # else 1574s # return NULL; 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new_for_bus_sync: 1574s # * @bus_type: A #GBusType. 1574s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1574s # * @name: A bus name (well-known or unique). 1574s # * @object_path: An object path. 1574s # * @cancellable: (nullable): A #GCancellable or %NULL. 1574s # * @error: Return location for error or %NULL 1574s # * 1574s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1574s # * 1574s # * The calling thread is blocked until a reply is received. 1574s # * 1574s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1574s # */ 1574s # GoodTypes * 1574s # good_types_proxy_new_for_bus_sync ( 1574s # GBusType bus_type, 1574s # GDBusProxyFlags flags, 1574s # const gchar *name, 1574s # const gchar *object_path, 1574s # GCancellable *cancellable, 1574s # GError **error) 1574s # { 1574s # GInitable *ret; 1574s # 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); 1574s # if (ret != NULL) 1574s # return GOOD_TYPES (ret); 1574s # else 1574s # return NULL; 1574s # } 1574s # 1574s # 1574s # /* ------------------------------------------------------------------------ */ 1574s # 1574s # /** 1574s # * GoodTypesSkeleton: 1574s # * 1574s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1574s # */ 1574s # 1574s # /** 1574s # * GoodTypesSkeletonClass: 1574s # * @parent_class: The parent class. 1574s # * 1574s # * Class structure for GoodTypesSkeleton. 1574s # */ 1574s # 1574s # struct _GoodTypesSkeletonPrivate 1574s # { 1574s # GValue *properties; 1574s # GList *changed_properties; 1574s # GSource *changed_properties_idle_source; 1574s # GMainContext *context; 1574s # GMutex lock; 1574s # }; 1574s # 1574s # static void 1574s # _good_types_skeleton_handle_method_call ( 1574s # GDBusConnection *connection G_GNUC_UNUSED, 1574s # const gchar *sender G_GNUC_UNUSED, 1574s # const gchar *object_path G_GNUC_UNUSED, 1574s # const gchar *interface_name, 1574s # const gchar *method_name, 1574s # GVariant *parameters, 1574s # GDBusMethodInvocation *invocation, 1574s # gpointer user_data) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1574s # _ExtendedGDBusMethodInfo *info; 1574s # GVariantIter iter; 1574s # GVariant *child; 1574s # GValue *paramv; 1574s # gsize num_params; 1574s # guint num_extra; 1574s # gsize n; 1574s # guint signal_id; 1574s # GValue return_value = G_VALUE_INIT; 1574s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1574s # g_assert (info != NULL); 1574s # num_params = g_variant_n_children (parameters); 1574s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1574s # n = 0; 1574s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1574s # g_value_set_object (¶mv[n++], skeleton); 1574s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1574s # g_value_set_object (¶mv[n++], invocation); 1574s # if (info->pass_fdlist) 1574s # { 1574s # #ifdef G_OS_UNIX 1574s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1574s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1574s # #else 1574s # g_assert_not_reached (); 1574s # #endif 1574s # } 1574s # g_variant_iter_init (&iter, parameters); 1574s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1574s # { 1574s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1574s # if (arg_info->use_gvariant) 1574s # { 1574s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1574s # g_value_set_variant (¶mv[n], child); 1574s # n++; 1574s # } 1574s # else 1574s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1574s # g_variant_unref (child); 1574s # } 1574s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1574s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1574s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1574s # if (!g_value_get_boolean (&return_value)) 1574s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1574s # g_value_unset (&return_value); 1574s # for (n = 0; n < num_params + num_extra; n++) 1574s # g_value_unset (¶mv[n]); 1574s # g_free (paramv); 1574s # } 1574s # 1574s # static GVariant * 1574s # _good_types_skeleton_handle_get_property ( 1574s # GDBusConnection *connection G_GNUC_UNUSED, 1574s # const gchar *sender G_GNUC_UNUSED, 1574s # const gchar *object_path G_GNUC_UNUSED, 1574s # const gchar *interface_name G_GNUC_UNUSED, 1574s # const gchar *property_name, 1574s # GError **error, 1574s # gpointer user_data) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1574s # GValue value = G_VALUE_INIT; 1574s # GParamSpec *pspec; 1574s # _ExtendedGDBusPropertyInfo *info; 1574s # GVariant *ret; 1574s # ret = NULL; 1574s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1574s # g_assert (info != NULL); 1574s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1574s # if (pspec == NULL) 1574s # { 1574s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1574s # } 1574s # else 1574s # { 1574s # g_value_init (&value, pspec->value_type); 1574s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1574s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1574s # g_value_unset (&value); 1574s # } 1574s # return ret; 1574s # } 1574s # 1574s # static gboolean 1574s # _good_types_skeleton_handle_set_property ( 1574s # GDBusConnection *connection G_GNUC_UNUSED, 1574s # const gchar *sender G_GNUC_UNUSED, 1574s # const gchar *object_path G_GNUC_UNUSED, 1574s # const gchar *interface_name G_GNUC_UNUSED, 1574s # const gchar *property_name, 1574s # GVariant *variant, 1574s # GError **error, 1574s # gpointer user_data) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1574s # GValue value = G_VALUE_INIT; 1574s # GParamSpec *pspec; 1574s # _ExtendedGDBusPropertyInfo *info; 1574s # gboolean ret; 1574s # ret = FALSE; 1574s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1574s # g_assert (info != NULL); 1574s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1574s # if (pspec == NULL) 1574s # { 1574s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1574s # } 1574s # else 1574s # { 1574s # if (info->use_gvariant) 1574s # g_value_set_variant (&value, variant); 1574s # else 1574s # g_dbus_gvariant_to_gvalue (variant, &value); 1574s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1574s # g_value_unset (&value); 1574s # ret = TRUE; 1574s # } 1574s # return ret; 1574s # } 1574s # 1574s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1574s # { 1574s # _good_types_skeleton_handle_method_call, 1574s # _good_types_skeleton_handle_get_property, 1574s # _good_types_skeleton_handle_set_property, 1574s # {NULL} 1574s # }; 1574s # 1574s # static GDBusInterfaceInfo * 1574s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1574s # { 1574s # return good_types_interface_info (); 1574s # } 1574s # 1574s # static GDBusInterfaceVTable * 1574s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1574s # { 1574s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1574s # } 1574s # 1574s # static GVariant * 1574s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1574s # 1574s # GVariantBuilder builder; 1574s # guint n; 1574s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1574s # if (_good_types_interface_info.parent_struct.properties == NULL) 1574s # goto out; 1574s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1574s # { 1574s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1574s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1574s # { 1574s # GVariant *value; 1574s # 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); 1574s # if (value != NULL) 1574s # { 1574s # g_variant_take_ref (value); 1574s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1574s # g_variant_unref (value); 1574s # } 1574s # } 1574s # } 1574s # out: 1574s # return g_variant_builder_end (&builder); 1574s # } 1574s # 1574s # static gboolean _good_types_emit_changed (gpointer user_data); 1574s # 1574s # static void 1574s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1574s # gboolean emit_changed = FALSE; 1574s # 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # if (skeleton->priv->changed_properties_idle_source != NULL) 1574s # { 1574s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1574s # skeleton->priv->changed_properties_idle_source = NULL; 1574s # emit_changed = TRUE; 1574s # } 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # 1574s # if (emit_changed) 1574s # _good_types_emit_changed (skeleton); 1574s # } 1574s # 1574s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1574s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1574s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1574s # G_ADD_PRIVATE (GoodTypesSkeleton) 1574s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1574s # 1574s # #else 1574s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1574s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1574s # 1574s # #endif 1574s # static void 1574s # good_types_skeleton_finalize (GObject *object) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # guint n; 1574s # for (n = 0; n < 1; n++) 1574s # g_value_unset (&skeleton->priv->properties[n]); 1574s # g_free (skeleton->priv->properties); 1574s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1574s # if (skeleton->priv->changed_properties_idle_source != NULL) 1574s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1574s # g_main_context_unref (skeleton->priv->context); 1574s # g_mutex_clear (&skeleton->priv->lock); 1574s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_get_property (GObject *object, 1574s # guint prop_id, 1574s # GValue *value, 1574s # GParamSpec *pspec G_GNUC_UNUSED) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # } 1574s # 1574s # static gboolean 1574s # _good_types_emit_changed (gpointer user_data) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1574s # GList *l; 1574s # GVariantBuilder builder; 1574s # GVariantBuilder invalidated_builder; 1574s # guint num_changes; 1574s # 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1574s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1574s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1574s # { 1574s # ChangedProperty *cp = l->data; 1574s # GVariant *variant; 1574s # const GValue *cur_value; 1574s # 1574s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1574s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1574s # { 1574s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1574s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1574s # g_variant_unref (variant); 1574s # num_changes++; 1574s # } 1574s # } 1574s # if (num_changes > 0) 1574s # { 1574s # GList *connections, *ll; 1574s # GVariant *signal_variant; 1574s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1574s # &builder, &invalidated_builder)); 1574s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1574s # for (ll = connections; ll != NULL; ll = ll->next) 1574s # { 1574s # GDBusConnection *connection = ll->data; 1574s # 1574s # g_dbus_connection_emit_signal (connection, 1574s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1574s # "org.freedesktop.DBus.Properties", 1574s # "PropertiesChanged", 1574s # signal_variant, 1574s # NULL); 1574s # } 1574s # g_variant_unref (signal_variant); 1574s # g_list_free_full (connections, g_object_unref); 1574s # } 1574s # else 1574s # { 1574s # g_variant_builder_clear (&builder); 1574s # g_variant_builder_clear (&invalidated_builder); 1574s # } 1574s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1574s # skeleton->priv->changed_properties = NULL; 1574s # skeleton->priv->changed_properties_idle_source = NULL; 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # return FALSE; 1574s # } 1574s # 1574s # static void 1574s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1574s # { 1574s # ChangedProperty *cp; 1574s # GList *l; 1574s # cp = NULL; 1574s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1574s # { 1574s # ChangedProperty *i_cp = l->data; 1574s # if (i_cp->info == info) 1574s # { 1574s # cp = i_cp; 1574s # break; 1574s # } 1574s # } 1574s # if (cp == NULL) 1574s # { 1574s # cp = g_new0 (ChangedProperty, 1); 1574s # cp->prop_id = prop_id; 1574s # cp->info = info; 1574s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1574s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1574s # g_value_copy (orig_value, &cp->orig_value); 1574s # } 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_notify (GObject *object, 1574s # GParamSpec *pspec G_GNUC_UNUSED) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # if (skeleton->priv->changed_properties != NULL && 1574s # skeleton->priv->changed_properties_idle_source == NULL) 1574s # { 1574s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1574s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1574s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1574s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1574s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1574s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1574s # } 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_set_property (GObject *object, 1574s # guint prop_id, 1574s # const GValue *value, 1574s # GParamSpec *pspec) 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info; 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1574s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # g_object_freeze_notify (object); 1574s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1574s # { 1574s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1574s # info->emits_changed_signal) 1574s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1574s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1574s # g_object_notify_by_pspec (object, pspec); 1574s # } 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # g_object_thaw_notify (object); 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1574s # { 1574s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1574s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1574s # #else 1574s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1574s # #endif 1574s # 1574s # g_mutex_init (&skeleton->priv->lock); 1574s # skeleton->priv->context = g_main_context_ref_thread_default (); 1574s # skeleton->priv->properties = g_new0 (GValue, 1); 1574s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1574s # } 1574s # 1574s # static GVariant * 1574s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # GVariant *value; 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # return value; 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1574s # { 1574s # GObjectClass *gobject_class; 1574s # GDBusInterfaceSkeletonClass *skeleton_class; 1574s # 1574s # gobject_class = G_OBJECT_CLASS (klass); 1574s # gobject_class->finalize = good_types_skeleton_finalize; 1574s # gobject_class->get_property = good_types_skeleton_get_property; 1574s # gobject_class->set_property = good_types_skeleton_set_property; 1574s # gobject_class->notify = good_types_skeleton_notify; 1574s # 1574s # 1574s # good_types_override_properties (gobject_class, 1); 1574s # 1574s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1574s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1574s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1574s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1574s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1574s # 1574s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1574s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1574s # #endif 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1574s # { 1574s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1574s # } 1574s # 1574s # /** 1574s # * good_types_skeleton_new: 1574s # * 1574s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1574s # */ 1574s # GoodTypes * 1574s # good_types_skeleton_new (void) 1574s # { 1574s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1574s # } 1574s # /tmp/tmpc2py6zeh/tmp67ygxfeg.xml: 1574s # 1574s # 1574s # 1574s # 1574s # 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmp67ygxfeg.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # Output: /* 1574s # * This file is generated by gdbus-codegen, do not modify it. 1574s # * 1574s # * The license of this code is the same as for the D-Bus interface description 1574s # * it was derived from. Note that it links to GLib, so must comply with the 1574s # * LGPL linking clauses. 1574s # */ 1574s # 1574s # #ifdef HAVE_CONFIG_H 1574s # # include "config.h" 1574s # #endif 1574s # 1574s # #include 1574s # #ifdef G_OS_UNIX 1574s # # include 1574s # #endif 1574s # 1574s # #ifdef G_ENABLE_DEBUG 1574s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1574s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1574s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1574s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1574s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1574s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1574s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1574s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1574s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1574s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1574s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1574s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1574s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1574s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1574s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1574s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1574s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1574s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1574s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1574s # #else /* !G_ENABLE_DEBUG */ 1574s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1574s # * Do not access GValues directly in your code. Instead, use the 1574s # * g_value_get_*() functions 1574s # */ 1574s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1574s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1574s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1574s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1574s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1574s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1574s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1574s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1574s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1574s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1574s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1574s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1574s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1574s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1574s # #endif /* !G_ENABLE_DEBUG */ 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusArgInfo parent_struct; 1574s # gboolean use_gvariant; 1574s # } _ExtendedGDBusArgInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusMethodInfo parent_struct; 1574s # const gchar *signal_name; 1574s # gboolean pass_fdlist; 1574s # } _ExtendedGDBusMethodInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusSignalInfo parent_struct; 1574s # const gchar *signal_name; 1574s # } _ExtendedGDBusSignalInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusPropertyInfo parent_struct; 1574s # const gchar *hyphen_name; 1574s # guint use_gvariant : 1; 1574s # guint emits_changed_signal : 1; 1574s # } _ExtendedGDBusPropertyInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusInterfaceInfo parent_struct; 1574s # const gchar *hyphen_name; 1574s # } _ExtendedGDBusInterfaceInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info; 1574s # guint prop_id; 1574s # GValue orig_value; /* the value before the change */ 1574s # } ChangedProperty; 1574s # 1574s # static void 1574s # _changed_property_free (ChangedProperty *data) 1574s # { 1574s # g_value_unset (&data->orig_value); 1574s # g_free (data); 1574s # } 1574s # 1574s # static gboolean 1574s # _g_strv_equal0 (gchar **a, gchar **b) 1574s # { 1574s # gboolean ret = FALSE; 1574s # guint n; 1574s # if (a == NULL && b == NULL) 1574s # { 1574s # ret = TRUE; 1574s # goto out; 1574s # } 1574s # if (a == NULL || b == NULL) 1574s # goto out; 1574s # if (g_strv_length (a) != g_strv_length (b)) 1574s # goto out; 1574s # for (n = 0; a[n] != NULL; n++) 1574s # if (g_strcmp0 (a[n], b[n]) != 0) 1574s # goto out; 1574s # ret = TRUE; 1574s # out: 1574s # return ret; 1574s # } 1574s # 1574s # static gboolean 1574s # _g_variant_equal0 (GVariant *a, GVariant *b) 1574s # { 1574s # gboolean ret = FALSE; 1574s # if (a == NULL && b == NULL) 1574s # { 1574s # ret = TRUE; 1574s # goto out; 1574s # } 1574s # if (a == NULL || b == NULL) 1574s # goto out; 1574s # ret = g_variant_equal (a, b); 1574s # out: 1574s # return ret; 1574s # } 1574s # 1574s # G_GNUC_UNUSED static gboolean 1574s # _g_value_equal (const GValue *a, const GValue *b) 1574s # { 1574s # gboolean ret = FALSE; 1574s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1574s # switch (G_VALUE_TYPE (a)) 1574s # { 1574s # case G_TYPE_BOOLEAN: 1574s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1574s # break; 1574s # case G_TYPE_UCHAR: 1574s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1574s # break; 1574s # case G_TYPE_INT: 1574s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1574s # break; 1574s # case G_TYPE_UINT: 1574s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1574s # break; 1574s # case G_TYPE_INT64: 1574s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1574s # break; 1574s # case G_TYPE_UINT64: 1574s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1574s # break; 1574s # case G_TYPE_DOUBLE: 1574s # { 1574s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1574s # gdouble da = g_value_get_double (a); 1574s # gdouble db = g_value_get_double (b); 1574s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1574s # } 1574s # break; 1574s # case G_TYPE_STRING: 1574s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1574s # break; 1574s # case G_TYPE_VARIANT: 1574s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1574s # break; 1574s # default: 1574s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1574s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1574s # else 1574s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1574s # break; 1574s # } 1574s # return ret; 1574s # } 1574s # 1574s # /* ------------------------------------------------------------------------ 1574s # * Code for interface GoodTypes 1574s # * ------------------------------------------------------------------------ 1574s # */ 1574s # 1574s # /** 1574s # * SECTION:GoodTypes 1574s # * @title: GoodTypes 1574s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1574s # * 1574s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1574s # */ 1574s # 1574s # /* ---- Introspection data for GoodTypes ---- */ 1574s # 1574s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1574s # { 1574s # { 1574s # -1, 1574s # (gchar *) "GoodPropertyType", 1574s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1574s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1574s # NULL 1574s # }, 1574s # "good-property-type", 1574s # FALSE, 1574s # TRUE 1574s # }; 1574s # 1574s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1574s # { 1574s # &_good_types_property_info_good_property_type.parent_struct, 1574s # NULL 1574s # }; 1574s # 1574s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1574s # { 1574s # { 1574s # -1, 1574s # (gchar *) "GoodTypes", 1574s # NULL, 1574s # NULL, 1574s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1574s # NULL 1574s # }, 1574s # "good-types", 1574s # }; 1574s # 1574s # 1574s # /** 1574s # * good_types_interface_info: 1574s # * 1574s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1574s # * 1574s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1574s # */ 1574s # GDBusInterfaceInfo * 1574s # good_types_interface_info (void) 1574s # { 1574s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1574s # } 1574s # 1574s # /** 1574s # * good_types_override_properties: 1574s # * @klass: The class structure for a #GObject derived class. 1574s # * @property_id_begin: The property id to assign to the first overridden property. 1574s # * 1574s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1574s # * The properties are overridden in the order they are defined. 1574s # * 1574s # * Returns: The last property id. 1574s # */ 1574s # guint 1574s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1574s # { 1574s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1574s # return property_id_begin - 1; 1574s # } 1574s # 1574s # 1574s # 1574s # /** 1574s # * GoodTypes: 1574s # * 1574s # * Abstract interface type for the D-Bus interface GoodTypes. 1574s # */ 1574s # 1574s # /** 1574s # * GoodTypesIface: 1574s # * @parent_iface: The parent interface. 1574s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1574s # * 1574s # * Virtual table for the D-Bus interface GoodTypes. 1574s # */ 1574s # 1574s # typedef GoodTypesIface GoodTypesInterface; 1574s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1574s # 1574s # static void 1574s # good_types_default_init (GoodTypesIface *iface) 1574s # { 1574s # /* GObject properties for D-Bus properties: */ 1574s # /** 1574s # * GoodTypes:good-property-type: 1574s # * 1574s # * Represents the D-Bus property "GoodPropertyType". 1574s # * 1574s # * 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. 1574s # */ 1574s # g_object_interface_install_property (iface, 1574s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1574s # } 1574s # 1574s # /** 1574s # * good_types_get_good_property_type: (skip) 1574s # * @object: A GoodTypes. 1574s # * 1574s # * Gets the value of the "GoodPropertyType" D-Bus property. 1574s # * 1574s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1574s # * 1574s # * 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. 1574s # * 1574s # * 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. 1574s # */ 1574s # GVariant * 1574s # good_types_get_good_property_type (GoodTypes *object) 1574s # { 1574s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1574s # 1574s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1574s # } 1574s # 1574s # /** 1574s # * good_types_dup_good_property_type: (skip) 1574s # * @object: A GoodTypes. 1574s # * 1574s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1574s # * 1574s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1574s # * 1574s # * 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(). 1574s # */ 1574s # GVariant * 1574s # good_types_dup_good_property_type (GoodTypes *object) 1574s # { 1574s # GVariant *value; 1574s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1574s # return value; 1574s # } 1574s # 1574s # /** 1574s # * good_types_set_good_property_type: (skip) 1574s # * @object: A GoodTypes. 1574s # * @value: The value to set. 1574s # * 1574s # * Sets the "GoodPropertyType" D-Bus property to @value. 1574s # * 1574s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1574s # */ 1574s # void 1574s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1574s # { 1574s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1574s # } 1574s # 1574s # /* ------------------------------------------------------------------------ */ 1574s # 1574s # /** 1574s # * GoodTypesProxy: 1574s # * 1574s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1574s # */ 1574s # 1574s # /** 1574s # * GoodTypesProxyClass: 1574s # * @parent_class: The parent class. 1574s # * 1574s # * Class structure for GoodTypesProxy. 1574s # */ 1574s # 1574s # struct _GoodTypesProxyPrivate 1574s # { 1574s # GData *qdata; 1574s # }; 1574s # 1574s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1574s # 1574s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1574s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1574s # G_ADD_PRIVATE (GoodTypesProxy) 1574s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1574s # 1574s # #else 1574s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1574s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1574s # 1574s # #endif 1574s # static void 1574s # good_types_proxy_finalize (GObject *object) 1574s # { 1574s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1574s # g_datalist_clear (&proxy->priv->qdata); 1574s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_get_property (GObject *object, 1574s # guint prop_id, 1574s # GValue *value, 1574s # GParamSpec *pspec G_GNUC_UNUSED) 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info; 1574s # GVariant *variant; 1574s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1574s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1574s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1574s # if (info->use_gvariant) 1574s # { 1574s # g_value_set_variant (value, variant); 1574s # } 1574s # else 1574s # { 1574s # if (variant != NULL) 1574s # g_dbus_gvariant_to_gvalue (variant, value); 1574s # } 1574s # if (variant != NULL) 1574s # g_variant_unref (variant); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1574s # GAsyncResult *res, 1574s # gpointer user_data) 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info = user_data; 1574s # GError *error; 1574s # GVariant *_ret; 1574s # error = NULL; 1574s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1574s # if (!_ret) 1574s # { 1574s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1574s # info->parent_struct.name, 1574s # error->message, g_quark_to_string (error->domain), error->code); 1574s # g_error_free (error); 1574s # } 1574s # else 1574s # { 1574s # g_variant_unref (_ret); 1574s # } 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_set_property (GObject *object, 1574s # guint prop_id, 1574s # const GValue *value, 1574s # GParamSpec *pspec G_GNUC_UNUSED) 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info; 1574s # GVariant *variant; 1574s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1574s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1574s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1574s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1574s # "org.freedesktop.DBus.Properties.Set", 1574s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1574s # G_DBUS_CALL_FLAGS_NONE, 1574s # -1, 1574s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1574s # g_variant_unref (variant); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_g_signal (GDBusProxy *proxy, 1574s # const gchar *sender_name G_GNUC_UNUSED, 1574s # const gchar *signal_name, 1574s # GVariant *parameters) 1574s # { 1574s # _ExtendedGDBusSignalInfo *info; 1574s # GVariantIter iter; 1574s # GVariant *child; 1574s # GValue *paramv; 1574s # gsize num_params; 1574s # gsize n; 1574s # guint signal_id; 1574s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1574s # if (info == NULL) 1574s # return; 1574s # num_params = g_variant_n_children (parameters); 1574s # paramv = g_new0 (GValue, num_params + 1); 1574s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1574s # g_value_set_object (¶mv[0], proxy); 1574s # g_variant_iter_init (&iter, parameters); 1574s # n = 1; 1574s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1574s # { 1574s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1574s # if (arg_info->use_gvariant) 1574s # { 1574s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1574s # g_value_set_variant (¶mv[n], child); 1574s # n++; 1574s # } 1574s # else 1574s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1574s # g_variant_unref (child); 1574s # } 1574s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1574s # g_signal_emitv (paramv, signal_id, 0, NULL); 1574s # for (n = 0; n < num_params + 1; n++) 1574s # g_value_unset (¶mv[n]); 1574s # g_free (paramv); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1574s # GVariant *changed_properties, 1574s # const gchar *const *invalidated_properties) 1574s # { 1574s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1574s # guint n; 1574s # const gchar *key; 1574s # GVariantIter *iter; 1574s # _ExtendedGDBusPropertyInfo *info; 1574s # g_variant_get (changed_properties, "a{sv}", &iter); 1574s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1574s # { 1574s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1574s # g_datalist_remove_data (&proxy->priv->qdata, key); 1574s # if (info != NULL) 1574s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1574s # } 1574s # g_variant_iter_free (iter); 1574s # for (n = 0; invalidated_properties[n] != NULL; n++) 1574s # { 1574s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1574s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1574s # if (info != NULL) 1574s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1574s # } 1574s # } 1574s # 1574s # static GVariant * 1574s # good_types_proxy_get_good_property_type (GoodTypes *object) 1574s # { 1574s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1574s # GVariant *variant; 1574s # GVariant *value = NULL; 1574s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1574s # value = variant; 1574s # if (variant != NULL) 1574s # g_variant_unref (variant); 1574s # return value; 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_init (GoodTypesProxy *proxy) 1574s # { 1574s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1574s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1574s # #else 1574s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1574s # #endif 1574s # 1574s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1574s # { 1574s # GObjectClass *gobject_class; 1574s # GDBusProxyClass *proxy_class; 1574s # 1574s # gobject_class = G_OBJECT_CLASS (klass); 1574s # gobject_class->finalize = good_types_proxy_finalize; 1574s # gobject_class->get_property = good_types_proxy_get_property; 1574s # gobject_class->set_property = good_types_proxy_set_property; 1574s # 1574s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1574s # proxy_class->g_signal = good_types_proxy_g_signal; 1574s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1574s # 1574s # good_types_override_properties (gobject_class, 1); 1574s # 1574s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1574s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1574s # #endif 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_iface_init (GoodTypesIface *iface) 1574s # { 1574s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new: 1574s # * @connection: A #GDBusConnection. 1574s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1574s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1574s # * @object_path: An object path. 1574s # * @cancellable: (nullable): A #GCancellable or %NULL. 1574s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1574s # * @user_data: User data to pass to @callback. 1574s # * 1574s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1574s # * 1574s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1574s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1574s # * 1574s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1574s # */ 1574s # void 1574s # good_types_proxy_new ( 1574s # GDBusConnection *connection, 1574s # GDBusProxyFlags flags, 1574s # const gchar *name, 1574s # const gchar *object_path, 1574s # GCancellable *cancellable, 1574s # GAsyncReadyCallback callback, 1574s # gpointer user_data) 1574s # { 1574s # 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); 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new_finish: 1574s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1574s # * @error: Return location for error or %NULL 1574s # * 1574s # * Finishes an operation started with good_types_proxy_new(). 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1574s # */ 1574s # GoodTypes * 1574s # good_types_proxy_new_finish ( 1574s # GAsyncResult *res, 1574s # GError **error) 1574s # { 1574s # GObject *ret; 1574s # GObject *source_object; 1574s # source_object = g_async_result_get_source_object (res); 1574s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1574s # g_object_unref (source_object); 1574s # if (ret != NULL) 1574s # return GOOD_TYPES (ret); 1574s # else 1574s # return NULL; 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new_sync: 1574s # * @connection: A #GDBusConnection. 1574s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1574s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1574s # * @object_path: An object path. 1574s # * @cancellable: (nullable): A #GCancellable or %NULL. 1574s # * @error: Return location for error or %NULL 1574s # * 1574s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1574s # * 1574s # * The calling thread is blocked until a reply is received. 1574s # * 1574s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1574s # */ 1574s # GoodTypes * 1574s # good_types_proxy_new_sync ( 1574s # GDBusConnection *connection, 1574s # GDBusProxyFlags flags, 1574s # const gchar *name, 1574s # const gchar *object_path, 1574s # GCancellable *cancellable, 1574s # GError **error) 1574s # { 1574s # GInitable *ret; 1574s # 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); 1574s # if (ret != NULL) 1574s # return GOOD_TYPES (ret); 1574s # else 1574s # return NULL; 1574s # } 1574s # 1574s # 1574s # /** 1574s # * good_types_proxy_new_for_bus: 1574s # * @bus_type: A #GBusType. 1574s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1574s # * @name: A bus name (well-known or unique). 1574s # * @object_path: An object path. 1574s # * @cancellable: (nullable): A #GCancellable or %NULL. 1574s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1574s # * @user_data: User data to pass to @callback. 1574s # * 1574s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1574s # * 1574s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1574s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1574s # * 1574s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1574s # */ 1574s # void 1574s # good_types_proxy_new_for_bus ( 1574s # GBusType bus_type, 1574s # GDBusProxyFlags flags, 1574s # const gchar *name, 1574s # const gchar *object_path, 1574s # GCancellable *cancellable, 1574s # GAsyncReadyCallback callback, 1574s # gpointer user_data) 1574s # { 1574s # 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); 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new_for_bus_finish: 1574s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1574s # * @error: Return location for error or %NULL 1574s # * 1574s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1574s # */ 1574s # GoodTypes * 1574s # good_types_proxy_new_for_bus_finish ( 1574s # GAsyncResult *res, 1574s # GError **error) 1574s # { 1574s # GObject *ret; 1574s # GObject *source_object; 1574s # source_object = g_async_result_get_source_object (res); 1574s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1574s # g_object_unref (source_object); 1574s # if (ret != NULL) 1574s # return GOOD_TYPES (ret); 1574s # else 1574s # return NULL; 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new_for_bus_sync: 1574s # * @bus_type: A #GBusType. 1574s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1574s # * @name: A bus name (well-known or unique). 1574s # * @object_path: An object path. 1574s # * @cancellable: (nullable): A #GCancellable or %NULL. 1574s # * @error: Return location for error or %NULL 1574s # * 1574s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1574s # * 1574s # * The calling thread is blocked until a reply is received. 1574s # * 1574s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1574s # */ 1574s # GoodTypes * 1574s # good_types_proxy_new_for_bus_sync ( 1574s # GBusType bus_type, 1574s # GDBusProxyFlags flags, 1574s # const gchar *name, 1574s # const gchar *object_path, 1574s # GCancellable *cancellable, 1574s # GError **error) 1574s # { 1574s # GInitable *ret; 1574s # 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); 1574s # if (ret != NULL) 1574s # return GOOD_TYPES (ret); 1574s # else 1574s # return NULL; 1574s # } 1574s # 1574s # 1574s # /* ------------------------------------------------------------------------ */ 1574s # 1574s # /** 1574s # * GoodTypesSkeleton: 1574s # * 1574s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1574s # */ 1574s # 1574s # /** 1574s # * GoodTypesSkeletonClass: 1574s # * @parent_class: The parent class. 1574s # * 1574s # * Class structure for GoodTypesSkeleton. 1574s # */ 1574s # 1574s # struct _GoodTypesSkeletonPrivate 1574s # { 1574s # GValue *properties; 1574s # GList *changed_properties; 1574s # GSource *changed_properties_idle_source; 1574s # GMainContext *context; 1574s # GMutex lock; 1574s # }; 1574s # 1574s # static void 1574s # _good_types_skeleton_handle_method_call ( 1574s # GDBusConnection *connection G_GNUC_UNUSED, 1574s # const gchar *sender G_GNUC_UNUSED, 1574s # const gchar *object_path G_GNUC_UNUSED, 1574s # const gchar *interface_name, 1574s # const gchar *method_name, 1574s # GVariant *parameters, 1574s # GDBusMethodInvocation *invocation, 1574s # gpointer user_data) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1574s # _ExtendedGDBusMethodInfo *info; 1574s # GVariantIter iter; 1574s # GVariant *child; 1574s # GValue *paramv; 1574s # gsize num_params; 1574s # guint num_extra; 1574s # gsize n; 1574s # guint signal_id; 1574s # GValue return_value = G_VALUE_INIT; 1574s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1574s # g_assert (info != NULL); 1574s # num_params = g_variant_n_children (parameters); 1574s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1574s # n = 0; 1574s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1574s # g_value_set_object (¶mv[n++], skeleton); 1574s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1574s # g_value_set_object (¶mv[n++], invocation); 1574s # if (info->pass_fdlist) 1574s # { 1574s # #ifdef G_OS_UNIX 1574s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1574s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1574s # #else 1574s # g_assert_not_reached (); 1574s # #endif 1574s # } 1574s # g_variant_iter_init (&iter, parameters); 1574s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1574s # { 1574s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1574s # if (arg_info->use_gvariant) 1574s # { 1574s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1574s # g_value_set_variant (¶mv[n], child); 1574s # n++; 1574s # } 1574s # else 1574s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1574s # g_variant_unref (child); 1574s # } 1574s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1574s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1574s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1574s # if (!g_value_get_boolean (&return_value)) 1574s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1574s # g_value_unset (&return_value); 1574s # for (n = 0; n < num_params + num_extra; n++) 1574s # g_value_unset (¶mv[n]); 1574s # g_free (paramv); 1574s # } 1574s # 1574s # static GVariant * 1574s # _good_types_skeleton_handle_get_property ( 1574s # GDBusConnection *connection G_GNUC_UNUSED, 1574s # const gchar *sender G_GNUC_UNUSED, 1574s # const gchar *object_path G_GNUC_UNUSED, 1574s # const gchar *interface_name G_GNUC_UNUSED, 1574s # const gchar *property_name, 1574s # GError **error, 1574s # gpointer user_data) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1574s # GValue value = G_VALUE_INIT; 1574s # GParamSpec *pspec; 1574s # _ExtendedGDBusPropertyInfo *info; 1574s # GVariant *ret; 1574s # ret = NULL; 1574s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1574s # g_assert (info != NULL); 1574s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1574s # if (pspec == NULL) 1574s # { 1574s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1574s # } 1574s # else 1574s # { 1574s # g_value_init (&value, pspec->value_type); 1574s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1574s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1574s # g_value_unset (&value); 1574s # } 1574s # return ret; 1574s # } 1574s # 1574s # static gboolean 1574s # _good_types_skeleton_handle_set_property ( 1574s # GDBusConnection *connection G_GNUC_UNUSED, 1574s # const gchar *sender G_GNUC_UNUSED, 1574s # const gchar *object_path G_GNUC_UNUSED, 1574s # const gchar *interface_name G_GNUC_UNUSED, 1574s # const gchar *property_name, 1574s # GVariant *variant, 1574s # GError **error, 1574s # gpointer user_data) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1574s # GValue value = G_VALUE_INIT; 1574s # GParamSpec *pspec; 1574s # _ExtendedGDBusPropertyInfo *info; 1574s # gboolean ret; 1574s # ret = FALSE; 1574s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1574s # g_assert (info != NULL); 1574s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1574s # if (pspec == NULL) 1574s # { 1574s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1574s # } 1574s # else 1574s # { 1574s # if (info->use_gvariant) 1574s # g_value_set_variant (&value, variant); 1574s # else 1574s # g_dbus_gvariant_to_gvalue (variant, &value); 1574s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1574s # g_value_unset (&value); 1574s # ret = TRUE; 1574s # } 1574s # return ret; 1574s # } 1574s # 1574s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1574s # { 1574s # _good_types_skeleton_handle_method_call, 1574s # _good_types_skeleton_handle_get_property, 1574s # _good_types_skeleton_handle_set_property, 1574s # {NULL} 1574s # }; 1574s # 1574s # static GDBusInterfaceInfo * 1574s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1574s # { 1574s # return good_types_interface_info (); 1574s # } 1574s # 1574s # static GDBusInterfaceVTable * 1574s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1574s # { 1574s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1574s # } 1574s # 1574s # static GVariant * 1574s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1574s # 1574s # GVariantBuilder builder; 1574s # guint n; 1574s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1574s # if (_good_types_interface_info.parent_struct.properties == NULL) 1574s # goto out; 1574s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1574s # { 1574s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1574s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1574s # { 1574s # GVariant *value; 1574s # 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); 1574s # if (value != NULL) 1574s # { 1574s # g_variant_take_ref (value); 1574s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1574s # g_variant_unref (value); 1574s # } 1574s # } 1574s # } 1574s # out: 1574s # return g_variant_builder_end (&builder); 1574s # } 1574s # 1574s # static gboolean _good_types_emit_changed (gpointer user_data); 1574s # 1574s # static void 1574s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1574s # gboolean emit_changed = FALSE; 1574s # 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # if (skeleton->priv->changed_properties_idle_source != NULL) 1574s # { 1574s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1574s # skeleton->priv->changed_properties_idle_source = NULL; 1574s # emit_changed = TRUE; 1574s # } 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # 1574s # if (emit_changed) 1574s # _good_types_emit_changed (skeleton); 1574s # } 1574s # 1574s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1574s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1574s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1574s # G_ADD_PRIVATE (GoodTypesSkeleton) 1574s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1574s # 1574s # #else 1574s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1574s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1574s # 1574s # #endif 1574s # static void 1574s # good_types_skeleton_finalize (GObject *object) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # guint n; 1574s # for (n = 0; n < 1; n++) 1574s # g_value_unset (&skeleton->priv->properties[n]); 1574s # g_free (skeleton->priv->properties); 1574s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1574s # if (skeleton->priv->changed_properties_idle_source != NULL) 1574s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1574s # g_main_context_unref (skeleton->priv->context); 1574s # g_mutex_clear (&skeleton->priv->lock); 1574s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_get_property (GObject *object, 1574s # guint prop_id, 1574s # GValue *value, 1574s # GParamSpec *pspec G_GNUC_UNUSED) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # } 1574s # 1574s # static gboolean 1574s # _good_types_emit_changed (gpointer user_data) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1574s # GList *l; 1574s # GVariantBuilder builder; 1574s # GVariantBuilder invalidated_builder; 1574s # guint num_changes; 1574s # 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1574s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1574s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1574s # { 1574s # ChangedProperty *cp = l->data; 1574s # GVariant *variant; 1574s # const GValue *cur_value; 1574s # 1574s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1574s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1574s # { 1574s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1574s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1574s # g_variant_unref (variant); 1574s # num_changes++; 1574s # } 1574s # } 1574s # if (num_changes > 0) 1574s # { 1574s # GList *connections, *ll; 1574s # GVariant *signal_variant; 1574s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1574s # &builder, &invalidated_builder)); 1574s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1574s # for (ll = connections; ll != NULL; ll = ll->next) 1574s # { 1574s # GDBusConnection *connection = ll->data; 1574s # 1574s # g_dbus_connection_emit_signal (connection, 1574s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1574s # "org.freedesktop.DBus.Properties", 1574s # "PropertiesChanged", 1574s # signal_variant, 1574s # NULL); 1574s # } 1574s # g_variant_unref (signal_variant); 1574s # g_list_free_full (connections, g_object_unref); 1574s # } 1574s # else 1574s # { 1574s # g_variant_builder_clear (&builder); 1574s # g_variant_builder_clear (&invalidated_builder); 1574s # } 1574s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1574s # skeleton->priv->changed_properties = NULL; 1574s # skeleton->priv->changed_properties_idle_source = NULL; 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # return FALSE; 1574s # } 1574s # 1574s # static void 1574s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1574s # { 1574s # ChangedProperty *cp; 1574s # GList *l; 1574s # cp = NULL; 1574s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1574s # { 1574s # ChangedProperty *i_cp = l->data; 1574s # if (i_cp->info == info) 1574s # { 1574s # cp = i_cp; 1574s # break; 1574s # } 1574s # } 1574s # if (cp == NULL) 1574s # { 1574s # cp = g_new0 (ChangedProperty, 1); 1574s # cp->prop_id = prop_id; 1574s # cp->info = info; 1574s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1574s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1574s # g_value_copy (orig_value, &cp->orig_value); 1574s # } 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_notify (GObject *object, 1574s # GParamSpec *pspec G_GNUC_UNUSED) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # if (skeleton->priv->changed_properties != NULL && 1574s # skeleton->priv->changed_properties_idle_source == NULL) 1574s # { 1574s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1574s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1574s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1574s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1574s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1574s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1574s # } 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_set_property (GObject *object, 1574s # guint prop_id, 1574s # const GValue *value, 1574s # GParamSpec *pspec) 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info; 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1574s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # g_object_freeze_notify (object); 1574s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1574s # { 1574s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1574s # info->emits_changed_signal) 1574s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1574s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1574s # g_object_notify_by_pspec (object, pspec); 1574s # } 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # g_object_thaw_notify (object); 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1574s # { 1574s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1574s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1574s # #else 1574s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1574s # #endif 1574s # 1574s # g_mutex_init (&skeleton->priv->lock); 1574s # skeleton->priv->context = g_main_context_ref_thread_default (); 1574s # skeleton->priv->properties = g_new0 (GValue, 1); 1574s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1574s # } 1574s # 1574s # static GVariant * 1574s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # GVariant *value; 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # return value; 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1574s # { 1574s # GObjectClass *gobject_class; 1574s # GDBusInterfaceSkeletonClass *skeleton_class; 1574s # 1574s # gobject_class = G_OBJECT_CLASS (klass); 1574s # gobject_class->finalize = good_types_skeleton_finalize; 1574s # gobject_class->get_property = good_types_skeleton_get_property; 1574s # gobject_class->set_property = good_types_skeleton_set_property; 1574s # gobject_class->notify = good_types_skeleton_notify; 1574s # 1574s # 1574s # good_types_override_properties (gobject_class, 1); 1574s # 1574s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1574s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1574s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1574s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1574s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1574s # 1574s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1574s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1574s # #endif 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1574s # { 1574s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1574s # } 1574s # 1574s # /** 1574s # * good_types_skeleton_new: 1574s # * 1574s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1574s # */ 1574s # GoodTypes * 1574s # good_types_skeleton_new (void) 1574s # { 1574s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1574s # } 1574s # /tmp/tmpc2py6zeh/tmpkvyv_9mf.xml: 1574s # 1574s # 1574s # 1574s # 1574s # 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2py6zeh/tmpkvyv_9mf.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # Output: /* 1574s # * This file is generated by gdbus-codegen, do not modify it. 1574s # * 1574s # * The license of this code is the same as for the D-Bus interface description 1574s # * it was derived from. Note that it links to GLib, so must comply with the 1574s # * LGPL linking clauses. 1574s # */ 1574s # 1574s # #ifdef HAVE_CONFIG_H 1574s # # include "config.h" 1574s # #endif 1574s # 1574s # #include 1574s # #ifdef G_OS_UNIX 1574s # # include 1574s # #endif 1574s # 1574s # #ifdef G_ENABLE_DEBUG 1574s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1574s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1574s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1574s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1574s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1574s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1574s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1574s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1574s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1574s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1574s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1574s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1574s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1574s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1574s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1574s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1574s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1574s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1574s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1574s # #else /* !G_ENABLE_DEBUG */ 1574s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1574s # * Do not access GValues directly in your code. Instead, use the 1574s # * g_value_get_*() functions 1574s # */ 1574s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1574s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1574s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1574s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1574s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1574s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1574s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1574s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1574s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1574s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1574s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1574s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1574s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1574s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1574s # #endif /* !G_ENABLE_DEBUG */ 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusArgInfo parent_struct; 1574s # gboolean use_gvariant; 1574s # } _ExtendedGDBusArgInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusMethodInfo parent_struct; 1574s # const gchar *signal_name; 1574s # gboolean pass_fdlist; 1574s # } _ExtendedGDBusMethodInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusSignalInfo parent_struct; 1574s # const gchar *signal_name; 1574s # } _ExtendedGDBusSignalInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusPropertyInfo parent_struct; 1574s # const gchar *hyphen_name; 1574s # guint use_gvariant : 1; 1574s # guint emits_changed_signal : 1; 1574s # } _ExtendedGDBusPropertyInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusInterfaceInfo parent_struct; 1574s # const gchar *hyphen_name; 1574s # } _ExtendedGDBusInterfaceInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info; 1574s # guint prop_id; 1574s # GValue orig_value; /* the value before the change */ 1574s # } ChangedProperty; 1574s # 1574s # static void 1574s # _changed_property_free (ChangedProperty *data) 1574s # { 1574s # g_value_unset (&data->orig_value); 1574s # g_free (data); 1574s # } 1574s # 1574s # static gboolean 1574s # _g_strv_equal0 (gchar **a, gchar **b) 1574s # { 1574s # gboolean ret = FALSE; 1574s # guint n; 1574s # if (a == NULL && b == NULL) 1574s # { 1574s # ret = TRUE; 1574s # goto out; 1574s # } 1574s # if (a == NULL || b == NULL) 1574s # goto out; 1574s # if (g_strv_length (a) != g_strv_length (b)) 1574s # goto out; 1574s # for (n = 0; a[n] != NULL; n++) 1574s # if (g_strcmp0 (a[n], b[n]) != 0) 1574s # goto out; 1574s # ret = TRUE; 1574s # out: 1574s # return ret; 1574s # } 1574s # 1574s # static gboolean 1574s # _g_variant_equal0 (GVariant *a, GVariant *b) 1574s # { 1574s # gboolean ret = FALSE; 1574s # if (a == NULL && b == NULL) 1574s # { 1574s # ret = TRUE; 1574s # goto out; 1574s # } 1574s # if (a == NULL || b == NULL) 1574s # goto out; 1574s # ret = g_variant_equal (a, b); 1574s # out: 1574s # return ret; 1574s # } 1574s # 1574s # G_GNUC_UNUSED static gboolean 1574s # _g_value_equal (const GValue *a, const GValue *b) 1574s # { 1574s # gboolean ret = FALSE; 1574s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1574s # switch (G_VALUE_TYPE (a)) 1574s # { 1574s # case G_TYPE_BOOLEAN: 1574s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1574s # break; 1574s # case G_TYPE_UCHAR: 1574s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1574s # break; 1574s # case G_TYPE_INT: 1574s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1574s # break; 1574s # case G_TYPE_UINT: 1574s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1574s # break; 1574s # case G_TYPE_INT64: 1574s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1574s # break; 1574s # case G_TYPE_UINT64: 1574s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1574s # break; 1574s # case G_TYPE_DOUBLE: 1574s # { 1574s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1574s # gdouble da = g_value_get_double (a); 1574s # gdouble db = g_value_get_double (b); 1574s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1574s # } 1574s # break; 1574s # case G_TYPE_STRING: 1574s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1574s # break; 1574s # case G_TYPE_VARIANT: 1574s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1574s # break; 1574s # default: 1574s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1574s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1574s # else 1574s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1574s # break; 1574s # } 1574s # return ret; 1574s # } 1574s # 1574s # /* ------------------------------------------------------------------------ 1574s # * Code for interface GoodTypes 1574s # * ------------------------------------------------------------------------ 1574s # */ 1574s # 1574s # /** 1574s # * SECTION:GoodTypes 1574s # * @title: GoodTypes 1574s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1574s # * 1574s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1574s # */ 1574s # 1574s # /* ---- Introspection data for GoodTypes ---- */ 1574s # 1574s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1574s # { 1574s # { 1574s # -1, 1574s # (gchar *) "GoodPropertyType", 1574s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1574s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1574s # NULL 1574s # }, 1574s # "good-property-type", 1574s # FALSE, 1574s # TRUE 1574s # }; 1574s # 1574s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1574s # { 1574s # &_good_types_property_info_good_property_type.parent_struct, 1574s # NULL 1574s # }; 1574s # 1574s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1574s # { 1574s # { 1574s # -1, 1574s # (gchar *) "GoodTypes", 1574s # NULL, 1574s # NULL, 1574s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1574s # NULL 1574s # }, 1574s # "good-types", 1574s # }; 1574s # 1574s # 1574s # /** 1574s # * good_types_interface_info: 1574s # * 1574s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1574s # * 1574s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1574s # */ 1574s # GDBusInterfaceInfo * 1574s # good_types_interface_info (void) 1574s # { 1574s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1574s # } 1574s # 1574s # /** 1574s # * good_types_override_properties: 1574s # * @klass: The class structure for a #GObject derived class. 1574s # * @property_id_begin: The property id to assign to the first overridden property. 1574s # * 1574s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1574s # * The properties are overridden in the order they are defined. 1574s # * 1574s # * Returns: The last property id. 1574s # */ 1574s # guint 1574s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1574s # { 1574s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1574s # return property_id_begin - 1; 1574s # } 1574s # 1574s # 1574s # 1574s # /** 1574s # * GoodTypes: 1574s # * 1574s # * Abstract interface type for the D-Bus interface GoodTypes. 1574s # */ 1574s # 1574s # /** 1574s # * GoodTypesIface: 1574s # * @parent_iface: The parent interface. 1574s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1574s # * 1574s # * Virtual table for the D-Bus interface GoodTypes. 1574s # */ 1574s # 1574s # typedef GoodTypesIface GoodTypesInterface; 1574s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1574s # 1574s # static void 1574s # good_types_default_init (GoodTypesIface *iface) 1574s # { 1574s # /* GObject properties for D-Bus properties: */ 1574s # /** 1574s # * GoodTypes:good-property-type: 1574s # * 1574s # * Represents the D-Bus property "GoodPropertyType". 1574s # * 1574s # * 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. 1574s # */ 1574s # g_object_interface_install_property (iface, 1574s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1574s # } 1574s # 1574s # /** 1574s # * good_types_get_good_property_type: (skip) 1574s # * @object: A GoodTypes. 1574s # * 1574s # * Gets the value of the "GoodPropertyType" D-Bus property. 1574s # * 1574s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1574s # * 1574s # * 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. 1574s # * 1574s # * 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. 1574s # */ 1574s # GVariant * 1574s # good_types_get_good_property_type (GoodTypes *object) 1574s # { 1574s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1574s # 1574s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1574s # } 1574s # 1574s # /** 1574s # * good_types_dup_good_property_type: (skip) 1574s # * @object: A GoodTypes. 1574s # * 1574s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1574s # * 1574s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1574s # * 1574s # * 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(). 1574s # */ 1574s # GVariant * 1574s # good_types_dup_good_property_type (GoodTypes *object) 1574s # { 1574s # GVariant *value; 1574s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1574s # return value; 1574s # } 1574s # 1574s # /** 1574s # * good_types_set_good_property_type: (skip) 1574s # * @object: A GoodTypes. 1574s # * @value: The value to set. 1574s # * 1574s # * Sets the "GoodPropertyType" D-Bus property to @value. 1574s # * 1574s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1574s # */ 1574s # void 1574s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1574s # { 1574s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1574s # } 1574s # 1574s # /* ------------------------------------------------------------------------ */ 1574s # 1574s # /** 1574s # * GoodTypesProxy: 1574s # * 1574s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1574s # */ 1574s # 1574s # /** 1574s # * GoodTypesProxyClass: 1574s # * @parent_class: The parent class. 1574s # * 1574s # * Class structure for GoodTypesProxy. 1574s # */ 1574s # 1574s # struct _GoodTypesProxyPrivate 1574s # { 1574s # GData *qdata; 1574s # }; 1574s # 1574s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1574s # 1574s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1574s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1574s # G_ADD_PRIVATE (GoodTypesProxy) 1574s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1574s # 1574s # #else 1574s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1574s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1574s # 1574s # #endif 1574s # static void 1574s # good_types_proxy_finalize (GObject *object) 1574s # { 1574s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1574s # g_datalist_clear (&proxy->priv->qdata); 1574s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_get_property (GObject *object, 1574s # guint prop_id, 1574s # GValue *value, 1574s # GParamSpec *pspec G_GNUC_UNUSED) 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info; 1574s # GVariant *variant; 1574s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1574s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1574s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1574s # if (info->use_gvariant) 1574s # { 1574s # g_value_set_variant (value, variant); 1574s # } 1574s # else 1574s # { 1574s # if (variant != NULL) 1574s # g_dbus_gvariant_to_gvalue (variant, value); 1574s # } 1574s # if (variant != NULL) 1574s # g_variant_unref (variant); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1574s # GAsyncResult *res, 1574s # gpointer user_data) 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info = user_data; 1574s # GError *error; 1574s # GVariant *_ret; 1574s # error = NULL; 1574s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1574s # if (!_ret) 1574s # { 1574s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1574s # info->parent_struct.name, 1574s # error->message, g_quark_to_string (error->domain), error->code); 1574s # g_error_free (error); 1574s # } 1574s # else 1574s # { 1574s # g_variant_unref (_ret); 1574s # } 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_set_property (GObject *object, 1574s # guint prop_id, 1574s # const GValue *value, 1574s # GParamSpec *pspec G_GNUC_UNUSED) 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info; 1574s # GVariant *variant; 1574s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1574s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1574s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1574s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1574s # "org.freedesktop.DBus.Properties.Set", 1574s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1574s # G_DBUS_CALL_FLAGS_NONE, 1574s # -1, 1574s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1574s # g_variant_unref (variant); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_g_signal (GDBusProxy *proxy, 1574s # const gchar *sender_name G_GNUC_UNUSED, 1574s # const gchar *signal_name, 1574s # GVariant *parameters) 1574s # { 1574s # _ExtendedGDBusSignalInfo *info; 1574s # GVariantIter iter; 1574s # GVariant *child; 1574s # GValue *paramv; 1574s # gsize num_params; 1574s # gsize n; 1574s # guint signal_id; 1574s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1574s # if (info == NULL) 1574s # return; 1574s # num_params = g_variant_n_children (parameters); 1574s # paramv = g_new0 (GValue, num_params + 1); 1574s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1574s # g_value_set_object (¶mv[0], proxy); 1574s # g_variant_iter_init (&iter, parameters); 1574s # n = 1; 1574s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1574s # { 1574s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1574s # if (arg_info->use_gvariant) 1574s # { 1574s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1574s # g_value_set_variant (¶mv[n], child); 1574s # n++; 1574s # } 1574s # else 1574s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1574s # g_variant_unref (child); 1574s # } 1574s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1574s # g_signal_emitv (paramv, signal_id, 0, NULL); 1574s # for (n = 0; n < num_params + 1; n++) 1574s # g_value_unset (¶mv[n]); 1574s # g_free (paramv); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1574s # GVariant *changed_properties, 1574s # const gchar *const *invalidated_properties) 1574s # { 1574s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1574s # guint n; 1574s # const gchar *key; 1574s # GVariantIter *iter; 1574s # _ExtendedGDBusPropertyInfo *info; 1574s # g_variant_get (changed_properties, "a{sv}", &iter); 1574s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1574s # { 1574s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1574s # g_datalist_remove_data (&proxy->priv->qdata, key); 1574s # if (info != NULL) 1574s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1574s # } 1574s # g_variant_iter_free (iter); 1574s # for (n = 0; invalidated_properties[n] != NULL; n++) 1574s # { 1574s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1574s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1574s # if (info != NULL) 1574s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1574s # } 1574s # } 1574s # 1574s # static GVariant * 1574s # good_types_proxy_get_good_property_type (GoodTypes *object) 1574s # { 1574s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1574s # GVariant *variant; 1574s # GVariant *value = NULL; 1574s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1574s # value = variant; 1574s # if (variant != NULL) 1574s # g_variant_unref (variant); 1574s # return value; 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_init (GoodTypesProxy *proxy) 1574s # { 1574s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1574s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1574s # #else 1574s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1574s # #endif 1574s # 1574s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1574s # { 1574s # GObjectClass *gobject_class; 1574s # GDBusProxyClass *proxy_class; 1574s # 1574s # gobject_class = G_OBJECT_CLASS (klass); 1574s # gobject_class->finalize = good_types_proxy_finalize; 1574s # gobject_class->get_property = good_types_proxy_get_property; 1574s # gobject_class->set_property = good_types_proxy_set_property; 1574s # 1574s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1574s # proxy_class->g_signal = good_types_proxy_g_signal; 1574s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1574s # 1574s # good_types_override_properties (gobject_class, 1); 1574s # 1574s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1574s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1574s # #endif 1574s # } 1574s # 1574s # static void 1574s # good_types_proxy_iface_init (GoodTypesIface *iface) 1574s # { 1574s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new: 1574s # * @connection: A #GDBusConnection. 1574s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1574s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1574s # * @object_path: An object path. 1574s # * @cancellable: (nullable): A #GCancellable or %NULL. 1574s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1574s # * @user_data: User data to pass to @callback. 1574s # * 1574s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1574s # * 1574s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1574s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1574s # * 1574s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1574s # */ 1574s # void 1574s # good_types_proxy_new ( 1574s # GDBusConnection *connection, 1574s # GDBusProxyFlags flags, 1574s # const gchar *name, 1574s # const gchar *object_path, 1574s # GCancellable *cancellable, 1574s # GAsyncReadyCallback callback, 1574s # gpointer user_data) 1574s # { 1574s # 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); 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new_finish: 1574s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1574s # * @error: Return location for error or %NULL 1574s # * 1574s # * Finishes an operation started with good_types_proxy_new(). 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1574s # */ 1574s # GoodTypes * 1574s # good_types_proxy_new_finish ( 1574s # GAsyncResult *res, 1574s # GError **error) 1574s # { 1574s # GObject *ret; 1574s # GObject *source_object; 1574s # source_object = g_async_result_get_source_object (res); 1574s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1574s # g_object_unref (source_object); 1574s # if (ret != NULL) 1574s # return GOOD_TYPES (ret); 1574s # else 1574s # return NULL; 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new_sync: 1574s # * @connection: A #GDBusConnection. 1574s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1574s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1574s # * @object_path: An object path. 1574s # * @cancellable: (nullable): A #GCancellable or %NULL. 1574s # * @error: Return location for error or %NULL 1574s # * 1574s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1574s # * 1574s # * The calling thread is blocked until a reply is received. 1574s # * 1574s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1574s # */ 1574s # GoodTypes * 1574s # good_types_proxy_new_sync ( 1574s # GDBusConnection *connection, 1574s # GDBusProxyFlags flags, 1574s # const gchar *name, 1574s # const gchar *object_path, 1574s # GCancellable *cancellable, 1574s # GError **error) 1574s # { 1574s # GInitable *ret; 1574s # 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); 1574s # if (ret != NULL) 1574s # return GOOD_TYPES (ret); 1574s # else 1574s # return NULL; 1574s # } 1574s # 1574s # 1574s # /** 1574s # * good_types_proxy_new_for_bus: 1574s # * @bus_type: A #GBusType. 1574s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1574s # * @name: A bus name (well-known or unique). 1574s # * @object_path: An object path. 1574s # * @cancellable: (nullable): A #GCancellable or %NULL. 1574s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1574s # * @user_data: User data to pass to @callback. 1574s # * 1574s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1574s # * 1574s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1574s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1574s # * 1574s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1574s # */ 1574s # void 1574s # good_types_proxy_new_for_bus ( 1574s # GBusType bus_type, 1574s # GDBusProxyFlags flags, 1574s # const gchar *name, 1574s # const gchar *object_path, 1574s # GCancellable *cancellable, 1574s # GAsyncReadyCallback callback, 1574s # gpointer user_data) 1574s # { 1574s # 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); 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new_for_bus_finish: 1574s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1574s # * @error: Return location for error or %NULL 1574s # * 1574s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1574s # */ 1574s # GoodTypes * 1574s # good_types_proxy_new_for_bus_finish ( 1574s # GAsyncResult *res, 1574s # GError **error) 1574s # { 1574s # GObject *ret; 1574s # GObject *source_object; 1574s # source_object = g_async_result_get_source_object (res); 1574s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1574s # g_object_unref (source_object); 1574s # if (ret != NULL) 1574s # return GOOD_TYPES (ret); 1574s # else 1574s # return NULL; 1574s # } 1574s # 1574s # /** 1574s # * good_types_proxy_new_for_bus_sync: 1574s # * @bus_type: A #GBusType. 1574s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1574s # * @name: A bus name (well-known or unique). 1574s # * @object_path: An object path. 1574s # * @cancellable: (nullable): A #GCancellable or %NULL. 1574s # * @error: Return location for error or %NULL 1574s # * 1574s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1574s # * 1574s # * The calling thread is blocked until a reply is received. 1574s # * 1574s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1574s # */ 1574s # GoodTypes * 1574s # good_types_proxy_new_for_bus_sync ( 1574s # GBusType bus_type, 1574s # GDBusProxyFlags flags, 1574s # const gchar *name, 1574s # const gchar *object_path, 1574s # GCancellable *cancellable, 1574s # GError **error) 1574s # { 1574s # GInitable *ret; 1574s # 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); 1574s # if (ret != NULL) 1574s # return GOOD_TYPES (ret); 1574s # else 1574s # return NULL; 1574s # } 1574s # 1574s # 1574s # /* ------------------------------------------------------------------------ */ 1574s # 1574s # /** 1574s # * GoodTypesSkeleton: 1574s # * 1574s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1574s # */ 1574s # 1574s # /** 1574s # * GoodTypesSkeletonClass: 1574s # * @parent_class: The parent class. 1574s # * 1574s # * Class structure for GoodTypesSkeleton. 1574s # */ 1574s # 1574s # struct _GoodTypesSkeletonPrivate 1574s # { 1574s # GValue *properties; 1574s # GList *changed_properties; 1574s # GSource *changed_properties_idle_source; 1574s # GMainContext *context; 1574s # GMutex lock; 1574s # }; 1574s # 1574s # static void 1574s # _good_types_skeleton_handle_method_call ( 1574s # GDBusConnection *connection G_GNUC_UNUSED, 1574s # const gchar *sender G_GNUC_UNUSED, 1574s # const gchar *object_path G_GNUC_UNUSED, 1574s # const gchar *interface_name, 1574s # const gchar *method_name, 1574s # GVariant *parameters, 1574s # GDBusMethodInvocation *invocation, 1574s # gpointer user_data) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1574s # _ExtendedGDBusMethodInfo *info; 1574s # GVariantIter iter; 1574s # GVariant *child; 1574s # GValue *paramv; 1574s # gsize num_params; 1574s # guint num_extra; 1574s # gsize n; 1574s # guint signal_id; 1574s # GValue return_value = G_VALUE_INIT; 1574s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1574s # g_assert (info != NULL); 1574s # num_params = g_variant_n_children (parameters); 1574s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1574s # n = 0; 1574s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1574s # g_value_set_object (¶mv[n++], skeleton); 1574s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1574s # g_value_set_object (¶mv[n++], invocation); 1574s # if (info->pass_fdlist) 1574s # { 1574s # #ifdef G_OS_UNIX 1574s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1574s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1574s # #else 1574s # g_assert_not_reached (); 1574s # #endif 1574s # } 1574s # g_variant_iter_init (&iter, parameters); 1574s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1574s # { 1574s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1574s # if (arg_info->use_gvariant) 1574s # { 1574s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1574s # g_value_set_variant (¶mv[n], child); 1574s # n++; 1574s # } 1574s # else 1574s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1574s # g_variant_unref (child); 1574s # } 1574s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1574s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1574s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1574s # if (!g_value_get_boolean (&return_value)) 1574s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1574s # g_value_unset (&return_value); 1574s # for (n = 0; n < num_params + num_extra; n++) 1574s # g_value_unset (¶mv[n]); 1574s # g_free (paramv); 1574s # } 1574s # 1574s # static GVariant * 1574s # _good_types_skeleton_handle_get_property ( 1574s # GDBusConnection *connection G_GNUC_UNUSED, 1574s # const gchar *sender G_GNUC_UNUSED, 1574s # const gchar *object_path G_GNUC_UNUSED, 1574s # const gchar *interface_name G_GNUC_UNUSED, 1574s # const gchar *property_name, 1574s # GError **error, 1574s # gpointer user_data) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1574s # GValue value = G_VALUE_INIT; 1574s # GParamSpec *pspec; 1574s # _ExtendedGDBusPropertyInfo *info; 1574s # GVariant *ret; 1574s # ret = NULL; 1574s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1574s # g_assert (info != NULL); 1574s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1574s # if (pspec == NULL) 1574s # { 1574s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1574s # } 1574s # else 1574s # { 1574s # g_value_init (&value, pspec->value_type); 1574s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1574s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1574s # g_value_unset (&value); 1574s # } 1574s # return ret; 1574s # } 1574s # 1574s # static gboolean 1574s # _good_types_skeleton_handle_set_property ( 1574s # GDBusConnection *connection G_GNUC_UNUSED, 1574s # const gchar *sender G_GNUC_UNUSED, 1574s # const gchar *object_path G_GNUC_UNUSED, 1574s # const gchar *interface_name G_GNUC_UNUSED, 1574s # const gchar *property_name, 1574s # GVariant *variant, 1574s # GError **error, 1574s # gpointer user_data) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1574s # GValue value = G_VALUE_INIT; 1574s # GParamSpec *pspec; 1574s # _ExtendedGDBusPropertyInfo *info; 1574s # gboolean ret; 1574s # ret = FALSE; 1574s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1574s # g_assert (info != NULL); 1574s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1574s # if (pspec == NULL) 1574s # { 1574s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1574s # } 1574s # else 1574s # { 1574s # if (info->use_gvariant) 1574s # g_value_set_variant (&value, variant); 1574s # else 1574s # g_dbus_gvariant_to_gvalue (variant, &value); 1574s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1574s # g_value_unset (&value); 1574s # ret = TRUE; 1574s # } 1574s # return ret; 1574s # } 1574s # 1574s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1574s # { 1574s # _good_types_skeleton_handle_method_call, 1574s # _good_types_skeleton_handle_get_property, 1574s # _good_types_skeleton_handle_set_property, 1574s # {NULL} 1574s # }; 1574s # 1574s # static GDBusInterfaceInfo * 1574s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1574s # { 1574s # return good_types_interface_info (); 1574s # } 1574s # 1574s # static GDBusInterfaceVTable * 1574s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1574s # { 1574s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1574s # } 1574s # 1574s # static GVariant * 1574s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1574s # 1574s # GVariantBuilder builder; 1574s # guint n; 1574s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1574s # if (_good_types_interface_info.parent_struct.properties == NULL) 1574s # goto out; 1574s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1574s # { 1574s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1574s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1574s # { 1574s # GVariant *value; 1574s # 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); 1574s # if (value != NULL) 1574s # { 1574s # g_variant_take_ref (value); 1574s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1574s # g_variant_unref (value); 1574s # } 1574s # } 1574s # } 1574s # out: 1574s # return g_variant_builder_end (&builder); 1574s # } 1574s # 1574s # static gboolean _good_types_emit_changed (gpointer user_data); 1574s # 1574s # static void 1574s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1574s # gboolean emit_changed = FALSE; 1574s # 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # if (skeleton->priv->changed_properties_idle_source != NULL) 1574s # { 1574s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1574s # skeleton->priv->changed_properties_idle_source = NULL; 1574s # emit_changed = TRUE; 1574s # } 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # 1574s # if (emit_changed) 1574s # _good_types_emit_changed (skeleton); 1574s # } 1574s # 1574s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1574s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1574s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1574s # G_ADD_PRIVATE (GoodTypesSkeleton) 1574s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1574s # 1574s # #else 1574s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1574s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1574s # 1574s # #endif 1574s # static void 1574s # good_types_skeleton_finalize (GObject *object) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # guint n; 1574s # for (n = 0; n < 1; n++) 1574s # g_value_unset (&skeleton->priv->properties[n]); 1574s # g_free (skeleton->priv->properties); 1574s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1574s # if (skeleton->priv->changed_properties_idle_source != NULL) 1574s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1574s # g_main_context_unref (skeleton->priv->context); 1574s # g_mutex_clear (&skeleton->priv->lock); 1574s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_get_property (GObject *object, 1574s # guint prop_id, 1574s # GValue *value, 1574s # GParamSpec *pspec G_GNUC_UNUSED) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # } 1574s # 1574s # static gboolean 1574s # _good_types_emit_changed (gpointer user_data) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1574s # GList *l; 1574s # GVariantBuilder builder; 1574s # GVariantBuilder invalidated_builder; 1574s # guint num_changes; 1574s # 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1574s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1574s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1574s # { 1574s # ChangedProperty *cp = l->data; 1574s # GVariant *variant; 1574s # const GValue *cur_value; 1574s # 1574s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1574s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1574s # { 1574s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1574s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1574s # g_variant_unref (variant); 1574s # num_changes++; 1574s # } 1574s # } 1574s # if (num_changes > 0) 1574s # { 1574s # GList *connections, *ll; 1574s # GVariant *signal_variant; 1574s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1574s # &builder, &invalidated_builder)); 1574s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1574s # for (ll = connections; ll != NULL; ll = ll->next) 1574s # { 1574s # GDBusConnection *connection = ll->data; 1574s # 1574s # g_dbus_connection_emit_signal (connection, 1574s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1574s # "org.freedesktop.DBus.Properties", 1574s # "PropertiesChanged", 1574s # signal_variant, 1574s # NULL); 1574s # } 1574s # g_variant_unref (signal_variant); 1574s # g_list_free_full (connections, g_object_unref); 1574s # } 1574s # else 1574s # { 1574s # g_variant_builder_clear (&builder); 1574s # g_variant_builder_clear (&invalidated_builder); 1574s # } 1574s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1574s # skeleton->priv->changed_properties = NULL; 1574s # skeleton->priv->changed_properties_idle_source = NULL; 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # return FALSE; 1574s # } 1574s # 1574s # static void 1574s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1574s # { 1574s # ChangedProperty *cp; 1574s # GList *l; 1574s # cp = NULL; 1574s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1574s # { 1574s # ChangedProperty *i_cp = l->data; 1574s # if (i_cp->info == info) 1574s # { 1574s # cp = i_cp; 1574s # break; 1574s # } 1574s # } 1574s # if (cp == NULL) 1574s # { 1574s # cp = g_new0 (ChangedProperty, 1); 1574s # cp->prop_id = prop_id; 1574s # cp->info = info; 1574s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1574s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1574s # g_value_copy (orig_value, &cp->orig_value); 1574s # } 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_notify (GObject *object, 1574s # GParamSpec *pspec G_GNUC_UNUSED) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # if (skeleton->priv->changed_properties != NULL && 1574s # skeleton->priv->changed_properties_idle_source == NULL) 1574s # { 1574s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1574s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1574s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1574s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1574s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1574s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1574s # } 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_set_property (GObject *object, 1574s # guint prop_id, 1574s # const GValue *value, 1574s # GParamSpec *pspec) 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info; 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1574s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # g_object_freeze_notify (object); 1574s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1574s # { 1574s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1574s # info->emits_changed_signal) 1574s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1574s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1574s # g_object_notify_by_pspec (object, pspec); 1574s # } 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # g_object_thaw_notify (object); 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1574s # { 1574s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1574s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1574s # #else 1574s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1574s # #endif 1574s # 1574s # g_mutex_init (&skeleton->priv->lock); 1574s # skeleton->priv->context = g_main_context_ref_thread_default (); 1574s # skeleton->priv->properties = g_new0 (GValue, 1); 1574s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1574s # } 1574s # 1574s # static GVariant * 1574s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1574s # { 1574s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1574s # GVariant *value; 1574s # g_mutex_lock (&skeleton->priv->lock); 1574s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1574s # g_mutex_unlock (&skeleton->priv->lock); 1574s # return value; 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1574s # { 1574s # GObjectClass *gobject_class; 1574s # GDBusInterfaceSkeletonClass *skeleton_class; 1574s # 1574s # gobject_class = G_OBJECT_CLASS (klass); 1574s # gobject_class->finalize = good_types_skeleton_finalize; 1574s # gobject_class->get_property = good_types_skeleton_get_property; 1574s # gobject_class->set_property = good_types_skeleton_set_property; 1574s # gobject_class->notify = good_types_skeleton_notify; 1574s # 1574s # 1574s # good_types_override_properties (gobject_class, 1); 1574s # 1574s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1574s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1574s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1574s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1574s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1574s # 1574s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1574s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1574s # #endif 1574s # } 1574s # 1574s # static void 1574s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1574s # { 1574s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1574s # } 1574s # 1574s # /** 1574s # * good_types_skeleton_new: 1574s # * 1574s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1574s # * 1574s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1574s # */ 1574s # GoodTypes * 1574s # good_types_skeleton_new (void) 1574s # { 1574s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1574s # } 1574s ok 3 __main__.TestCodegen.test_empty_interface_body 1574s # tmpdir: /tmp/tmpitlu2u3h 1574s # codegen: /usr/bin/gdbus-codegen 1574s # /tmp/tmpitlu2u3h/tmp971dl107.xml: 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpitlu2u3h/tmp971dl107.xml', '--output', '-', '--body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # Output: /* 1574s # * This file is generated by gdbus-codegen, do not modify it. 1574s # * 1574s # * The license of this code is the same as for the D-Bus interface description 1574s # * it was derived from. Note that it links to GLib, so must comply with the 1574s # * LGPL linking clauses. 1574s # */ 1574s # 1574s # #ifdef HAVE_CONFIG_H 1574s # # include "config.h" 1574s # #endif 1574s # 1574s # #include 1574s # #ifdef G_OS_UNIX 1574s # # include 1574s # #endif 1574s # 1574s # #ifdef G_ENABLE_DEBUG 1574s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1574s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1574s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1574s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1574s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1574s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1574s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1574s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1574s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1574s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1574s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1574s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1574s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1574s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1574s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1574s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1574s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1574s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1574s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1574s # #else /* !G_ENABLE_DEBUG */ 1574s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1574s # * Do not access GValues directly in your code. Instead, use the 1574s # * g_value_get_*() functions 1574s # */ 1574s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1574s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1574s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1574s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1574s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1574s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1574s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1574s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1574s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1574s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1574s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1574s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1574s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1574s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1574s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1574s # #endif /* !G_ENABLE_DEBUG */ 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusArgInfo parent_struct; 1574s # gboolean use_gvariant; 1574s # } _ExtendedGDBusArgInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusMethodInfo parent_struct; 1574s # const gchar *signal_name; 1574s # gboolean pass_fdlist; 1574s # } _ExtendedGDBusMethodInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusSignalInfo parent_struct; 1574s # const gchar *signal_name; 1574s # } _ExtendedGDBusSignalInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusPropertyInfo parent_struct; 1574s # const gchar *hyphen_name; 1574s # guint use_gvariant : 1; 1574s # guint emits_changed_signal : 1; 1574s # } _ExtendedGDBusPropertyInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # GDBusInterfaceInfo parent_struct; 1574s # const gchar *hyphen_name; 1574s # } _ExtendedGDBusInterfaceInfo; 1574s # 1574s # typedef struct 1574s # { 1574s # const _ExtendedGDBusPropertyInfo *info; 1574s # guint prop_id; 1574s # GValue orig_value; /* the value before the change */ 1574s # } ChangedProperty; 1574s # 1574s # static void 1574s # _changed_property_free (ChangedProperty *data) 1574s # { 1574s # g_value_unset (&data->orig_value); 1574s # g_free (data); 1574s # } 1574s # 1574s # static gboolean 1574s # _g_strv_equal0 (gchar **a, gchar **b) 1574s # { 1574s # gboolean ret = FALSE; 1574s # guint n; 1574s # if (a == NULL && b == NULL) 1574s # { 1574s # ret = TRUE; 1574s # goto out; 1574s # } 1574s # if (a == NULL || b == NULL) 1574s # goto out; 1574s # if (g_strv_length (a) != g_strv_length (b)) 1574s # goto out; 1574s # for (n = 0; a[n] != NULL; n++) 1574s # if (g_strcmp0 (a[n], b[n]) != 0) 1574s # goto out; 1574s # ret = TRUE; 1574s # out: 1574s # return ret; 1574s # } 1574s # 1574s # static gboolean 1574s # _g_variant_equal0 (GVariant *a, GVariant *b) 1574s # { 1574s # gboolean ret = FALSE; 1574s # if (a == NULL && b == NULL) 1574s # { 1574s # ret = TRUE; 1574s # goto out; 1574s # } 1574s # if (a == NULL || b == NULL) 1574s # goto out; 1574s # ret = g_variant_equal (a, b); 1574s # out: 1574s # return ret; 1574s # } 1574s # 1574s # G_GNUC_UNUSED static gboolean 1574s # _g_value_equal (const GValue *a, const GValue *b) 1574s # { 1574s # gboolean ret = FALSE; 1574s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1574s # switch (G_VALUE_TYPE (a)) 1574s # { 1574s # case G_TYPE_BOOLEAN: 1574s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1574s # break; 1574s # case G_TYPE_UCHAR: 1574s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1574s # break; 1574s # case G_TYPE_INT: 1574s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1574s # break; 1574s # case G_TYPE_UINT: 1574s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1574s # break; 1574s # case G_TYPE_INT64: 1574s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1574s # break; 1574s # case G_TYPE_UINT64: 1574s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1574s # break; 1574s # case G_TYPE_DOUBLE: 1574s # { 1574s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1574s # gdouble da = g_value_get_double (a); 1574s # gdouble db = g_value_get_double (b); 1574s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1574s # } 1574s # break; 1574s # case G_TYPE_STRING: 1574s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1574s # break; 1574s # case G_TYPE_VARIANT: 1574s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1574s # break; 1574s # default: 1574s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1574s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1574s # else 1574s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1574s # break; 1574s # } 1574s # return ret; 1574s # } 1574s ok 4 __main__.TestCodegen.test_empty_interface_header 1574s # tmpdir: /tmp/tmp7rdid1z1 1574s # codegen: /usr/bin/gdbus-codegen 1574s # /tmp/tmp7rdid1z1/tmpphd1f754.xml: 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7rdid1z1/tmpphd1f754.xml', '--output', '-', '--header'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # Output: /* 1574s # * This file is generated by gdbus-codegen, do not modify it. 1574s # * 1574s # * The license of this code is the same as for the D-Bus interface description 1574s # * it was derived from. Note that it links to GLib, so must comply with the 1574s # * LGPL linking clauses. 1574s # */ 1574s # 1574s # #ifndef __STDOUT__ 1574s # #define __STDOUT__ 1574s # 1574s # #include 1574s # 1574s # G_BEGIN_DECLS 1574s # 1574s # 1574s # G_END_DECLS 1574s # 1574s # #endif /* __STDOUT__ */ 1574s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1574s # tmpdir: /tmp/tmpnc8ud44c 1574s # codegen: /usr/bin/gdbus-codegen 1574s # /tmp/tmpnc8ud44c/tmpf9lgv2pb.xml: 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnc8ud44c/tmpf9lgv2pb.xml', '--output', '-', '--interface-info-body'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # Output: /* 1574s # * This file is generated by gdbus-codegen, do not modify it. 1574s # * 1574s # * The license of this code is the same as for the D-Bus interface description 1574s # * it was derived from. Note that it links to GLib, so must comply with the 1574s # * LGPL linking clauses. 1574s # */ 1574s # 1574s # #ifdef HAVE_CONFIG_H 1574s # # include "config.h" 1574s # #endif 1574s # 1574s # #include 1574s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1574s # tmpdir: /tmp/tmpfu5ltyl7 1574s # codegen: /usr/bin/gdbus-codegen 1574s # /tmp/tmpfu5ltyl7/tmpvrgvyceb.xml: 1574s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfu5ltyl7/tmpvrgvyceb.xml', '--output', '-', '--interface-info-header'] 1574s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1574s # Output: /* 1574s # * This file is generated by gdbus-codegen, do not modify it. 1574s # * 1574s # * The license of this code is the same as for the D-Bus interface description 1574s # * it was derived from. Note that it links to GLib, so must comply with the 1574s # * LGPL linking clauses. 1574s # */ 1574s # 1574s # #ifndef __STDOUT__ 1574s # #define __STDOUT__ 1574s # 1574s # #include 1574s # 1574s # G_BEGIN_DECLS 1574s # 1574s # 1574s # G_END_DECLS 1574s # 1574s # #endif /* __STDOUT__ */ 1575s ok 7 __main__.TestCodegen.test_generate_docbook 1575s # tmpdir: /tmp/tmpq40p6qgw 1575s # codegen: /usr/bin/gdbus-codegen 1575s # /tmp/tmpq40p6qgw/tmp740ghl4x.xml: 1575s # 1575s # 1575s # 1575s # 1575s # 1575s # 1575s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq40p6qgw/tmp740ghl4x.xml', '--generate-docbook', 'test'] 1575s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1575s # Output: 1575s ok 8 __main__.TestCodegen.test_generate_md 1575s # tmpdir: /tmp/tmpjfc5ionh 1575s # codegen: /usr/bin/gdbus-codegen 1575s # /tmp/tmpjfc5ionh/tmp9iblhd2w.xml: 1575s # 1575s # 1575s # 1575s # 1575s # 1575s # 1575s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjfc5ionh/tmp9iblhd2w.xml', '--generate-md', 'test'] 1575s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1575s # Output: 1575s # Executing: glib/codegen.py.test 1575s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1575s # tmpdir: /tmp/tmp69bjfi4i 1575s # codegen: /usr/bin/gdbus-codegen 1575s # /tmp/tmp69bjfi4i/tmpz8ju2b38.xml: 1575s # 1575s # 1575s # 1575s # 1575s # 1575s # 1575s # 1575s # 1575s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp69bjfi4i/tmpz8ju2b38.xml', '--output', '-', '--body'] 1575s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1575s # Output: /* 1575s # * This file is generated by gdbus-codegen, do not modify it. 1575s # * 1575s # * The license of this code is the same as for the D-Bus interface description 1575s # * it was derived from. Note that it links to GLib, so must comply with the 1575s # * LGPL linking clauses. 1575s # */ 1575s # 1575s # #ifdef HAVE_CONFIG_H 1575s # # include "config.h" 1575s # #endif 1575s # 1575s # #include 1575s # #ifdef G_OS_UNIX 1575s # # include 1575s # #endif 1575s # 1575s # #ifdef G_ENABLE_DEBUG 1575s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1575s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1575s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1575s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1575s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1575s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1575s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1575s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1575s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1575s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1575s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1575s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1575s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1575s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1575s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1575s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1575s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1575s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1575s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1575s # #else /* !G_ENABLE_DEBUG */ 1575s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1575s # * Do not access GValues directly in your code. Instead, use the 1575s # * g_value_get_*() functions 1575s # */ 1575s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1575s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1575s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1575s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1575s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1575s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1575s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1575s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1575s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1575s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1575s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1575s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1575s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1575s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1575s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1575s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1575s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1575s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1575s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1575s # #endif /* !G_ENABLE_DEBUG */ 1575s # 1575s # typedef struct 1575s # { 1575s # GDBusArgInfo parent_struct; 1575s # gboolean use_gvariant; 1575s # } _ExtendedGDBusArgInfo; 1575s # 1575s # typedef struct 1575s # { 1575s # GDBusMethodInfo parent_struct; 1575s # const gchar *signal_name; 1575s # gboolean pass_fdlist; 1575s # } _ExtendedGDBusMethodInfo; 1575s # 1575s # typedef struct 1575s # { 1575s # GDBusSignalInfo parent_struct; 1575s # const gchar *signal_name; 1575s # } _ExtendedGDBusSignalInfo; 1575s # 1575s # typedef struct 1575s # { 1575s # GDBusPropertyInfo parent_struct; 1575s # const gchar *hyphen_name; 1575s # guint use_gvariant : 1; 1575s # guint emits_changed_signal : 1; 1575s # } _ExtendedGDBusPropertyInfo; 1575s # 1575s # typedef struct 1575s # { 1575s # GDBusInterfaceInfo parent_struct; 1575s # const gchar *hyphen_name; 1575s # } _ExtendedGDBusInterfaceInfo; 1575s # 1575s # typedef struct 1575s # { 1575s # const _ExtendedGDBusPropertyInfo *info; 1575s # guint prop_id; 1575s # GValue orig_value; /* the value before the change */ 1575s # } ChangedProperty; 1575s # 1575s # static void 1575s # _changed_property_free (ChangedProperty *data) 1575s # { 1575s # g_value_unset (&data->orig_value); 1575s # g_free (data); 1575s # } 1575s # 1575s # static gboolean 1575s # _g_strv_equal0 (gchar **a, gchar **b) 1575s # { 1575s # gboolean ret = FALSE; 1575s # guint n; 1575s # if (a == NULL && b == NULL) 1575s # { 1575s # ret = TRUE; 1575s # goto out; 1575s # } 1575s # if (a == NULL || b == NULL) 1575s # goto out; 1575s # if (g_strv_length (a) != g_strv_length (b)) 1575s # goto out; 1575s # for (n = 0; a[n] != NULL; n++) 1575s # if (g_strcmp0 (a[n], b[n]) != 0) 1575s # goto out; 1575s # ret = TRUE; 1575s # out: 1575s # return ret; 1575s # } 1575s # 1575s # static gboolean 1575s # _g_variant_equal0 (GVariant *a, GVariant *b) 1575s # { 1575s # gboolean ret = FALSE; 1575s # if (a == NULL && b == NULL) 1575s # { 1575s # ret = TRUE; 1575s # goto out; 1575s # } 1575s # if (a == NULL || b == NULL) 1575s # goto out; 1575s # ret = g_variant_equal (a, b); 1575s # out: 1575s # return ret; 1575s # } 1575s # 1575s # G_GNUC_UNUSED static gboolean 1575s # _g_value_equal (const GValue *a, const GValue *b) 1575s # { 1575s # gboolean ret = FALSE; 1575s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1575s # switch (G_VALUE_TYPE (a)) 1575s # { 1575s # case G_TYPE_BOOLEAN: 1575s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1575s # break; 1575s # case G_TYPE_UCHAR: 1575s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1575s # break; 1575s # case G_TYPE_INT: 1575s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1575s # break; 1575s # case G_TYPE_UINT: 1575s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1575s # break; 1575s # case G_TYPE_INT64: 1575s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1575s # break; 1575s # case G_TYPE_UINT64: 1575s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1575s # break; 1575s # case G_TYPE_DOUBLE: 1575s # { 1575s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1575s # gdouble da = g_value_get_double (a); 1575s # gdouble db = g_value_get_double (b); 1575s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1575s # } 1575s # break; 1575s # case G_TYPE_STRING: 1575s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1575s # break; 1575s # case G_TYPE_VARIANT: 1575s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1575s # break; 1575s # default: 1575s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1575s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1575s # else 1575s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1575s # break; 1575s # } 1575s # return ret; 1575s # } 1575s # 1575s # static void 1575s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1575s # GClosure *closure, 1575s # GValue *return_value, 1575s # unsigned int n_param_values, 1575s # const GValue *param_values, 1575s # void *invocation_hint G_GNUC_UNUSED, 1575s # void *marshal_data) 1575s # { 1575s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1575s # (void *data1, 1575s # GDBusMethodInvocation *arg_method_invocation, 1575s # void *data2); 1575s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1575s # GCClosure *cc = (GCClosure*) closure; 1575s # void *data1, *data2; 1575s # gboolean v_return; 1575s # 1575s # g_return_if_fail (return_value != NULL); 1575s # g_return_if_fail (n_param_values == 2); 1575s # 1575s # if (G_CCLOSURE_SWAP_DATA (closure)) 1575s # { 1575s # data1 = closure->data; 1575s # data2 = g_value_peek_pointer (param_values + 0); 1575s # } 1575s # else 1575s # { 1575s # data1 = g_value_peek_pointer (param_values + 0); 1575s # data2 = closure->data; 1575s # } 1575s # 1575s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1575s # (marshal_data ? marshal_data : cc->callback); 1575s # 1575s # v_return = 1575s # callback (data1, 1575s # g_marshal_value_peek_object (param_values + 1), 1575s # data2); 1575s # 1575s # g_value_set_boolean (return_value, v_return); 1575s # } 1575s # 1575s # /* ------------------------------------------------------------------------ 1575s # * Code for interface org.project.CallableIface 1575s # * ------------------------------------------------------------------------ 1575s # */ 1575s # 1575s # /** 1575s # * SECTION:OrgProjectCallableIface 1575s # * @title: OrgProjectCallableIface 1575s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1575s # * 1575s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1575s # */ 1575s # 1575s # /* ---- Introspection data for org.project.CallableIface ---- */ 1575s # 1575s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1575s # { 1575s # { 1575s # -1, 1575s # (gchar *) "SimpleMethod", 1575s # NULL, 1575s # NULL, 1575s # NULL 1575s # }, 1575s # "handle-simple-method", 1575s # FALSE 1575s # }; 1575s # 1575s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1575s # { 1575s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1575s # NULL 1575s # }; 1575s # 1575s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1575s # { 1575s # { 1575s # -1, 1575s # (gchar *) "org.project.CallableIface", 1575s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1575s # NULL, 1575s # NULL, 1575s # NULL 1575s # }, 1575s # "org-project-callable-iface", 1575s # }; 1575s # 1575s # 1575s # /** 1575s # * org_project_callable_iface_interface_info: 1575s # * 1575s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1575s # * 1575s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1575s # */ 1575s # GDBusInterfaceInfo * 1575s # org_project_callable_iface_interface_info (void) 1575s # { 1575s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1575s # } 1575s # 1575s # /** 1575s # * org_project_callable_iface_override_properties: 1575s # * @klass: The class structure for a #GObject derived class. 1575s # * @property_id_begin: The property id to assign to the first overridden property. 1575s # * 1575s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1575s # * The properties are overridden in the order they are defined. 1575s # * 1575s # * Returns: The last property id. 1575s # */ 1575s # guint 1575s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1575s # { 1575s # return property_id_begin - 1; 1575s # } 1575s # 1575s # 1575s # inline static void 1575s # org_project_callable_iface_method_marshal_simple_method ( 1575s # GClosure *closure, 1575s # GValue *return_value, 1575s # unsigned int n_param_values, 1575s # const GValue *param_values, 1575s # void *invocation_hint, 1575s # void *marshal_data) 1575s # { 1575s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1575s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1575s # } 1575s # 1575s # 1575s # /** 1575s # * OrgProjectCallableIface: 1575s # * 1575s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1575s # */ 1575s # 1575s # /** 1575s # * OrgProjectCallableIfaceIface: 1575s # * @parent_iface: The parent interface. 1575s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1575s # * 1575s # * Virtual table for the D-Bus interface org.project.CallableIface. 1575s # */ 1575s # 1575s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1575s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1575s # 1575s # static void 1575s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1575s # { 1575s # /* GObject signals for incoming D-Bus method calls: */ 1575s # /** 1575s # * OrgProjectCallableIface::handle-simple-method: 1575s # * @object: A #OrgProjectCallableIface. 1575s # * @invocation: A #GDBusMethodInvocation. 1575s # * 1575s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1575s # * 1575s # * 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. 1575s # * 1575s # * 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. 1575s # */ 1575s # g_signal_new ("handle-simple-method", 1575s # G_TYPE_FROM_INTERFACE (iface), 1575s # G_SIGNAL_RUN_LAST, 1575s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1575s # g_signal_accumulator_true_handled, 1575s # NULL, 1575s # org_project_callable_iface_method_marshal_simple_method, 1575s # G_TYPE_BOOLEAN, 1575s # 1, 1575s # G_TYPE_DBUS_METHOD_INVOCATION); 1575s # 1575s # } 1575s # 1575s # /** 1575s # * org_project_callable_iface_call_simple_method: 1575s # * @proxy: A #OrgProjectCallableIfaceProxy. 1575s # * @cancellable: (nullable): A #GCancellable or %NULL. 1575s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1575s # * @user_data: User data to pass to @callback. 1575s # * 1575s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1575s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1575s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1575s # * 1575s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1575s # */ 1575s # void 1575s # org_project_callable_iface_call_simple_method ( 1575s # OrgProjectCallableIface *proxy, 1575s # GCancellable *cancellable, 1575s # GAsyncReadyCallback callback, 1575s # gpointer user_data) 1575s # { 1575s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1575s # "SimpleMethod", 1575s # g_variant_new ("()"), 1575s # G_DBUS_CALL_FLAGS_NONE, 1575s # -1, 1575s # cancellable, 1575s # callback, 1575s # user_data); 1575s # } 1575s # 1575s # /** 1575s # * org_project_callable_iface_call_simple_method_finish: 1575s # * @proxy: A #OrgProjectCallableIfaceProxy. 1575s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1575s # * @error: Return location for error or %NULL. 1575s # * 1575s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1575s # * 1575s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1575s # */ 1575s # gboolean 1575s # org_project_callable_iface_call_simple_method_finish ( 1575s # OrgProjectCallableIface *proxy, 1575s # GAsyncResult *res, 1575s # GError **error) 1575s # { 1575s # GVariant *_ret; 1575s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1575s # if (_ret == NULL) 1575s # goto _out; 1575s # g_variant_get (_ret, 1575s # "()"); 1575s # g_variant_unref (_ret); 1575s # _out: 1575s # return _ret != NULL; 1575s # } 1575s # 1575s # /** 1575s # * org_project_callable_iface_call_simple_method_sync: 1575s # * @proxy: A #OrgProjectCallableIfaceProxy. 1575s # * @cancellable: (nullable): A #GCancellable or %NULL. 1575s # * @error: Return location for error or %NULL. 1575s # * 1575s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1575s # * 1575s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1575s # * 1575s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1575s # */ 1575s # gboolean 1575s # org_project_callable_iface_call_simple_method_sync ( 1575s # OrgProjectCallableIface *proxy, 1575s # GCancellable *cancellable, 1575s # GError **error) 1575s # { 1575s # GVariant *_ret; 1575s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1575s # "SimpleMethod", 1575s # g_variant_new ("()"), 1575s # G_DBUS_CALL_FLAGS_NONE, 1575s # -1, 1575s # cancellable, 1575s # error); 1575s # if (_ret == NULL) 1575s # goto _out; 1575s # g_variant_get (_ret, 1575s # "()"); 1575s # g_variant_unref (_ret); 1575s # _out: 1575s # return _ret != NULL; 1575s # } 1575s # 1575s # /** 1575s # * org_project_callable_iface_complete_simple_method: 1575s # * @object: A #OrgProjectCallableIface. 1575s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1575s # * 1575s # * 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. 1575s # * 1575s # * This method will free @invocation, you cannot use it afterwards. 1575s # */ 1575s # void 1575s # org_project_callable_iface_complete_simple_method ( 1575s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1575s # GDBusMethodInvocation *invocation) 1575s # { 1575s # g_dbus_method_invocation_return_value (invocation, 1575s # g_variant_new ("()")); 1575s # } 1575s # 1575s # /* ------------------------------------------------------------------------ */ 1575s # 1575s # /** 1575s # * OrgProjectCallableIfaceProxy: 1575s # * 1575s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1575s # */ 1575s # 1575s # /** 1575s # * OrgProjectCallableIfaceProxyClass: 1575s # * @parent_class: The parent class. 1575s # * 1575s # * Class structure for #OrgProjectCallableIfaceProxy. 1575s # */ 1575s # 1575s # struct _OrgProjectCallableIfaceProxyPrivate 1575s # { 1575s # GData *qdata; 1575s # }; 1575s # 1575s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1575s # 1575s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1575s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1575s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1575s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1575s # 1575s # #else 1575s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1575s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1575s # 1575s # #endif 1575s # static void 1575s # org_project_callable_iface_proxy_finalize (GObject *object) 1575s # { 1575s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1575s # g_datalist_clear (&proxy->priv->qdata); 1575s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1575s # } 1575s # 1575s # static void 1575s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1575s # guint prop_id G_GNUC_UNUSED, 1575s # GValue *value G_GNUC_UNUSED, 1575s # GParamSpec *pspec G_GNUC_UNUSED) 1575s # { 1575s # } 1575s # 1575s # static void 1575s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1575s # guint prop_id G_GNUC_UNUSED, 1575s # const GValue *value G_GNUC_UNUSED, 1575s # GParamSpec *pspec G_GNUC_UNUSED) 1575s # { 1575s # } 1575s # 1575s # static void 1575s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1575s # const gchar *sender_name G_GNUC_UNUSED, 1575s # const gchar *signal_name, 1575s # GVariant *parameters) 1575s # { 1575s # _ExtendedGDBusSignalInfo *info; 1575s # GVariantIter iter; 1575s # GVariant *child; 1575s # GValue *paramv; 1575s # gsize num_params; 1575s # gsize n; 1575s # guint signal_id; 1575s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1575s # if (info == NULL) 1575s # return; 1575s # num_params = g_variant_n_children (parameters); 1575s # paramv = g_new0 (GValue, num_params + 1); 1575s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1575s # g_value_set_object (¶mv[0], proxy); 1575s # g_variant_iter_init (&iter, parameters); 1575s # n = 1; 1575s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1575s # { 1575s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1575s # if (arg_info->use_gvariant) 1575s # { 1575s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1575s # g_value_set_variant (¶mv[n], child); 1575s # n++; 1575s # } 1575s # else 1575s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1575s # g_variant_unref (child); 1575s # } 1575s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1575s # g_signal_emitv (paramv, signal_id, 0, NULL); 1575s # for (n = 0; n < num_params + 1; n++) 1575s # g_value_unset (¶mv[n]); 1575s # g_free (paramv); 1575s # } 1575s # 1575s # static void 1575s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1575s # GVariant *changed_properties, 1575s # const gchar *const *invalidated_properties) 1575s # { 1575s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1575s # guint n; 1575s # const gchar *key; 1575s # GVariantIter *iter; 1575s # _ExtendedGDBusPropertyInfo *info; 1575s # g_variant_get (changed_properties, "a{sv}", &iter); 1575s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1575s # { 1575s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1575s # g_datalist_remove_data (&proxy->priv->qdata, key); 1575s # if (info != NULL) 1575s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1575s # } 1575s # g_variant_iter_free (iter); 1575s # for (n = 0; invalidated_properties[n] != NULL; n++) 1575s # { 1575s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1575s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1575s # if (info != NULL) 1575s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1575s # } 1575s # } 1575s # 1575s # static void 1575s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1575s # { 1575s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1575s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1575s # #else 1575s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1575s # #endif 1575s # 1575s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1575s # } 1575s # 1575s # static void 1575s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1575s # { 1575s # GObjectClass *gobject_class; 1575s # GDBusProxyClass *proxy_class; 1575s # 1575s # gobject_class = G_OBJECT_CLASS (klass); 1575s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1575s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1575s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1575s # 1575s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1575s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1575s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1575s # 1575s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1575s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1575s # #endif 1575s # } 1575s # 1575s # static void 1575s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1575s # { 1575s # } 1575s # 1575s # /** 1575s # * org_project_callable_iface_proxy_new: 1575s # * @connection: A #GDBusConnection. 1575s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1575s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1575s # * @object_path: An object path. 1575s # * @cancellable: (nullable): A #GCancellable or %NULL. 1575s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1575s # * @user_data: User data to pass to @callback. 1575s # * 1575s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1575s # * 1575s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1575s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1575s # * 1575s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1575s # */ 1575s # void 1575s # org_project_callable_iface_proxy_new ( 1575s # GDBusConnection *connection, 1575s # GDBusProxyFlags flags, 1575s # const gchar *name, 1575s # const gchar *object_path, 1575s # GCancellable *cancellable, 1575s # GAsyncReadyCallback callback, 1575s # gpointer user_data) 1575s # { 1575s # 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); 1575s # } 1575s # 1575s # /** 1575s # * org_project_callable_iface_proxy_new_finish: 1575s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1575s # * @error: Return location for error or %NULL 1575s # * 1575s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1575s # * 1575s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1575s # */ 1575s # OrgProjectCallableIface * 1575s # org_project_callable_iface_proxy_new_finish ( 1575s # GAsyncResult *res, 1575s # GError **error) 1575s # { 1575s # GObject *ret; 1575s # GObject *source_object; 1575s # source_object = g_async_result_get_source_object (res); 1575s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1575s # g_object_unref (source_object); 1575s # if (ret != NULL) 1575s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1575s # else 1575s # return NULL; 1575s # } 1575s # 1575s # /** 1575s # * org_project_callable_iface_proxy_new_sync: 1575s # * @connection: A #GDBusConnection. 1575s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1575s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1575s # * @object_path: An object path. 1575s # * @cancellable: (nullable): A #GCancellable or %NULL. 1575s # * @error: Return location for error or %NULL 1575s # * 1575s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1575s # * 1575s # * The calling thread is blocked until a reply is received. 1575s # * 1575s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1575s # * 1575s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1575s # */ 1575s # OrgProjectCallableIface * 1575s # org_project_callable_iface_proxy_new_sync ( 1575s # GDBusConnection *connection, 1575s # GDBusProxyFlags flags, 1575s # const gchar *name, 1575s # const gchar *object_path, 1575s # GCancellable *cancellable, 1575s # GError **error) 1575s # { 1575s # GInitable *ret; 1575s # 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); 1575s # if (ret != NULL) 1575s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1575s # else 1575s # return NULL; 1575s # } 1575s # 1575s # 1575s # /** 1575s # * org_project_callable_iface_proxy_new_for_bus: 1575s # * @bus_type: A #GBusType. 1575s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1575s # * @name: A bus name (well-known or unique). 1575s # * @object_path: An object path. 1575s # * @cancellable: (nullable): A #GCancellable or %NULL. 1575s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1575s # * @user_data: User data to pass to @callback. 1575s # * 1575s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1575s # * 1575s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1575s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1575s # * 1575s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1575s # */ 1575s # void 1575s # org_project_callable_iface_proxy_new_for_bus ( 1575s # GBusType bus_type, 1575s # GDBusProxyFlags flags, 1575s # const gchar *name, 1575s # const gchar *object_path, 1575s # GCancellable *cancellable, 1575s # GAsyncReadyCallback callback, 1575s # gpointer user_data) 1575s # { 1575s # 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); 1575s # } 1575s # 1575s # /** 1575s # * org_project_callable_iface_proxy_new_for_bus_finish: 1575s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1575s # * @error: Return location for error or %NULL 1575s # * 1575s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1575s # * 1575s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1575s # */ 1575s # OrgProjectCallableIface * 1575s # org_project_callable_iface_proxy_new_for_bus_finish ( 1575s # GAsyncResult *res, 1575s # GError **error) 1575s # { 1575s # GObject *ret; 1575s # GObject *source_object; 1575s # source_object = g_async_result_get_source_object (res); 1575s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1575s # g_object_unref (source_object); 1575s # if (ret != NULL) 1575s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1575s # else 1575s # return NULL; 1575s # } 1575s # 1575s # /** 1575s # * org_project_callable_iface_proxy_new_for_bus_sync: 1575s # * @bus_type: A #GBusType. 1575s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1575s # * @name: A bus name (well-known or unique). 1575s # * @object_path: An object path. 1575s # * @cancellable: (nullable): A #GCancellable or %NULL. 1575s # * @error: Return location for error or %NULL 1575s # * 1575s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1575s # * 1575s # * The calling thread is blocked until a reply is received. 1575s # * 1575s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1575s # * 1575s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1575s # */ 1575s # OrgProjectCallableIface * 1575s # org_project_callable_iface_proxy_new_for_bus_sync ( 1575s # GBusType bus_type, 1575s # GDBusProxyFlags flags, 1575s # const gchar *name, 1575s # const gchar *object_path, 1575s # GCancellable *cancellable, 1575s # GError **error) 1575s # { 1575s # GInitable *ret; 1575s # 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); 1575s # if (ret != NULL) 1575s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1575s # else 1575s # return NULL; 1575s # } 1575s # 1575s # 1575s # /* ------------------------------------------------------------------------ */ 1575s # 1575s # /** 1575s # * OrgProjectCallableIfaceSkeleton: 1575s # * 1575s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1575s # */ 1575s # 1575s # /** 1575s # * OrgProjectCallableIfaceSkeletonClass: 1575s # * @parent_class: The parent class. 1575s # * 1575s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1575s # */ 1575s # 1575s # struct _OrgProjectCallableIfaceSkeletonPrivate 1575s # { 1575s # GValue *properties; 1575s # GList *changed_properties; 1575s # GSource *changed_properties_idle_source; 1575s # GMainContext *context; 1575s # GMutex lock; 1575s # }; 1575s # 1575s # static void 1575s # _org_project_callable_iface_skeleton_handle_method_call ( 1575s # GDBusConnection *connection G_GNUC_UNUSED, 1575s # const gchar *sender G_GNUC_UNUSED, 1575s # const gchar *object_path G_GNUC_UNUSED, 1575s # const gchar *interface_name, 1575s # const gchar *method_name, 1575s # GVariant *parameters, 1575s # GDBusMethodInvocation *invocation, 1575s # gpointer user_data) 1575s # { 1575s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1575s # _ExtendedGDBusMethodInfo *info; 1575s # GVariantIter iter; 1575s # GVariant *child; 1575s # GValue *paramv; 1575s # gsize num_params; 1575s # guint num_extra; 1575s # gsize n; 1575s # guint signal_id; 1575s # GValue return_value = G_VALUE_INIT; 1575s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1575s # g_assert (info != NULL); 1575s # num_params = g_variant_n_children (parameters); 1575s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1575s # n = 0; 1575s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1575s # g_value_set_object (¶mv[n++], skeleton); 1575s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1575s # g_value_set_object (¶mv[n++], invocation); 1575s # if (info->pass_fdlist) 1575s # { 1575s # #ifdef G_OS_UNIX 1575s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1575s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1575s # #else 1575s # g_assert_not_reached (); 1575s # #endif 1575s # } 1575s # g_variant_iter_init (&iter, parameters); 1575s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1575s # { 1575s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1575s # if (arg_info->use_gvariant) 1575s # { 1575s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1575s # g_value_set_variant (¶mv[n], child); 1575s # n++; 1575s # } 1575s # else 1575s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1575s # g_variant_unref (child); 1575s # } 1575s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1575s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1575s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1575s # if (!g_value_get_boolean (&return_value)) 1575s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1575s # g_value_unset (&return_value); 1575s # for (n = 0; n < num_params + num_extra; n++) 1575s # g_value_unset (¶mv[n]); 1575s # g_free (paramv); 1575s # } 1575s # 1575s # static GVariant * 1575s # _org_project_callable_iface_skeleton_handle_get_property ( 1575s # GDBusConnection *connection G_GNUC_UNUSED, 1575s # const gchar *sender G_GNUC_UNUSED, 1575s # const gchar *object_path G_GNUC_UNUSED, 1575s # const gchar *interface_name G_GNUC_UNUSED, 1575s # const gchar *property_name, 1575s # GError **error, 1575s # gpointer user_data) 1575s # { 1575s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1575s # GValue value = G_VALUE_INIT; 1575s # GParamSpec *pspec; 1575s # _ExtendedGDBusPropertyInfo *info; 1575s # GVariant *ret; 1575s # ret = NULL; 1575s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1575s # g_assert (info != NULL); 1575s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1575s # if (pspec == NULL) 1575s # { 1575s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1575s # } 1575s # else 1575s # { 1575s # g_value_init (&value, pspec->value_type); 1575s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1575s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1575s # g_value_unset (&value); 1575s # } 1575s # return ret; 1575s # } 1575s # 1575s # static gboolean 1575s # _org_project_callable_iface_skeleton_handle_set_property ( 1575s # GDBusConnection *connection G_GNUC_UNUSED, 1575s # const gchar *sender G_GNUC_UNUSED, 1575s # const gchar *object_path G_GNUC_UNUSED, 1575s # const gchar *interface_name G_GNUC_UNUSED, 1575s # const gchar *property_name, 1575s # GVariant *variant, 1575s # GError **error, 1575s # gpointer user_data) 1575s # { 1575s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1575s # GValue value = G_VALUE_INIT; 1575s # GParamSpec *pspec; 1575s # _ExtendedGDBusPropertyInfo *info; 1575s # gboolean ret; 1575s # ret = FALSE; 1575s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1575s # g_assert (info != NULL); 1575s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1575s # if (pspec == NULL) 1575s # { 1575s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1575s # } 1575s # else 1575s # { 1575s # if (info->use_gvariant) 1575s # g_value_set_variant (&value, variant); 1575s # else 1575s # g_dbus_gvariant_to_gvalue (variant, &value); 1575s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1575s # g_value_unset (&value); 1575s # ret = TRUE; 1575s # } 1575s # return ret; 1575s # } 1575s # 1575s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1575s # { 1575s # _org_project_callable_iface_skeleton_handle_method_call, 1575s # _org_project_callable_iface_skeleton_handle_get_property, 1575s # _org_project_callable_iface_skeleton_handle_set_property, 1575s # {NULL} 1575s # }; 1575s # 1575s # static GDBusInterfaceInfo * 1575s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1575s # { 1575s # return org_project_callable_iface_interface_info (); 1575s # } 1575s # 1575s # static GDBusInterfaceVTable * 1575s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1575s # { 1575s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1575s # } 1575s # 1575s # static GVariant * 1575s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1575s # { 1575s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1575s # 1575s # GVariantBuilder builder; 1575s # guint n; 1575s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1575s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1575s # goto out; 1575s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1575s # { 1575s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1575s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1575s # { 1575s # GVariant *value; 1575s # 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); 1575s # if (value != NULL) 1575s # { 1575s # g_variant_take_ref (value); 1575s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1575s # g_variant_unref (value); 1575s # } 1575s # } 1575s # } 1575s # out: 1575s # return g_variant_builder_end (&builder); 1575s # } 1575s # 1575s # static void 1575s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1575s # { 1575s # } 1575s # 1575s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1575s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1575s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1575s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1575s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1575s # 1575s # #else 1575s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1575s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1575s # 1575s # #endif 1575s # static void 1575s # org_project_callable_iface_skeleton_finalize (GObject *object) 1575s # { 1575s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1575s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1575s # if (skeleton->priv->changed_properties_idle_source != NULL) 1575s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1575s # g_main_context_unref (skeleton->priv->context); 1575s # g_mutex_clear (&skeleton->priv->lock); 1575s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1575s # } 1575s # 1575s # static void 1575s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1575s # { 1575s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1575s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1575s # #else 1575s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1575s # #endif 1575s # 1575s # g_mutex_init (&skeleton->priv->lock); 1575s # skeleton->priv->context = g_main_context_ref_thread_default (); 1575s # } 1575s # 1575s # static void 1575s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1575s # { 1575s # GObjectClass *gobject_class; 1575s # GDBusInterfaceSkeletonClass *skeleton_class; 1575s # 1575s # gobject_class = G_OBJECT_CLASS (klass); 1575s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1575s # 1575s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1575s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1575s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1575s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1575s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1575s # 1575s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1575s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1575s # #endif 1575s # } 1575s # 1575s # static void 1575s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1575s # { 1575s # } 1575s # 1575s # /** 1575s # * org_project_callable_iface_skeleton_new: 1575s # * 1575s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1575s # * 1575s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1575s # */ 1575s # OrgProjectCallableIface * 1575s # org_project_callable_iface_skeleton_new (void) 1575s # { 1575s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1575s # } 1575s # 1575s # /* ------------------------------------------------------------------------ 1575s # * Code for interface org.project.OtherCallableIface 1575s # * ------------------------------------------------------------------------ 1575s # */ 1575s # 1575s # /** 1575s # * SECTION:OrgProjectOtherCallableIface 1575s # * @title: OrgProjectOtherCallableIface 1575s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1575s # * 1575s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1575s # */ 1575s # 1575s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1575s # 1575s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1575s # { 1575s # { 1575s # -1, 1575s # (gchar *) "SimpleMethod", 1575s # NULL, 1575s # NULL, 1575s # NULL 1575s # }, 1575s # "handle-simple-method", 1575s # FALSE 1575s # }; 1575s # 1575s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1575s # { 1575s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1575s # NULL 1575s # }; 1575s # 1575s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1575s # { 1575s # { 1575s # -1, 1575s # (gchar *) "org.project.OtherCallableIface", 1575s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1575s # NULL, 1575s # NULL, 1575s # NULL 1575s # }, 1575s # "org-project-other-callable-iface", 1575s # }; 1575s # 1575s # 1575s # /** 1575s # * org_project_other_callable_iface_interface_info: 1575s # * 1575s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1575s # * 1575s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1575s # */ 1575s # GDBusInterfaceInfo * 1575s # org_project_other_callable_iface_interface_info (void) 1575s # { 1575s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1575s # } 1575s # 1575s # /** 1575s # * org_project_other_callable_iface_override_properties: 1575s # * @klass: The class structure for a #GObject derived class. 1575s # * @property_id_begin: The property id to assign to the first overridden property. 1575s # * 1575s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1575s # * The properties are overridden in the order they are defined. 1575s # * 1575s # * Returns: The last property id. 1575s # */ 1575s # guint 1575s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1575s # { 1575s # return property_id_begin - 1; 1575s # } 1575s # 1575s # 1575s # inline static void 1575s # org_project_other_callable_iface_method_marshal_simple_method ( 1575s # GClosure *closure, 1575s # GValue *return_value, 1575s # unsigned int n_param_values, 1575s # const GValue *param_values, 1575s # void *invocation_hint, 1575s # void *marshal_data) 1575s # { 1575s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1575s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1575s # } 1575s # 1575s # 1575s # /** 1575s # * OrgProjectOtherCallableIface: 1575s # * 1575s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1575s # */ 1575s # 1575s # /** 1575s # * OrgProjectOtherCallableIfaceIface: 1575s # * @parent_iface: The parent interface. 1575s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1575s # * 1575s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1575s # */ 1575s # 1575s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1575s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1575s # 1575s # static void 1575s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1575s # { 1575s # /* GObject signals for incoming D-Bus method calls: */ 1575s # /** 1575s # * OrgProjectOtherCallableIface::handle-simple-method: 1575s # * @object: A #OrgProjectOtherCallableIface. 1575s # * @invocation: A #GDBusMethodInvocation. 1575s # * 1575s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1575s # * 1575s # * 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. 1575s # * 1575s # * 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. 1575s # */ 1575s # g_signal_new ("handle-simple-method", 1575s # G_TYPE_FROM_INTERFACE (iface), 1575s # G_SIGNAL_RUN_LAST, 1575s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1575s # g_signal_accumulator_true_handled, 1575s # NULL, 1575s # org_project_other_callable_iface_method_marshal_simple_method, 1575s # G_TYPE_BOOLEAN, 1575s # 1, 1575s # G_TYPE_DBUS_METHOD_INVOCATION); 1575s # 1575s # } 1575s # 1575s # /** 1575s # * org_project_other_callable_iface_call_simple_method: 1575s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1575s # * @cancellable: (nullable): A #GCancellable or %NULL. 1575s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1575s # * @user_data: User data to pass to @callback. 1575s # * 1575s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1575s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1575s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1575s # * 1575s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1575s # */ 1575s # void 1575s # org_project_other_callable_iface_call_simple_method ( 1575s # OrgProjectOtherCallableIface *proxy, 1575s # GCancellable *cancellable, 1575s # GAsyncReadyCallback callback, 1575s # gpointer user_data) 1575s # { 1575s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1575s # "SimpleMethod", 1575s # g_variant_new ("()"), 1575s # G_DBUS_CALL_FLAGS_NONE, 1575s # -1, 1575s # cancellable, 1575s # callback, 1575s # user_data); 1575s # } 1575s # 1575s # /** 1575s # * org_project_other_callable_iface_call_simple_method_finish: 1575s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1575s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1575s # * @error: Return location for error or %NULL. 1575s # * 1575s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1575s # * 1575s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1575s # */ 1575s # gboolean 1575s # org_project_other_callable_iface_call_simple_method_finish ( 1575s # OrgProjectOtherCallableIface *proxy, 1575s # GAsyncResult *res, 1575s # GError **error) 1575s # { 1575s # GVariant *_ret; 1575s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1575s # if (_ret == NULL) 1575s # goto _out; 1575s # g_variant_get (_ret, 1575s # "()"); 1575s # g_variant_unref (_ret); 1575s # _out: 1575s # return _ret != NULL; 1575s # } 1575s # 1575s # /** 1575s # * org_project_other_callable_iface_call_simple_method_sync: 1575s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1575s # * @cancellable: (nullable): A #GCancellable or %NULL. 1575s # * @error: Return location for error or %NULL. 1575s # * 1575s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1575s # * 1575s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1575s # * 1575s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1575s # */ 1575s # gboolean 1575s # org_project_other_callable_iface_call_simple_method_sync ( 1575s # OrgProjectOtherCallableIface *proxy, 1575s # GCancellable *cancellable, 1575s # GError **error) 1575s # { 1575s # GVariant *_ret; 1575s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1575s # "SimpleMethod", 1575s # g_variant_new ("()"), 1575s # G_DBUS_CALL_FLAGS_NONE, 1575s # -1, 1575s # cancellable, 1575s # error); 1575s # if (_ret == NULL) 1575s # goto _out; 1575s # g_variant_get (_ret, 1575s # "()"); 1575s # g_variant_unref (_ret); 1575s # _out: 1575s # return _ret != NULL; 1575s # } 1575s # 1575s # /** 1575s # * org_project_other_callable_iface_complete_simple_method: 1575s # * @object: A #OrgProjectOtherCallableIface. 1575s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1575s # * 1575s # * 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. 1575s # * 1575s # * This method will free @invocation, you cannot use it afterwards. 1575s # */ 1575s # void 1575s # org_project_other_callable_iface_complete_simple_method ( 1575s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1575s # GDBusMethodInvocation *invocation) 1575s # { 1575s # g_dbus_method_invocation_return_value (invocation, 1575s # g_variant_new ("()")); 1575s # } 1575s # 1575s # /* ------------------------------------------------------------------------ */ 1575s # 1575s # /** 1575s # * OrgProjectOtherCallableIfaceProxy: 1575s # * 1575s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1575s # */ 1575s # 1575s # /** 1575s # * OrgProjectOtherCallableIfaceProxyClass: 1575s # * @parent_class: The parent class. 1575s # * 1575s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1575s # */ 1575s # 1575s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1575s # { 1575s # GData *qdata; 1575s # }; 1575s # 1575s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1575s # 1575s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1575s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1575s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1575s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1575s # 1575s # #else 1575s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1575s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1575s # 1575s # #endif 1575s # static void 1575s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1575s # { 1575s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1575s # g_datalist_clear (&proxy->priv->qdata); 1575s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1575s # } 1575s # 1575s # static void 1575s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1575s # guint prop_id G_GNUC_UNUSED, 1575s # GValue *value G_GNUC_UNUSED, 1575s # GParamSpec *pspec G_GNUC_UNUSED) 1575s # { 1575s # } 1575s # 1575s # static void 1575s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1575s # guint prop_id G_GNUC_UNUSED, 1575s # const GValue *value G_GNUC_UNUSED, 1575s # GParamSpec *pspec G_GNUC_UNUSED) 1575s # { 1575s # } 1575s # 1575s # static void 1575s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1575s # const gchar *sender_name G_GNUC_UNUSED, 1575s # const gchar *signal_name, 1575s # GVariant *parameters) 1575s # { 1575s # _ExtendedGDBusSignalInfo *info; 1575s # GVariantIter iter; 1575s # GVariant *child; 1575s # GValue *paramv; 1575s # gsize num_params; 1575s # gsize n; 1575s # guint signal_id; 1575s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1575s # if (info == NULL) 1575s # return; 1575s # num_params = g_variant_n_children (parameters); 1575s # paramv = g_new0 (GValue, num_params + 1); 1575s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1575s # g_value_set_object (¶mv[0], proxy); 1575s # g_variant_iter_init (&iter, parameters); 1575s # n = 1; 1575s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1575s # { 1575s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1575s # if (arg_info->use_gvariant) 1575s # { 1575s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1575s # g_value_set_variant (¶mv[n], child); 1575s # n++; 1575s # } 1575s # else 1575s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1575s # g_variant_unref (child); 1575s # } 1575s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1575s # g_signal_emitv (paramv, signal_id, 0, NULL); 1575s # for (n = 0; n < num_params + 1; n++) 1575s # g_value_unset (¶mv[n]); 1575s # g_free (paramv); 1575s # } 1575s # 1575s # static void 1575s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1575s # GVariant *changed_properties, 1575s # const gchar *const *invalidated_properties) 1575s # { 1575s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1575s # guint n; 1575s # const gchar *key; 1575s # GVariantIter *iter; 1575s # _ExtendedGDBusPropertyInfo *info; 1575s # g_variant_get (changed_properties, "a{sv}", &iter); 1575s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1575s # { 1575s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1575s # g_datalist_remove_data (&proxy->priv->qdata, key); 1575s # if (info != NULL) 1575s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1575s # } 1575s # g_variant_iter_free (iter); 1575s # for (n = 0; invalidated_properties[n] != NULL; n++) 1575s # { 1575s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1575s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1575s # if (info != NULL) 1575s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1575s # } 1575s # } 1575s # 1575s # static void 1575s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1575s # { 1575s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1575s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1575s # #else 1575s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1575s # #endif 1575s # 1575s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1575s # } 1575s # 1575s # static void 1575s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1575s # { 1575s # GObjectClass *gobject_class; 1575s # GDBusProxyClass *proxy_class; 1575s # 1575s # gobject_class = G_OBJECT_CLASS (klass); 1575s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1575s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1575s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1575s # 1575s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1575s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1575s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1575s # 1575s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1575s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1575s # #endif 1575s # } 1575s # 1575s # static void 1575s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1575s # { 1575s # } 1575s # 1575s # /** 1575s # * org_project_other_callable_iface_proxy_new: 1575s # * @connection: A #GDBusConnection. 1575s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1575s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1575s # * @object_path: An object path. 1575s # * @cancellable: (nullable): A #GCancellable or %NULL. 1575s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1575s # * @user_data: User data to pass to @callback. 1575s # * 1575s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1575s # * 1575s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1575s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1575s # * 1575s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1575s # */ 1575s # void 1575s # org_project_other_callable_iface_proxy_new ( 1575s # GDBusConnection *connection, 1575s # GDBusProxyFlags flags, 1575s # const gchar *name, 1575s # const gchar *object_path, 1575s # GCancellable *cancellable, 1575s # GAsyncReadyCallback callback, 1575s # gpointer user_data) 1575s # { 1575s # 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); 1575s # } 1575s # 1575s # /** 1575s # * org_project_other_callable_iface_proxy_new_finish: 1575s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1575s # * @error: Return location for error or %NULL 1575s # * 1575s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1575s # * 1575s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1575s # */ 1575s # OrgProjectOtherCallableIface * 1575s # org_project_other_callable_iface_proxy_new_finish ( 1575s # GAsyncResult *res, 1575s # GError **error) 1575s # { 1575s # GObject *ret; 1575s # GObject *source_object; 1575s # source_object = g_async_result_get_source_object (res); 1575s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1575s # g_object_unref (source_object); 1575s # if (ret != NULL) 1575s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1575s # else 1575s # return NULL; 1575s # } 1575s # 1575s # /** 1575s # * org_project_other_callable_iface_proxy_new_sync: 1575s # * @connection: A #GDBusConnection. 1575s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1575s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1575s # * @object_path: An object path. 1575s # * @cancellable: (nullable): A #GCancellable or %NULL. 1575s # * @error: Return location for error or %NULL 1575s # * 1575s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1575s # * 1575s # * The calling thread is blocked until a reply is received. 1575s # * 1575s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1575s # * 1575s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1575s # */ 1575s # OrgProjectOtherCallableIface * 1575s # org_project_other_callable_iface_proxy_new_sync ( 1575s # GDBusConnection *connection, 1575s # GDBusProxyFlags flags, 1575s # const gchar *name, 1575s # const gchar *object_path, 1575s # GCancellable *cancellable, 1575s # GError **error) 1575s # { 1575s # GInitable *ret; 1575s # 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); 1575s # if (ret != NULL) 1575s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1575s # else 1575s # return NULL; 1575s # } 1575s # 1575s # 1575s # /** 1575s # * org_project_other_callable_iface_proxy_new_for_bus: 1575s # * @bus_type: A #GBusType. 1575s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1575s # * @name: A bus name (well-known or unique). 1575s # * @object_path: An object path. 1575s # * @cancellable: (nullable): A #GCancellable or %NULL. 1575s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1575s # * @user_data: User data to pass to @callback. 1575s # * 1575s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1575s # * 1575s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1575s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1575s # * 1575s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1575s # */ 1575s # void 1575s # org_project_other_callable_iface_proxy_new_for_bus ( 1575s # GBusType bus_type, 1575s # GDBusProxyFlags flags, 1575s # const gchar *name, 1575s # const gchar *object_path, 1575s # GCancellable *cancellable, 1575s # GAsyncReadyCallback callback, 1575s # gpointer user_data) 1575s # { 1575s # 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); 1575s # } 1575s # 1575s # /** 1575s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1575s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1575s # * @error: Return location for error or %NULL 1575s # * 1575s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1575s # * 1575s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1575s # */ 1575s # OrgProjectOtherCallableIface * 1575s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1575s # GAsyncResult *res, 1575s # GError **error) 1575s # { 1575s # GObject *ret; 1575s # GObject *source_object; 1575s # source_object = g_async_result_get_source_object (res); 1575s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1575s # g_object_unref (source_object); 1575s # if (ret != NULL) 1575s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1575s # else 1575s # return NULL; 1575s # } 1575s # 1575s # /** 1575s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1575s # * @bus_type: A #GBusType. 1575s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1575s # * @name: A bus name (well-known or unique). 1575s # * @object_path: An object path. 1575s # * @cancellable: (nullable): A #GCancellable or %NULL. 1575s # * @error: Return location for error or %NULL 1575s # * 1575s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1575s # * 1575s # * The calling thread is blocked until a reply is received. 1575s # * 1575s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1575s # * 1575s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1575s # */ 1575s # OrgProjectOtherCallableIface * 1575s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1575s # GBusType bus_type, 1575s # GDBusProxyFlags flags, 1575s # const gchar *name, 1575s # const gchar *object_path, 1575s # GCancellable *cancellable, 1575s # GError **error) 1575s # { 1575s # GInitable *ret; 1575s # 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); 1575s # if (ret != NULL) 1575s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1575s # else 1575s # return NULL; 1575s # } 1575s # 1575s # 1575s # /* ------------------------------------------------------------------------ */ 1575s # 1575s # /** 1575s # * OrgProjectOtherCallableIfaceSkeleton: 1575s # * 1575s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1575s # */ 1575s # 1575s # /** 1575s # * OrgProjectOtherCallableIfaceSkeletonClass: 1575s # * @parent_class: The parent class. 1575s # * 1575s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1575s # */ 1575s # 1575s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1575s # { 1575s # GValue *properties; 1575s # GList *changed_properties; 1575s # GSource *changed_properties_idle_source; 1575s # GMainContext *context; 1575s # GMutex lock; 1575s # }; 1575s # 1575s # static void 1575s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1575s # GDBusConnection *connection G_GNUC_UNUSED, 1575s # const gchar *sender G_GNUC_UNUSED, 1575s # const gchar *object_path G_GNUC_UNUSED, 1575s # const gchar *interface_name, 1575s # const gchar *method_name, 1575s # GVariant *parameters, 1575s # GDBusMethodInvocation *invocation, 1575s # gpointer user_data) 1575s # { 1575s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1575s # _ExtendedGDBusMethodInfo *info; 1575s # GVariantIter iter; 1575s # GVariant *child; 1575s # GValue *paramv; 1575s # gsize num_params; 1575s # guint num_extra; 1575s # gsize n; 1575s # guint signal_id; 1575s # GValue return_value = G_VALUE_INIT; 1575s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1575s # g_assert (info != NULL); 1575s # num_params = g_variant_n_children (parameters); 1575s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1575s # n = 0; 1575s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1575s # g_value_set_object (¶mv[n++], skeleton); 1575s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1575s # g_value_set_object (¶mv[n++], invocation); 1575s # if (info->pass_fdlist) 1575s # { 1575s # #ifdef G_OS_UNIX 1575s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1575s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1575s # #else 1575s # g_assert_not_reached (); 1575s # #endif 1575s # } 1575s # g_variant_iter_init (&iter, parameters); 1575s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1575s # { 1575s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1575s # if (arg_info->use_gvariant) 1575s # { 1575s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1575s # g_value_set_variant (¶mv[n], child); 1575s # n++; 1575s # } 1575s # else 1575s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1575s # g_variant_unref (child); 1575s # } 1575s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1575s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1575s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1575s # if (!g_value_get_boolean (&return_value)) 1575s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1575s # g_value_unset (&return_value); 1575s # for (n = 0; n < num_params + num_extra; n++) 1575s # g_value_unset (¶mv[n]); 1575s # g_free (paramv); 1575s # } 1575s # 1575s # static GVariant * 1575s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1575s # GDBusConnection *connection G_GNUC_UNUSED, 1575s # const gchar *sender G_GNUC_UNUSED, 1575s # const gchar *object_path G_GNUC_UNUSED, 1575s # const gchar *interface_name G_GNUC_UNUSED, 1575s # const gchar *property_name, 1575s # GError **error, 1575s # gpointer user_data) 1575s # { 1575s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1575s # GValue value = G_VALUE_INIT; 1575s # GParamSpec *pspec; 1575s # _ExtendedGDBusPropertyInfo *info; 1575s # GVariant *ret; 1575s # ret = NULL; 1575s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1575s # g_assert (info != NULL); 1575s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1575s # if (pspec == NULL) 1575s # { 1575s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1575s # } 1575s # else 1575s # { 1575s # g_value_init (&value, pspec->value_type); 1575s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1575s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1575s # g_value_unset (&value); 1575s # } 1575s # return ret; 1575s # } 1575s # 1575s # static gboolean 1575s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1575s # GDBusConnection *connection G_GNUC_UNUSED, 1575s # const gchar *sender G_GNUC_UNUSED, 1575s # const gchar *object_path G_GNUC_UNUSED, 1575s # const gchar *interface_name G_GNUC_UNUSED, 1575s # const gchar *property_name, 1575s # GVariant *variant, 1575s # GError **error, 1575s # gpointer user_data) 1575s # { 1575s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1575s # GValue value = G_VALUE_INIT; 1575s # GParamSpec *pspec; 1575s # _ExtendedGDBusPropertyInfo *info; 1575s # gboolean ret; 1575s # ret = FALSE; 1575s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1575s # g_assert (info != NULL); 1575s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1575s # if (pspec == NULL) 1575s # { 1575s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1575s # } 1575s # else 1575s # { 1575s # if (info->use_gvariant) 1575s # g_value_set_variant (&value, variant); 1575s # else 1575s # g_dbus_gvariant_to_gvalue (variant, &value); 1575s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1575s # g_value_unset (&value); 1575s # ret = TRUE; 1575s # } 1575s # return ret; 1575s # } 1575s # 1575s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1575s # { 1575s # _org_project_other_callable_iface_skeleton_handle_method_call, 1575s # _org_project_other_callable_iface_skeleton_handle_get_property, 1575s # _org_project_other_callable_iface_skeleton_handle_set_property, 1575s # {NULL} 1575s # }; 1575s # 1575s # static GDBusInterfaceInfo * 1575s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1575s # { 1575s # return org_project_other_callable_iface_interface_info (); 1575s # } 1575s # 1575s # static GDBusInterfaceVTable * 1575s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1575s # { 1575s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1575s # } 1575s # 1575s # static GVariant * 1575s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1575s # { 1575s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1575s # 1575s # GVariantBuilder builder; 1575s # guint n; 1575s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1575s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1575s # goto out; 1575s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1575s # { 1575s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1575s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1575s # { 1575s # GVariant *value; 1575s # 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); 1575s # if (value != NULL) 1575s # { 1575s # g_variant_take_ref (value); 1575s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1575s # g_variant_unref (value); 1575s # } 1575s # } 1575s # } 1575s # out: 1575s # return g_variant_builder_end (&builder); 1575s # } 1575s # 1575s # static void 1575s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1575s # { 1575s # } 1575s # 1575s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1575s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1575s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1575s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1575s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1575s # 1575s # #else 1575s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1575s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1575s # 1575s # #endif 1575s # static void 1575s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1575s # { 1575s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1575s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1575s # if (skeleton->priv->changed_properties_idle_source != NULL) 1575s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1575s # g_main_context_unref (skeleton->priv->context); 1575s # g_mutex_clear (&skeleton->priv->lock); 1575s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1575s # } 1575s # 1575s # static void 1575s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1575s # { 1575s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1575s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1575s # #else 1575s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1575s # #endif 1575s # 1575s # g_mutex_init (&skeleton->priv->lock); 1575s # skeleton->priv->context = g_main_context_ref_thread_default (); 1575s # } 1575s # 1575s # static void 1575s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1575s # { 1575s # GObjectClass *gobject_class; 1575s # GDBusInterfaceSkeletonClass *skeleton_class; 1575s # 1575s # gobject_class = G_OBJECT_CLASS (klass); 1575s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1575s # 1575s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1575s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1575s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1575s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1575s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1575s # 1575s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1575s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1575s # #endif 1575s # } 1575s # 1575s # static void 1575s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1575s # { 1575s # } 1575s # 1575s # /** 1575s # * org_project_other_callable_iface_skeleton_new: 1575s # * 1575s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1575s # * 1575s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1575s # */ 1575s # OrgProjectOtherCallableIface * 1575s # org_project_other_callable_iface_skeleton_new (void) 1575s # { 1575s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1575s # } 1578s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1578s # tmpdir: /tmp/tmpv7ru1vhb 1578s # codegen: /usr/bin/gdbus-codegen 1578s # /tmp/tmpv7ru1vhb/tmpbapq6e_q.xml: 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmpbapq6e_q.xml', '--output', '-', '--body'] 1578s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1578s # Output: /* 1578s # * This file is generated by gdbus-codegen, do not modify it. 1578s # * 1578s # * The license of this code is the same as for the D-Bus interface description 1578s # * it was derived from. Note that it links to GLib, so must comply with the 1578s # * LGPL linking clauses. 1578s # */ 1578s # 1578s # #ifdef HAVE_CONFIG_H 1578s # # include "config.h" 1578s # #endif 1578s # 1578s # #include 1578s # #ifdef G_OS_UNIX 1578s # # include 1578s # #endif 1578s # 1578s # #ifdef G_ENABLE_DEBUG 1578s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1578s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1578s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1578s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1578s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1578s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1578s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1578s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1578s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1578s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1578s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1578s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1578s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1578s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1578s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1578s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1578s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1578s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1578s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1578s # #else /* !G_ENABLE_DEBUG */ 1578s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1578s # * Do not access GValues directly in your code. Instead, use the 1578s # * g_value_get_*() functions 1578s # */ 1578s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1578s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1578s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1578s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1578s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1578s # #endif /* !G_ENABLE_DEBUG */ 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusArgInfo parent_struct; 1578s # gboolean use_gvariant; 1578s # } _ExtendedGDBusArgInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusMethodInfo parent_struct; 1578s # const gchar *signal_name; 1578s # gboolean pass_fdlist; 1578s # } _ExtendedGDBusMethodInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusSignalInfo parent_struct; 1578s # const gchar *signal_name; 1578s # } _ExtendedGDBusSignalInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusPropertyInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # guint use_gvariant : 1; 1578s # guint emits_changed_signal : 1; 1578s # } _ExtendedGDBusPropertyInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusInterfaceInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # } _ExtendedGDBusInterfaceInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # const _ExtendedGDBusPropertyInfo *info; 1578s # guint prop_id; 1578s # GValue orig_value; /* the value before the change */ 1578s # } ChangedProperty; 1578s # 1578s # static void 1578s # _changed_property_free (ChangedProperty *data) 1578s # { 1578s # g_value_unset (&data->orig_value); 1578s # g_free (data); 1578s # } 1578s # 1578s # static gboolean 1578s # _g_strv_equal0 (gchar **a, gchar **b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # guint n; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # if (g_strv_length (a) != g_strv_length (b)) 1578s # goto out; 1578s # for (n = 0; a[n] != NULL; n++) 1578s # if (g_strcmp0 (a[n], b[n]) != 0) 1578s # goto out; 1578s # ret = TRUE; 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _g_variant_equal0 (GVariant *a, GVariant *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # ret = g_variant_equal (a, b); 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # G_GNUC_UNUSED static gboolean 1578s # _g_value_equal (const GValue *a, const GValue *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1578s # switch (G_VALUE_TYPE (a)) 1578s # { 1578s # case G_TYPE_BOOLEAN: 1578s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1578s # break; 1578s # case G_TYPE_UCHAR: 1578s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1578s # break; 1578s # case G_TYPE_INT: 1578s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1578s # break; 1578s # case G_TYPE_UINT: 1578s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1578s # break; 1578s # case G_TYPE_INT64: 1578s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1578s # break; 1578s # case G_TYPE_UINT64: 1578s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1578s # break; 1578s # case G_TYPE_DOUBLE: 1578s # { 1578s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1578s # gdouble da = g_value_get_double (a); 1578s # gdouble db = g_value_get_double (b); 1578s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1578s # } 1578s # break; 1578s # case G_TYPE_STRING: 1578s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1578s # break; 1578s # case G_TYPE_VARIANT: 1578s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1578s # break; 1578s # default: 1578s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1578s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1578s # else 1578s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1578s # break; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static void 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint G_GNUC_UNUSED, 1578s # void *marshal_data) 1578s # { 1578s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1578s # (void *data1, 1578s # GDBusMethodInvocation *arg_method_invocation, 1578s # gboolean arg_arg_b, 1578s # void *data2); 1578s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1578s # GCClosure *cc = (GCClosure*) closure; 1578s # void *data1, *data2; 1578s # gboolean v_return; 1578s # 1578s # g_return_if_fail (return_value != NULL); 1578s # g_return_if_fail (n_param_values == 3); 1578s # 1578s # if (G_CCLOSURE_SWAP_DATA (closure)) 1578s # { 1578s # data1 = closure->data; 1578s # data2 = g_value_peek_pointer (param_values + 0); 1578s # } 1578s # else 1578s # { 1578s # data1 = g_value_peek_pointer (param_values + 0); 1578s # data2 = closure->data; 1578s # } 1578s # 1578s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1578s # (marshal_data ? marshal_data : cc->callback); 1578s # 1578s # v_return = 1578s # callback (data1, 1578s # g_marshal_value_peek_object (param_values + 1), 1578s # g_marshal_value_peek_boolean (param_values + 2), 1578s # data2); 1578s # 1578s # g_value_set_boolean (return_value, v_return); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ 1578s # * Code for interface org.project.UsefulInterface 1578s # * ------------------------------------------------------------------------ 1578s # */ 1578s # 1578s # /** 1578s # * SECTION:OrgProjectUsefulInterface 1578s # * @title: OrgProjectUsefulInterface 1578s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1578s # * 1578s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1578s # */ 1578s # 1578s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1578s # 1578s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "arg_b", 1578s # (gchar *) "b", 1578s # NULL 1578s # }, 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "SingleArgMethodB", 1578s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "handle-single-arg-method-b", 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "org.project.UsefulInterface", 1578s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1578s # NULL, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "org-project-useful-interface", 1578s # }; 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_interface_info: 1578s # * 1578s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1578s # * 1578s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1578s # */ 1578s # GDBusInterfaceInfo * 1578s # org_project_useful_interface_interface_info (void) 1578s # { 1578s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_override_properties: 1578s # * @klass: The class structure for a #GObject derived class. 1578s # * @property_id_begin: The property id to assign to the first overridden property. 1578s # * 1578s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1578s # * The properties are overridden in the order they are defined. 1578s # * 1578s # * Returns: The last property id. 1578s # */ 1578s # guint 1578s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1578s # { 1578s # return property_id_begin - 1; 1578s # } 1578s # 1578s # 1578s # inline static void 1578s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint, 1578s # void *marshal_data) 1578s # { 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1578s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1578s # } 1578s # 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterface: 1578s # * 1578s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceIface: 1578s # * @parent_iface: The parent interface. 1578s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1578s # * 1578s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1578s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1578s # 1578s # static void 1578s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1578s # { 1578s # /* GObject signals for incoming D-Bus method calls: */ 1578s # /** 1578s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: A #GDBusMethodInvocation. 1578s # * @arg_arg_b: Argument passed by remote caller. 1578s # * 1578s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1578s # * 1578s # * 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. 1578s # * 1578s # * 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. 1578s # */ 1578s # g_signal_new ("handle-single-arg-method-b", 1578s # G_TYPE_FROM_INTERFACE (iface), 1578s # G_SIGNAL_RUN_LAST, 1578s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1578s # g_signal_accumulator_true_handled, 1578s # NULL, 1578s # org_project_useful_interface_method_marshal_single_arg_method_b, 1578s # G_TYPE_BOOLEAN, 1578s # 2, 1578s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1578s # 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_b: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_b: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1578s # */ 1578s # void 1578s # org_project_useful_interface_call_single_arg_method_b ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # gboolean arg_arg_b, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodB", 1578s # g_variant_new ("(b)", 1578s # arg_arg_b), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # callback, 1578s # user_data); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_b_finish: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_b_finish ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_b_sync: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_b: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_b_sync ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # gboolean arg_arg_b, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodB", 1578s # g_variant_new ("(b)", 1578s # arg_arg_b), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_complete_single_arg_method_b: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1578s # * 1578s # * 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. 1578s # * 1578s # * This method will free @invocation, you cannot use it afterwards. 1578s # */ 1578s # void 1578s # org_project_useful_interface_complete_single_arg_method_b ( 1578s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1578s # GDBusMethodInvocation *invocation) 1578s # { 1578s # g_dbus_method_invocation_return_value (invocation, 1578s # g_variant_new ("()")); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxy: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxyClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceProxyPrivate 1578s # { 1578s # GData *qdata; 1578s # }; 1578s # 1578s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_proxy_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1578s # g_datalist_clear (&proxy->priv->qdata); 1578s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # const GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1578s # const gchar *sender_name G_GNUC_UNUSED, 1578s # const gchar *signal_name, 1578s # GVariant *parameters) 1578s # { 1578s # _ExtendedGDBusSignalInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # gsize n; 1578s # guint signal_id; 1578s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1578s # if (info == NULL) 1578s # return; 1578s # num_params = g_variant_n_children (parameters); 1578s # paramv = g_new0 (GValue, num_params + 1); 1578s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[0], proxy); 1578s # g_variant_iter_init (&iter, parameters); 1578s # n = 1; 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_signal_emitv (paramv, signal_id, 0, NULL); 1578s # for (n = 0; n < num_params + 1; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1578s # GVariant *changed_properties, 1578s # const gchar *const *invalidated_properties) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1578s # guint n; 1578s # const gchar *key; 1578s # GVariantIter *iter; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # g_variant_get (changed_properties, "a{sv}", &iter); 1578s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1578s # g_datalist_remove_data (&proxy->priv->qdata, key); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # g_variant_iter_free (iter); 1578s # for (n = 0; invalidated_properties[n] != NULL; n++) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1578s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1578s # #else 1578s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1578s # #endif 1578s # 1578s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusProxyClass *proxy_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1578s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1578s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1578s # 1578s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1578s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1578s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_sync: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_sync ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new_for_bus ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_sync: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_sync ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeleton: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeletonClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1578s # { 1578s # GValue *properties; 1578s # GList *changed_properties; 1578s # GSource *changed_properties_idle_source; 1578s # GMainContext *context; 1578s # GMutex lock; 1578s # }; 1578s # 1578s # static void 1578s # _org_project_useful_interface_skeleton_handle_method_call ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name, 1578s # const gchar *method_name, 1578s # GVariant *parameters, 1578s # GDBusMethodInvocation *invocation, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # _ExtendedGDBusMethodInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # guint num_extra; 1578s # gsize n; 1578s # guint signal_id; 1578s # GValue return_value = G_VALUE_INIT; 1578s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1578s # g_assert (info != NULL); 1578s # num_params = g_variant_n_children (parameters); 1578s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1578s # n = 0; 1578s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[n++], skeleton); 1578s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1578s # g_value_set_object (¶mv[n++], invocation); 1578s # if (info->pass_fdlist) 1578s # { 1578s # #ifdef G_OS_UNIX 1578s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1578s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1578s # #else 1578s # g_assert_not_reached (); 1578s # #endif 1578s # } 1578s # g_variant_iter_init (&iter, parameters); 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1578s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1578s # if (!g_value_get_boolean (&return_value)) 1578s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1578s # g_value_unset (&return_value); 1578s # for (n = 0; n < num_params + num_extra; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static GVariant * 1578s # _org_project_useful_interface_skeleton_handle_get_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # GVariant *ret; 1578s # ret = NULL; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # g_value_init (&value, pspec->value_type); 1578s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1578s # g_value_unset (&value); 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _org_project_useful_interface_skeleton_handle_set_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GVariant *variant, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # gboolean ret; 1578s # ret = FALSE; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # if (info->use_gvariant) 1578s # g_value_set_variant (&value, variant); 1578s # else 1578s # g_dbus_gvariant_to_gvalue (variant, &value); 1578s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # g_value_unset (&value); 1578s # ret = TRUE; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1578s # { 1578s # _org_project_useful_interface_skeleton_handle_method_call, 1578s # _org_project_useful_interface_skeleton_handle_get_property, 1578s # _org_project_useful_interface_skeleton_handle_set_property, 1578s # {NULL} 1578s # }; 1578s # 1578s # static GDBusInterfaceInfo * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return org_project_useful_interface_interface_info (); 1578s # } 1578s # 1578s # static GDBusInterfaceVTable * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1578s # } 1578s # 1578s # static GVariant * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1578s # 1578s # GVariantBuilder builder; 1578s # guint n; 1578s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1578s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1578s # goto out; 1578s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1578s # { 1578s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1578s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1578s # { 1578s # GVariant *value; 1578s # 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); 1578s # if (value != NULL) 1578s # { 1578s # g_variant_take_ref (value); 1578s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1578s # g_variant_unref (value); 1578s # } 1578s # } 1578s # } 1578s # out: 1578s # return g_variant_builder_end (&builder); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_skeleton_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1578s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1578s # if (skeleton->priv->changed_properties_idle_source != NULL) 1578s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1578s # g_main_context_unref (skeleton->priv->context); 1578s # g_mutex_clear (&skeleton->priv->lock); 1578s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1578s # #else 1578s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1578s # #endif 1578s # 1578s # g_mutex_init (&skeleton->priv->lock); 1578s # skeleton->priv->context = g_main_context_ref_thread_default (); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusInterfaceSkeletonClass *skeleton_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1578s # 1578s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1578s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1578s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1578s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1578s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_skeleton_new: 1578s # * 1578s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_skeleton_new (void) 1578s # { 1578s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1578s # } 1578s # /tmp/tmpv7ru1vhb/tmphla_4asl.xml: 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmphla_4asl.xml', '--output', '-', '--body'] 1578s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1578s # Output: /* 1578s # * This file is generated by gdbus-codegen, do not modify it. 1578s # * 1578s # * The license of this code is the same as for the D-Bus interface description 1578s # * it was derived from. Note that it links to GLib, so must comply with the 1578s # * LGPL linking clauses. 1578s # */ 1578s # 1578s # #ifdef HAVE_CONFIG_H 1578s # # include "config.h" 1578s # #endif 1578s # 1578s # #include 1578s # #ifdef G_OS_UNIX 1578s # # include 1578s # #endif 1578s # 1578s # #ifdef G_ENABLE_DEBUG 1578s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1578s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1578s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1578s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1578s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1578s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1578s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1578s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1578s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1578s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1578s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1578s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1578s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1578s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1578s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1578s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1578s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1578s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1578s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1578s # #else /* !G_ENABLE_DEBUG */ 1578s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1578s # * Do not access GValues directly in your code. Instead, use the 1578s # * g_value_get_*() functions 1578s # */ 1578s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1578s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1578s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1578s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1578s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1578s # #endif /* !G_ENABLE_DEBUG */ 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusArgInfo parent_struct; 1578s # gboolean use_gvariant; 1578s # } _ExtendedGDBusArgInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusMethodInfo parent_struct; 1578s # const gchar *signal_name; 1578s # gboolean pass_fdlist; 1578s # } _ExtendedGDBusMethodInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusSignalInfo parent_struct; 1578s # const gchar *signal_name; 1578s # } _ExtendedGDBusSignalInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusPropertyInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # guint use_gvariant : 1; 1578s # guint emits_changed_signal : 1; 1578s # } _ExtendedGDBusPropertyInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusInterfaceInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # } _ExtendedGDBusInterfaceInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # const _ExtendedGDBusPropertyInfo *info; 1578s # guint prop_id; 1578s # GValue orig_value; /* the value before the change */ 1578s # } ChangedProperty; 1578s # 1578s # static void 1578s # _changed_property_free (ChangedProperty *data) 1578s # { 1578s # g_value_unset (&data->orig_value); 1578s # g_free (data); 1578s # } 1578s # 1578s # static gboolean 1578s # _g_strv_equal0 (gchar **a, gchar **b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # guint n; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # if (g_strv_length (a) != g_strv_length (b)) 1578s # goto out; 1578s # for (n = 0; a[n] != NULL; n++) 1578s # if (g_strcmp0 (a[n], b[n]) != 0) 1578s # goto out; 1578s # ret = TRUE; 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _g_variant_equal0 (GVariant *a, GVariant *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # ret = g_variant_equal (a, b); 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # G_GNUC_UNUSED static gboolean 1578s # _g_value_equal (const GValue *a, const GValue *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1578s # switch (G_VALUE_TYPE (a)) 1578s # { 1578s # case G_TYPE_BOOLEAN: 1578s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1578s # break; 1578s # case G_TYPE_UCHAR: 1578s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1578s # break; 1578s # case G_TYPE_INT: 1578s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1578s # break; 1578s # case G_TYPE_UINT: 1578s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1578s # break; 1578s # case G_TYPE_INT64: 1578s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1578s # break; 1578s # case G_TYPE_UINT64: 1578s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1578s # break; 1578s # case G_TYPE_DOUBLE: 1578s # { 1578s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1578s # gdouble da = g_value_get_double (a); 1578s # gdouble db = g_value_get_double (b); 1578s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1578s # } 1578s # break; 1578s # case G_TYPE_STRING: 1578s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1578s # break; 1578s # case G_TYPE_VARIANT: 1578s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1578s # break; 1578s # default: 1578s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1578s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1578s # else 1578s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1578s # break; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static void 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint G_GNUC_UNUSED, 1578s # void *marshal_data) 1578s # { 1578s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1578s # (void *data1, 1578s # GDBusMethodInvocation *arg_method_invocation, 1578s # guchar arg_arg_y, 1578s # void *data2); 1578s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1578s # GCClosure *cc = (GCClosure*) closure; 1578s # void *data1, *data2; 1578s # gboolean v_return; 1578s # 1578s # g_return_if_fail (return_value != NULL); 1578s # g_return_if_fail (n_param_values == 3); 1578s # 1578s # if (G_CCLOSURE_SWAP_DATA (closure)) 1578s # { 1578s # data1 = closure->data; 1578s # data2 = g_value_peek_pointer (param_values + 0); 1578s # } 1578s # else 1578s # { 1578s # data1 = g_value_peek_pointer (param_values + 0); 1578s # data2 = closure->data; 1578s # } 1578s # 1578s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1578s # (marshal_data ? marshal_data : cc->callback); 1578s # 1578s # v_return = 1578s # callback (data1, 1578s # g_marshal_value_peek_object (param_values + 1), 1578s # g_marshal_value_peek_uchar (param_values + 2), 1578s # data2); 1578s # 1578s # g_value_set_boolean (return_value, v_return); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ 1578s # * Code for interface org.project.UsefulInterface 1578s # * ------------------------------------------------------------------------ 1578s # */ 1578s # 1578s # /** 1578s # * SECTION:OrgProjectUsefulInterface 1578s # * @title: OrgProjectUsefulInterface 1578s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1578s # * 1578s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1578s # */ 1578s # 1578s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1578s # 1578s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "arg_y", 1578s # (gchar *) "y", 1578s # NULL 1578s # }, 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "SingleArgMethodY", 1578s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "handle-single-arg-method-y", 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "org.project.UsefulInterface", 1578s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1578s # NULL, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "org-project-useful-interface", 1578s # }; 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_interface_info: 1578s # * 1578s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1578s # * 1578s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1578s # */ 1578s # GDBusInterfaceInfo * 1578s # org_project_useful_interface_interface_info (void) 1578s # { 1578s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_override_properties: 1578s # * @klass: The class structure for a #GObject derived class. 1578s # * @property_id_begin: The property id to assign to the first overridden property. 1578s # * 1578s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1578s # * The properties are overridden in the order they are defined. 1578s # * 1578s # * Returns: The last property id. 1578s # */ 1578s # guint 1578s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1578s # { 1578s # return property_id_begin - 1; 1578s # } 1578s # 1578s # 1578s # inline static void 1578s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint, 1578s # void *marshal_data) 1578s # { 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1578s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1578s # } 1578s # 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterface: 1578s # * 1578s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceIface: 1578s # * @parent_iface: The parent interface. 1578s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1578s # * 1578s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1578s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1578s # 1578s # static void 1578s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1578s # { 1578s # /* GObject signals for incoming D-Bus method calls: */ 1578s # /** 1578s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: A #GDBusMethodInvocation. 1578s # * @arg_arg_y: Argument passed by remote caller. 1578s # * 1578s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1578s # * 1578s # * 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. 1578s # * 1578s # * 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. 1578s # */ 1578s # g_signal_new ("handle-single-arg-method-y", 1578s # G_TYPE_FROM_INTERFACE (iface), 1578s # G_SIGNAL_RUN_LAST, 1578s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1578s # g_signal_accumulator_true_handled, 1578s # NULL, 1578s # org_project_useful_interface_method_marshal_single_arg_method_y, 1578s # G_TYPE_BOOLEAN, 1578s # 2, 1578s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1578s # 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_y: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_y: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1578s # */ 1578s # void 1578s # org_project_useful_interface_call_single_arg_method_y ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # guchar arg_arg_y, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodY", 1578s # g_variant_new ("(y)", 1578s # arg_arg_y), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # callback, 1578s # user_data); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_y_finish: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_y_finish ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_y_sync: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_y: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_y_sync ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # guchar arg_arg_y, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodY", 1578s # g_variant_new ("(y)", 1578s # arg_arg_y), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_complete_single_arg_method_y: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1578s # * 1578s # * 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. 1578s # * 1578s # * This method will free @invocation, you cannot use it afterwards. 1578s # */ 1578s # void 1578s # org_project_useful_interface_complete_single_arg_method_y ( 1578s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1578s # GDBusMethodInvocation *invocation) 1578s # { 1578s # g_dbus_method_invocation_return_value (invocation, 1578s # g_variant_new ("()")); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxy: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxyClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceProxyPrivate 1578s # { 1578s # GData *qdata; 1578s # }; 1578s # 1578s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_proxy_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1578s # g_datalist_clear (&proxy->priv->qdata); 1578s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # const GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1578s # const gchar *sender_name G_GNUC_UNUSED, 1578s # const gchar *signal_name, 1578s # GVariant *parameters) 1578s # { 1578s # _ExtendedGDBusSignalInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # gsize n; 1578s # guint signal_id; 1578s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1578s # if (info == NULL) 1578s # return; 1578s # num_params = g_variant_n_children (parameters); 1578s # paramv = g_new0 (GValue, num_params + 1); 1578s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[0], proxy); 1578s # g_variant_iter_init (&iter, parameters); 1578s # n = 1; 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_signal_emitv (paramv, signal_id, 0, NULL); 1578s # for (n = 0; n < num_params + 1; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1578s # GVariant *changed_properties, 1578s # const gchar *const *invalidated_properties) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1578s # guint n; 1578s # const gchar *key; 1578s # GVariantIter *iter; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # g_variant_get (changed_properties, "a{sv}", &iter); 1578s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1578s # g_datalist_remove_data (&proxy->priv->qdata, key); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # g_variant_iter_free (iter); 1578s # for (n = 0; invalidated_properties[n] != NULL; n++) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1578s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1578s # #else 1578s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1578s # #endif 1578s # 1578s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusProxyClass *proxy_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1578s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1578s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1578s # 1578s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1578s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1578s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_sync: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_sync ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new_for_bus ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_sync: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_sync ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeleton: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeletonClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1578s # { 1578s # GValue *properties; 1578s # GList *changed_properties; 1578s # GSource *changed_properties_idle_source; 1578s # GMainContext *context; 1578s # GMutex lock; 1578s # }; 1578s # 1578s # static void 1578s # _org_project_useful_interface_skeleton_handle_method_call ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name, 1578s # const gchar *method_name, 1578s # GVariant *parameters, 1578s # GDBusMethodInvocation *invocation, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # _ExtendedGDBusMethodInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # guint num_extra; 1578s # gsize n; 1578s # guint signal_id; 1578s # GValue return_value = G_VALUE_INIT; 1578s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1578s # g_assert (info != NULL); 1578s # num_params = g_variant_n_children (parameters); 1578s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1578s # n = 0; 1578s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[n++], skeleton); 1578s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1578s # g_value_set_object (¶mv[n++], invocation); 1578s # if (info->pass_fdlist) 1578s # { 1578s # #ifdef G_OS_UNIX 1578s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1578s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1578s # #else 1578s # g_assert_not_reached (); 1578s # #endif 1578s # } 1578s # g_variant_iter_init (&iter, parameters); 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1578s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1578s # if (!g_value_get_boolean (&return_value)) 1578s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1578s # g_value_unset (&return_value); 1578s # for (n = 0; n < num_params + num_extra; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static GVariant * 1578s # _org_project_useful_interface_skeleton_handle_get_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # GVariant *ret; 1578s # ret = NULL; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # g_value_init (&value, pspec->value_type); 1578s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1578s # g_value_unset (&value); 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _org_project_useful_interface_skeleton_handle_set_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GVariant *variant, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # gboolean ret; 1578s # ret = FALSE; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # if (info->use_gvariant) 1578s # g_value_set_variant (&value, variant); 1578s # else 1578s # g_dbus_gvariant_to_gvalue (variant, &value); 1578s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # g_value_unset (&value); 1578s # ret = TRUE; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1578s # { 1578s # _org_project_useful_interface_skeleton_handle_method_call, 1578s # _org_project_useful_interface_skeleton_handle_get_property, 1578s # _org_project_useful_interface_skeleton_handle_set_property, 1578s # {NULL} 1578s # }; 1578s # 1578s # static GDBusInterfaceInfo * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return org_project_useful_interface_interface_info (); 1578s # } 1578s # 1578s # static GDBusInterfaceVTable * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1578s # } 1578s # 1578s # static GVariant * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1578s # 1578s # GVariantBuilder builder; 1578s # guint n; 1578s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1578s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1578s # goto out; 1578s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1578s # { 1578s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1578s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1578s # { 1578s # GVariant *value; 1578s # 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); 1578s # if (value != NULL) 1578s # { 1578s # g_variant_take_ref (value); 1578s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1578s # g_variant_unref (value); 1578s # } 1578s # } 1578s # } 1578s # out: 1578s # return g_variant_builder_end (&builder); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_skeleton_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1578s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1578s # if (skeleton->priv->changed_properties_idle_source != NULL) 1578s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1578s # g_main_context_unref (skeleton->priv->context); 1578s # g_mutex_clear (&skeleton->priv->lock); 1578s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1578s # #else 1578s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1578s # #endif 1578s # 1578s # g_mutex_init (&skeleton->priv->lock); 1578s # skeleton->priv->context = g_main_context_ref_thread_default (); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusInterfaceSkeletonClass *skeleton_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1578s # 1578s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1578s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1578s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1578s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1578s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_skeleton_new: 1578s # * 1578s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_skeleton_new (void) 1578s # { 1578s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1578s # } 1578s # /tmp/tmpv7ru1vhb/tmpbiax_axs.xml: 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmpbiax_axs.xml', '--output', '-', '--body'] 1578s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1578s # Output: /* 1578s # * This file is generated by gdbus-codegen, do not modify it. 1578s # * 1578s # * The license of this code is the same as for the D-Bus interface description 1578s # * it was derived from. Note that it links to GLib, so must comply with the 1578s # * LGPL linking clauses. 1578s # */ 1578s # 1578s # #ifdef HAVE_CONFIG_H 1578s # # include "config.h" 1578s # #endif 1578s # 1578s # #include 1578s # #ifdef G_OS_UNIX 1578s # # include 1578s # #endif 1578s # 1578s # #ifdef G_ENABLE_DEBUG 1578s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1578s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1578s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1578s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1578s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1578s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1578s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1578s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1578s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1578s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1578s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1578s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1578s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1578s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1578s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1578s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1578s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1578s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1578s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1578s # #else /* !G_ENABLE_DEBUG */ 1578s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1578s # * Do not access GValues directly in your code. Instead, use the 1578s # * g_value_get_*() functions 1578s # */ 1578s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1578s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1578s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1578s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1578s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1578s # #endif /* !G_ENABLE_DEBUG */ 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusArgInfo parent_struct; 1578s # gboolean use_gvariant; 1578s # } _ExtendedGDBusArgInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusMethodInfo parent_struct; 1578s # const gchar *signal_name; 1578s # gboolean pass_fdlist; 1578s # } _ExtendedGDBusMethodInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusSignalInfo parent_struct; 1578s # const gchar *signal_name; 1578s # } _ExtendedGDBusSignalInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusPropertyInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # guint use_gvariant : 1; 1578s # guint emits_changed_signal : 1; 1578s # } _ExtendedGDBusPropertyInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusInterfaceInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # } _ExtendedGDBusInterfaceInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # const _ExtendedGDBusPropertyInfo *info; 1578s # guint prop_id; 1578s # GValue orig_value; /* the value before the change */ 1578s # } ChangedProperty; 1578s # 1578s # static void 1578s # _changed_property_free (ChangedProperty *data) 1578s # { 1578s # g_value_unset (&data->orig_value); 1578s # g_free (data); 1578s # } 1578s # 1578s # static gboolean 1578s # _g_strv_equal0 (gchar **a, gchar **b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # guint n; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # if (g_strv_length (a) != g_strv_length (b)) 1578s # goto out; 1578s # for (n = 0; a[n] != NULL; n++) 1578s # if (g_strcmp0 (a[n], b[n]) != 0) 1578s # goto out; 1578s # ret = TRUE; 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _g_variant_equal0 (GVariant *a, GVariant *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # ret = g_variant_equal (a, b); 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # G_GNUC_UNUSED static gboolean 1578s # _g_value_equal (const GValue *a, const GValue *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1578s # switch (G_VALUE_TYPE (a)) 1578s # { 1578s # case G_TYPE_BOOLEAN: 1578s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1578s # break; 1578s # case G_TYPE_UCHAR: 1578s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1578s # break; 1578s # case G_TYPE_INT: 1578s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1578s # break; 1578s # case G_TYPE_UINT: 1578s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1578s # break; 1578s # case G_TYPE_INT64: 1578s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1578s # break; 1578s # case G_TYPE_UINT64: 1578s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1578s # break; 1578s # case G_TYPE_DOUBLE: 1578s # { 1578s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1578s # gdouble da = g_value_get_double (a); 1578s # gdouble db = g_value_get_double (b); 1578s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1578s # } 1578s # break; 1578s # case G_TYPE_STRING: 1578s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1578s # break; 1578s # case G_TYPE_VARIANT: 1578s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1578s # break; 1578s # default: 1578s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1578s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1578s # else 1578s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1578s # break; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static void 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint G_GNUC_UNUSED, 1578s # void *marshal_data) 1578s # { 1578s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1578s # (void *data1, 1578s # GDBusMethodInvocation *arg_method_invocation, 1578s # gint16 arg_arg_n, 1578s # void *data2); 1578s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1578s # GCClosure *cc = (GCClosure*) closure; 1578s # void *data1, *data2; 1578s # gboolean v_return; 1578s # 1578s # g_return_if_fail (return_value != NULL); 1578s # g_return_if_fail (n_param_values == 3); 1578s # 1578s # if (G_CCLOSURE_SWAP_DATA (closure)) 1578s # { 1578s # data1 = closure->data; 1578s # data2 = g_value_peek_pointer (param_values + 0); 1578s # } 1578s # else 1578s # { 1578s # data1 = g_value_peek_pointer (param_values + 0); 1578s # data2 = closure->data; 1578s # } 1578s # 1578s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1578s # (marshal_data ? marshal_data : cc->callback); 1578s # 1578s # v_return = 1578s # callback (data1, 1578s # g_marshal_value_peek_object (param_values + 1), 1578s # g_marshal_value_peek_int (param_values + 2), 1578s # data2); 1578s # 1578s # g_value_set_boolean (return_value, v_return); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ 1578s # * Code for interface org.project.UsefulInterface 1578s # * ------------------------------------------------------------------------ 1578s # */ 1578s # 1578s # /** 1578s # * SECTION:OrgProjectUsefulInterface 1578s # * @title: OrgProjectUsefulInterface 1578s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1578s # * 1578s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1578s # */ 1578s # 1578s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1578s # 1578s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "arg_n", 1578s # (gchar *) "n", 1578s # NULL 1578s # }, 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "SingleArgMethodN", 1578s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "handle-single-arg-method-n", 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "org.project.UsefulInterface", 1578s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1578s # NULL, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "org-project-useful-interface", 1578s # }; 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_interface_info: 1578s # * 1578s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1578s # * 1578s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1578s # */ 1578s # GDBusInterfaceInfo * 1578s # org_project_useful_interface_interface_info (void) 1578s # { 1578s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_override_properties: 1578s # * @klass: The class structure for a #GObject derived class. 1578s # * @property_id_begin: The property id to assign to the first overridden property. 1578s # * 1578s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1578s # * The properties are overridden in the order they are defined. 1578s # * 1578s # * Returns: The last property id. 1578s # */ 1578s # guint 1578s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1578s # { 1578s # return property_id_begin - 1; 1578s # } 1578s # 1578s # 1578s # inline static void 1578s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint, 1578s # void *marshal_data) 1578s # { 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1578s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1578s # } 1578s # 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterface: 1578s # * 1578s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceIface: 1578s # * @parent_iface: The parent interface. 1578s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1578s # * 1578s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1578s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1578s # 1578s # static void 1578s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1578s # { 1578s # /* GObject signals for incoming D-Bus method calls: */ 1578s # /** 1578s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: A #GDBusMethodInvocation. 1578s # * @arg_arg_n: Argument passed by remote caller. 1578s # * 1578s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1578s # * 1578s # * 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. 1578s # * 1578s # * 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. 1578s # */ 1578s # g_signal_new ("handle-single-arg-method-n", 1578s # G_TYPE_FROM_INTERFACE (iface), 1578s # G_SIGNAL_RUN_LAST, 1578s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1578s # g_signal_accumulator_true_handled, 1578s # NULL, 1578s # org_project_useful_interface_method_marshal_single_arg_method_n, 1578s # G_TYPE_BOOLEAN, 1578s # 2, 1578s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1578s # 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_n: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_n: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1578s # */ 1578s # void 1578s # org_project_useful_interface_call_single_arg_method_n ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # gint16 arg_arg_n, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodN", 1578s # g_variant_new ("(n)", 1578s # arg_arg_n), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # callback, 1578s # user_data); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_n_finish: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_n_finish ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_n_sync: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_n: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_n_sync ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # gint16 arg_arg_n, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodN", 1578s # g_variant_new ("(n)", 1578s # arg_arg_n), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_complete_single_arg_method_n: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1578s # * 1578s # * 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. 1578s # * 1578s # * This method will free @invocation, you cannot use it afterwards. 1578s # */ 1578s # void 1578s # org_project_useful_interface_complete_single_arg_method_n ( 1578s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1578s # GDBusMethodInvocation *invocation) 1578s # { 1578s # g_dbus_method_invocation_return_value (invocation, 1578s # g_variant_new ("()")); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxy: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxyClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceProxyPrivate 1578s # { 1578s # GData *qdata; 1578s # }; 1578s # 1578s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_proxy_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1578s # g_datalist_clear (&proxy->priv->qdata); 1578s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # const GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1578s # const gchar *sender_name G_GNUC_UNUSED, 1578s # const gchar *signal_name, 1578s # GVariant *parameters) 1578s # { 1578s # _ExtendedGDBusSignalInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # gsize n; 1578s # guint signal_id; 1578s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1578s # if (info == NULL) 1578s # return; 1578s # num_params = g_variant_n_children (parameters); 1578s # paramv = g_new0 (GValue, num_params + 1); 1578s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[0], proxy); 1578s # g_variant_iter_init (&iter, parameters); 1578s # n = 1; 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_signal_emitv (paramv, signal_id, 0, NULL); 1578s # for (n = 0; n < num_params + 1; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1578s # GVariant *changed_properties, 1578s # const gchar *const *invalidated_properties) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1578s # guint n; 1578s # const gchar *key; 1578s # GVariantIter *iter; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # g_variant_get (changed_properties, "a{sv}", &iter); 1578s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1578s # g_datalist_remove_data (&proxy->priv->qdata, key); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # g_variant_iter_free (iter); 1578s # for (n = 0; invalidated_properties[n] != NULL; n++) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1578s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1578s # #else 1578s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1578s # #endif 1578s # 1578s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusProxyClass *proxy_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1578s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1578s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1578s # 1578s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1578s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1578s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_sync: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_sync ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new_for_bus ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_sync: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_sync ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeleton: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeletonClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1578s # { 1578s # GValue *properties; 1578s # GList *changed_properties; 1578s # GSource *changed_properties_idle_source; 1578s # GMainContext *context; 1578s # GMutex lock; 1578s # }; 1578s # 1578s # static void 1578s # _org_project_useful_interface_skeleton_handle_method_call ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name, 1578s # const gchar *method_name, 1578s # GVariant *parameters, 1578s # GDBusMethodInvocation *invocation, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # _ExtendedGDBusMethodInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # guint num_extra; 1578s # gsize n; 1578s # guint signal_id; 1578s # GValue return_value = G_VALUE_INIT; 1578s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1578s # g_assert (info != NULL); 1578s # num_params = g_variant_n_children (parameters); 1578s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1578s # n = 0; 1578s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[n++], skeleton); 1578s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1578s # g_value_set_object (¶mv[n++], invocation); 1578s # if (info->pass_fdlist) 1578s # { 1578s # #ifdef G_OS_UNIX 1578s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1578s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1578s # #else 1578s # g_assert_not_reached (); 1578s # #endif 1578s # } 1578s # g_variant_iter_init (&iter, parameters); 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1578s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1578s # if (!g_value_get_boolean (&return_value)) 1578s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1578s # g_value_unset (&return_value); 1578s # for (n = 0; n < num_params + num_extra; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static GVariant * 1578s # _org_project_useful_interface_skeleton_handle_get_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # GVariant *ret; 1578s # ret = NULL; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # g_value_init (&value, pspec->value_type); 1578s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1578s # g_value_unset (&value); 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _org_project_useful_interface_skeleton_handle_set_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GVariant *variant, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # gboolean ret; 1578s # ret = FALSE; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # if (info->use_gvariant) 1578s # g_value_set_variant (&value, variant); 1578s # else 1578s # g_dbus_gvariant_to_gvalue (variant, &value); 1578s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # g_value_unset (&value); 1578s # ret = TRUE; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1578s # { 1578s # _org_project_useful_interface_skeleton_handle_method_call, 1578s # _org_project_useful_interface_skeleton_handle_get_property, 1578s # _org_project_useful_interface_skeleton_handle_set_property, 1578s # {NULL} 1578s # }; 1578s # 1578s # static GDBusInterfaceInfo * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return org_project_useful_interface_interface_info (); 1578s # } 1578s # 1578s # static GDBusInterfaceVTable * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1578s # } 1578s # 1578s # static GVariant * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1578s # 1578s # GVariantBuilder builder; 1578s # guint n; 1578s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1578s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1578s # goto out; 1578s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1578s # { 1578s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1578s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1578s # { 1578s # GVariant *value; 1578s # 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); 1578s # if (value != NULL) 1578s # { 1578s # g_variant_take_ref (value); 1578s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1578s # g_variant_unref (value); 1578s # } 1578s # } 1578s # } 1578s # out: 1578s # return g_variant_builder_end (&builder); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_skeleton_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1578s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1578s # if (skeleton->priv->changed_properties_idle_source != NULL) 1578s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1578s # g_main_context_unref (skeleton->priv->context); 1578s # g_mutex_clear (&skeleton->priv->lock); 1578s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1578s # #else 1578s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1578s # #endif 1578s # 1578s # g_mutex_init (&skeleton->priv->lock); 1578s # skeleton->priv->context = g_main_context_ref_thread_default (); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusInterfaceSkeletonClass *skeleton_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1578s # 1578s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1578s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1578s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1578s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1578s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_skeleton_new: 1578s # * 1578s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_skeleton_new (void) 1578s # { 1578s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1578s # } 1578s # /tmp/tmpv7ru1vhb/tmpzz1uggnj.xml: 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmpzz1uggnj.xml', '--output', '-', '--body'] 1578s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1578s # Output: /* 1578s # * This file is generated by gdbus-codegen, do not modify it. 1578s # * 1578s # * The license of this code is the same as for the D-Bus interface description 1578s # * it was derived from. Note that it links to GLib, so must comply with the 1578s # * LGPL linking clauses. 1578s # */ 1578s # 1578s # #ifdef HAVE_CONFIG_H 1578s # # include "config.h" 1578s # #endif 1578s # 1578s # #include 1578s # #ifdef G_OS_UNIX 1578s # # include 1578s # #endif 1578s # 1578s # #ifdef G_ENABLE_DEBUG 1578s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1578s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1578s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1578s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1578s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1578s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1578s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1578s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1578s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1578s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1578s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1578s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1578s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1578s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1578s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1578s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1578s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1578s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1578s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1578s # #else /* !G_ENABLE_DEBUG */ 1578s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1578s # * Do not access GValues directly in your code. Instead, use the 1578s # * g_value_get_*() functions 1578s # */ 1578s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1578s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1578s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1578s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1578s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1578s # #endif /* !G_ENABLE_DEBUG */ 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusArgInfo parent_struct; 1578s # gboolean use_gvariant; 1578s # } _ExtendedGDBusArgInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusMethodInfo parent_struct; 1578s # const gchar *signal_name; 1578s # gboolean pass_fdlist; 1578s # } _ExtendedGDBusMethodInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusSignalInfo parent_struct; 1578s # const gchar *signal_name; 1578s # } _ExtendedGDBusSignalInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusPropertyInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # guint use_gvariant : 1; 1578s # guint emits_changed_signal : 1; 1578s # } _ExtendedGDBusPropertyInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusInterfaceInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # } _ExtendedGDBusInterfaceInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # const _ExtendedGDBusPropertyInfo *info; 1578s # guint prop_id; 1578s # GValue orig_value; /* the value before the change */ 1578s # } ChangedProperty; 1578s # 1578s # static void 1578s # _changed_property_free (ChangedProperty *data) 1578s # { 1578s # g_value_unset (&data->orig_value); 1578s # g_free (data); 1578s # } 1578s # 1578s # static gboolean 1578s # _g_strv_equal0 (gchar **a, gchar **b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # guint n; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # if (g_strv_length (a) != g_strv_length (b)) 1578s # goto out; 1578s # for (n = 0; a[n] != NULL; n++) 1578s # if (g_strcmp0 (a[n], b[n]) != 0) 1578s # goto out; 1578s # ret = TRUE; 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _g_variant_equal0 (GVariant *a, GVariant *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # ret = g_variant_equal (a, b); 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # G_GNUC_UNUSED static gboolean 1578s # _g_value_equal (const GValue *a, const GValue *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1578s # switch (G_VALUE_TYPE (a)) 1578s # { 1578s # case G_TYPE_BOOLEAN: 1578s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1578s # break; 1578s # case G_TYPE_UCHAR: 1578s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1578s # break; 1578s # case G_TYPE_INT: 1578s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1578s # break; 1578s # case G_TYPE_UINT: 1578s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1578s # break; 1578s # case G_TYPE_INT64: 1578s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1578s # break; 1578s # case G_TYPE_UINT64: 1578s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1578s # break; 1578s # case G_TYPE_DOUBLE: 1578s # { 1578s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1578s # gdouble da = g_value_get_double (a); 1578s # gdouble db = g_value_get_double (b); 1578s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1578s # } 1578s # break; 1578s # case G_TYPE_STRING: 1578s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1578s # break; 1578s # case G_TYPE_VARIANT: 1578s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1578s # break; 1578s # default: 1578s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1578s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1578s # else 1578s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1578s # break; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static void 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint G_GNUC_UNUSED, 1578s # void *marshal_data) 1578s # { 1578s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1578s # (void *data1, 1578s # GDBusMethodInvocation *arg_method_invocation, 1578s # guint16 arg_arg_q, 1578s # void *data2); 1578s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1578s # GCClosure *cc = (GCClosure*) closure; 1578s # void *data1, *data2; 1578s # gboolean v_return; 1578s # 1578s # g_return_if_fail (return_value != NULL); 1578s # g_return_if_fail (n_param_values == 3); 1578s # 1578s # if (G_CCLOSURE_SWAP_DATA (closure)) 1578s # { 1578s # data1 = closure->data; 1578s # data2 = g_value_peek_pointer (param_values + 0); 1578s # } 1578s # else 1578s # { 1578s # data1 = g_value_peek_pointer (param_values + 0); 1578s # data2 = closure->data; 1578s # } 1578s # 1578s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1578s # (marshal_data ? marshal_data : cc->callback); 1578s # 1578s # v_return = 1578s # callback (data1, 1578s # g_marshal_value_peek_object (param_values + 1), 1578s # g_marshal_value_peek_uint (param_values + 2), 1578s # data2); 1578s # 1578s # g_value_set_boolean (return_value, v_return); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ 1578s # * Code for interface org.project.UsefulInterface 1578s # * ------------------------------------------------------------------------ 1578s # */ 1578s # 1578s # /** 1578s # * SECTION:OrgProjectUsefulInterface 1578s # * @title: OrgProjectUsefulInterface 1578s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1578s # * 1578s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1578s # */ 1578s # 1578s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1578s # 1578s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "arg_q", 1578s # (gchar *) "q", 1578s # NULL 1578s # }, 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "SingleArgMethodQ", 1578s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "handle-single-arg-method-q", 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "org.project.UsefulInterface", 1578s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1578s # NULL, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "org-project-useful-interface", 1578s # }; 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_interface_info: 1578s # * 1578s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1578s # * 1578s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1578s # */ 1578s # GDBusInterfaceInfo * 1578s # org_project_useful_interface_interface_info (void) 1578s # { 1578s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_override_properties: 1578s # * @klass: The class structure for a #GObject derived class. 1578s # * @property_id_begin: The property id to assign to the first overridden property. 1578s # * 1578s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1578s # * The properties are overridden in the order they are defined. 1578s # * 1578s # * Returns: The last property id. 1578s # */ 1578s # guint 1578s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1578s # { 1578s # return property_id_begin - 1; 1578s # } 1578s # 1578s # 1578s # inline static void 1578s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint, 1578s # void *marshal_data) 1578s # { 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1578s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1578s # } 1578s # 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterface: 1578s # * 1578s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceIface: 1578s # * @parent_iface: The parent interface. 1578s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1578s # * 1578s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1578s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1578s # 1578s # static void 1578s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1578s # { 1578s # /* GObject signals for incoming D-Bus method calls: */ 1578s # /** 1578s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: A #GDBusMethodInvocation. 1578s # * @arg_arg_q: Argument passed by remote caller. 1578s # * 1578s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1578s # * 1578s # * 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. 1578s # * 1578s # * 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. 1578s # */ 1578s # g_signal_new ("handle-single-arg-method-q", 1578s # G_TYPE_FROM_INTERFACE (iface), 1578s # G_SIGNAL_RUN_LAST, 1578s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1578s # g_signal_accumulator_true_handled, 1578s # NULL, 1578s # org_project_useful_interface_method_marshal_single_arg_method_q, 1578s # G_TYPE_BOOLEAN, 1578s # 2, 1578s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1578s # 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_q: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_q: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1578s # */ 1578s # void 1578s # org_project_useful_interface_call_single_arg_method_q ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # guint16 arg_arg_q, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodQ", 1578s # g_variant_new ("(q)", 1578s # arg_arg_q), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # callback, 1578s # user_data); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_q_finish: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_q_finish ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_q_sync: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_q: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_q_sync ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # guint16 arg_arg_q, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodQ", 1578s # g_variant_new ("(q)", 1578s # arg_arg_q), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_complete_single_arg_method_q: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1578s # * 1578s # * 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. 1578s # * 1578s # * This method will free @invocation, you cannot use it afterwards. 1578s # */ 1578s # void 1578s # org_project_useful_interface_complete_single_arg_method_q ( 1578s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1578s # GDBusMethodInvocation *invocation) 1578s # { 1578s # g_dbus_method_invocation_return_value (invocation, 1578s # g_variant_new ("()")); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxy: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxyClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceProxyPrivate 1578s # { 1578s # GData *qdata; 1578s # }; 1578s # 1578s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_proxy_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1578s # g_datalist_clear (&proxy->priv->qdata); 1578s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # const GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1578s # const gchar *sender_name G_GNUC_UNUSED, 1578s # const gchar *signal_name, 1578s # GVariant *parameters) 1578s # { 1578s # _ExtendedGDBusSignalInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # gsize n; 1578s # guint signal_id; 1578s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1578s # if (info == NULL) 1578s # return; 1578s # num_params = g_variant_n_children (parameters); 1578s # paramv = g_new0 (GValue, num_params + 1); 1578s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[0], proxy); 1578s # g_variant_iter_init (&iter, parameters); 1578s # n = 1; 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_signal_emitv (paramv, signal_id, 0, NULL); 1578s # for (n = 0; n < num_params + 1; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1578s # GVariant *changed_properties, 1578s # const gchar *const *invalidated_properties) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1578s # guint n; 1578s # const gchar *key; 1578s # GVariantIter *iter; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # g_variant_get (changed_properties, "a{sv}", &iter); 1578s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1578s # g_datalist_remove_data (&proxy->priv->qdata, key); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # g_variant_iter_free (iter); 1578s # for (n = 0; invalidated_properties[n] != NULL; n++) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1578s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1578s # #else 1578s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1578s # #endif 1578s # 1578s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusProxyClass *proxy_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1578s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1578s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1578s # 1578s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1578s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1578s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_sync: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_sync ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new_for_bus ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_sync: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_sync ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeleton: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeletonClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1578s # { 1578s # GValue *properties; 1578s # GList *changed_properties; 1578s # GSource *changed_properties_idle_source; 1578s # GMainContext *context; 1578s # GMutex lock; 1578s # }; 1578s # 1578s # static void 1578s # _org_project_useful_interface_skeleton_handle_method_call ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name, 1578s # const gchar *method_name, 1578s # GVariant *parameters, 1578s # GDBusMethodInvocation *invocation, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # _ExtendedGDBusMethodInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # guint num_extra; 1578s # gsize n; 1578s # guint signal_id; 1578s # GValue return_value = G_VALUE_INIT; 1578s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1578s # g_assert (info != NULL); 1578s # num_params = g_variant_n_children (parameters); 1578s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1578s # n = 0; 1578s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[n++], skeleton); 1578s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1578s # g_value_set_object (¶mv[n++], invocation); 1578s # if (info->pass_fdlist) 1578s # { 1578s # #ifdef G_OS_UNIX 1578s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1578s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1578s # #else 1578s # g_assert_not_reached (); 1578s # #endif 1578s # } 1578s # g_variant_iter_init (&iter, parameters); 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1578s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1578s # if (!g_value_get_boolean (&return_value)) 1578s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1578s # g_value_unset (&return_value); 1578s # for (n = 0; n < num_params + num_extra; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static GVariant * 1578s # _org_project_useful_interface_skeleton_handle_get_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # GVariant *ret; 1578s # ret = NULL; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # g_value_init (&value, pspec->value_type); 1578s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1578s # g_value_unset (&value); 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _org_project_useful_interface_skeleton_handle_set_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GVariant *variant, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # gboolean ret; 1578s # ret = FALSE; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # if (info->use_gvariant) 1578s # g_value_set_variant (&value, variant); 1578s # else 1578s # g_dbus_gvariant_to_gvalue (variant, &value); 1578s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # g_value_unset (&value); 1578s # ret = TRUE; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1578s # { 1578s # _org_project_useful_interface_skeleton_handle_method_call, 1578s # _org_project_useful_interface_skeleton_handle_get_property, 1578s # _org_project_useful_interface_skeleton_handle_set_property, 1578s # {NULL} 1578s # }; 1578s # 1578s # static GDBusInterfaceInfo * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return org_project_useful_interface_interface_info (); 1578s # } 1578s # 1578s # static GDBusInterfaceVTable * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1578s # } 1578s # 1578s # static GVariant * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1578s # 1578s # GVariantBuilder builder; 1578s # guint n; 1578s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1578s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1578s # goto out; 1578s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1578s # { 1578s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1578s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1578s # { 1578s # GVariant *value; 1578s # 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); 1578s # if (value != NULL) 1578s # { 1578s # g_variant_take_ref (value); 1578s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1578s # g_variant_unref (value); 1578s # } 1578s # } 1578s # } 1578s # out: 1578s # return g_variant_builder_end (&builder); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_skeleton_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1578s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1578s # if (skeleton->priv->changed_properties_idle_source != NULL) 1578s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1578s # g_main_context_unref (skeleton->priv->context); 1578s # g_mutex_clear (&skeleton->priv->lock); 1578s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1578s # #else 1578s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1578s # #endif 1578s # 1578s # g_mutex_init (&skeleton->priv->lock); 1578s # skeleton->priv->context = g_main_context_ref_thread_default (); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusInterfaceSkeletonClass *skeleton_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1578s # 1578s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1578s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1578s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1578s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1578s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_skeleton_new: 1578s # * 1578s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_skeleton_new (void) 1578s # { 1578s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1578s # } 1578s # /tmp/tmpv7ru1vhb/tmpfiw5aqiq.xml: 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmpfiw5aqiq.xml', '--output', '-', '--body'] 1578s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1578s # Output: /* 1578s # * This file is generated by gdbus-codegen, do not modify it. 1578s # * 1578s # * The license of this code is the same as for the D-Bus interface description 1578s # * it was derived from. Note that it links to GLib, so must comply with the 1578s # * LGPL linking clauses. 1578s # */ 1578s # 1578s # #ifdef HAVE_CONFIG_H 1578s # # include "config.h" 1578s # #endif 1578s # 1578s # #include 1578s # #ifdef G_OS_UNIX 1578s # # include 1578s # #endif 1578s # 1578s # #ifdef G_ENABLE_DEBUG 1578s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1578s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1578s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1578s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1578s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1578s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1578s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1578s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1578s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1578s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1578s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1578s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1578s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1578s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1578s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1578s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1578s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1578s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1578s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1578s # #else /* !G_ENABLE_DEBUG */ 1578s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1578s # * Do not access GValues directly in your code. Instead, use the 1578s # * g_value_get_*() functions 1578s # */ 1578s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1578s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1578s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1578s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1578s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1578s # #endif /* !G_ENABLE_DEBUG */ 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusArgInfo parent_struct; 1578s # gboolean use_gvariant; 1578s # } _ExtendedGDBusArgInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusMethodInfo parent_struct; 1578s # const gchar *signal_name; 1578s # gboolean pass_fdlist; 1578s # } _ExtendedGDBusMethodInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusSignalInfo parent_struct; 1578s # const gchar *signal_name; 1578s # } _ExtendedGDBusSignalInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusPropertyInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # guint use_gvariant : 1; 1578s # guint emits_changed_signal : 1; 1578s # } _ExtendedGDBusPropertyInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusInterfaceInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # } _ExtendedGDBusInterfaceInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # const _ExtendedGDBusPropertyInfo *info; 1578s # guint prop_id; 1578s # GValue orig_value; /* the value before the change */ 1578s # } ChangedProperty; 1578s # 1578s # static void 1578s # _changed_property_free (ChangedProperty *data) 1578s # { 1578s # g_value_unset (&data->orig_value); 1578s # g_free (data); 1578s # } 1578s # 1578s # static gboolean 1578s # _g_strv_equal0 (gchar **a, gchar **b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # guint n; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # if (g_strv_length (a) != g_strv_length (b)) 1578s # goto out; 1578s # for (n = 0; a[n] != NULL; n++) 1578s # if (g_strcmp0 (a[n], b[n]) != 0) 1578s # goto out; 1578s # ret = TRUE; 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _g_variant_equal0 (GVariant *a, GVariant *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # ret = g_variant_equal (a, b); 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # G_GNUC_UNUSED static gboolean 1578s # _g_value_equal (const GValue *a, const GValue *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1578s # switch (G_VALUE_TYPE (a)) 1578s # { 1578s # case G_TYPE_BOOLEAN: 1578s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1578s # break; 1578s # case G_TYPE_UCHAR: 1578s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1578s # break; 1578s # case G_TYPE_INT: 1578s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1578s # break; 1578s # case G_TYPE_UINT: 1578s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1578s # break; 1578s # case G_TYPE_INT64: 1578s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1578s # break; 1578s # case G_TYPE_UINT64: 1578s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1578s # break; 1578s # case G_TYPE_DOUBLE: 1578s # { 1578s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1578s # gdouble da = g_value_get_double (a); 1578s # gdouble db = g_value_get_double (b); 1578s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1578s # } 1578s # break; 1578s # case G_TYPE_STRING: 1578s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1578s # break; 1578s # case G_TYPE_VARIANT: 1578s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1578s # break; 1578s # default: 1578s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1578s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1578s # else 1578s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1578s # break; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static void 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint G_GNUC_UNUSED, 1578s # void *marshal_data) 1578s # { 1578s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1578s # (void *data1, 1578s # GDBusMethodInvocation *arg_method_invocation, 1578s # gint arg_arg_i, 1578s # void *data2); 1578s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1578s # GCClosure *cc = (GCClosure*) closure; 1578s # void *data1, *data2; 1578s # gboolean v_return; 1578s # 1578s # g_return_if_fail (return_value != NULL); 1578s # g_return_if_fail (n_param_values == 3); 1578s # 1578s # if (G_CCLOSURE_SWAP_DATA (closure)) 1578s # { 1578s # data1 = closure->data; 1578s # data2 = g_value_peek_pointer (param_values + 0); 1578s # } 1578s # else 1578s # { 1578s # data1 = g_value_peek_pointer (param_values + 0); 1578s # data2 = closure->data; 1578s # } 1578s # 1578s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1578s # (marshal_data ? marshal_data : cc->callback); 1578s # 1578s # v_return = 1578s # callback (data1, 1578s # g_marshal_value_peek_object (param_values + 1), 1578s # g_marshal_value_peek_int (param_values + 2), 1578s # data2); 1578s # 1578s # g_value_set_boolean (return_value, v_return); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ 1578s # * Code for interface org.project.UsefulInterface 1578s # * ------------------------------------------------------------------------ 1578s # */ 1578s # 1578s # /** 1578s # * SECTION:OrgProjectUsefulInterface 1578s # * @title: OrgProjectUsefulInterface 1578s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1578s # * 1578s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1578s # */ 1578s # 1578s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1578s # 1578s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "arg_i", 1578s # (gchar *) "i", 1578s # NULL 1578s # }, 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "SingleArgMethodI", 1578s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "handle-single-arg-method-i", 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "org.project.UsefulInterface", 1578s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1578s # NULL, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "org-project-useful-interface", 1578s # }; 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_interface_info: 1578s # * 1578s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1578s # * 1578s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1578s # */ 1578s # GDBusInterfaceInfo * 1578s # org_project_useful_interface_interface_info (void) 1578s # { 1578s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_override_properties: 1578s # * @klass: The class structure for a #GObject derived class. 1578s # * @property_id_begin: The property id to assign to the first overridden property. 1578s # * 1578s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1578s # * The properties are overridden in the order they are defined. 1578s # * 1578s # * Returns: The last property id. 1578s # */ 1578s # guint 1578s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1578s # { 1578s # return property_id_begin - 1; 1578s # } 1578s # 1578s # 1578s # inline static void 1578s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint, 1578s # void *marshal_data) 1578s # { 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1578s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1578s # } 1578s # 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterface: 1578s # * 1578s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceIface: 1578s # * @parent_iface: The parent interface. 1578s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1578s # * 1578s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1578s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1578s # 1578s # static void 1578s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1578s # { 1578s # /* GObject signals for incoming D-Bus method calls: */ 1578s # /** 1578s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: A #GDBusMethodInvocation. 1578s # * @arg_arg_i: Argument passed by remote caller. 1578s # * 1578s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1578s # * 1578s # * 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. 1578s # * 1578s # * 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. 1578s # */ 1578s # g_signal_new ("handle-single-arg-method-i", 1578s # G_TYPE_FROM_INTERFACE (iface), 1578s # G_SIGNAL_RUN_LAST, 1578s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1578s # g_signal_accumulator_true_handled, 1578s # NULL, 1578s # org_project_useful_interface_method_marshal_single_arg_method_i, 1578s # G_TYPE_BOOLEAN, 1578s # 2, 1578s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1578s # 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_i: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_i: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1578s # */ 1578s # void 1578s # org_project_useful_interface_call_single_arg_method_i ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # gint arg_arg_i, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodI", 1578s # g_variant_new ("(i)", 1578s # arg_arg_i), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # callback, 1578s # user_data); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_i_finish: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_i_finish ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_i_sync: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_i: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_i_sync ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # gint arg_arg_i, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodI", 1578s # g_variant_new ("(i)", 1578s # arg_arg_i), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_complete_single_arg_method_i: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1578s # * 1578s # * 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. 1578s # * 1578s # * This method will free @invocation, you cannot use it afterwards. 1578s # */ 1578s # void 1578s # org_project_useful_interface_complete_single_arg_method_i ( 1578s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1578s # GDBusMethodInvocation *invocation) 1578s # { 1578s # g_dbus_method_invocation_return_value (invocation, 1578s # g_variant_new ("()")); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxy: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxyClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceProxyPrivate 1578s # { 1578s # GData *qdata; 1578s # }; 1578s # 1578s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_proxy_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1578s # g_datalist_clear (&proxy->priv->qdata); 1578s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # const GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1578s # const gchar *sender_name G_GNUC_UNUSED, 1578s # const gchar *signal_name, 1578s # GVariant *parameters) 1578s # { 1578s # _ExtendedGDBusSignalInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # gsize n; 1578s # guint signal_id; 1578s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1578s # if (info == NULL) 1578s # return; 1578s # num_params = g_variant_n_children (parameters); 1578s # paramv = g_new0 (GValue, num_params + 1); 1578s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[0], proxy); 1578s # g_variant_iter_init (&iter, parameters); 1578s # n = 1; 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_signal_emitv (paramv, signal_id, 0, NULL); 1578s # for (n = 0; n < num_params + 1; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1578s # GVariant *changed_properties, 1578s # const gchar *const *invalidated_properties) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1578s # guint n; 1578s # const gchar *key; 1578s # GVariantIter *iter; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # g_variant_get (changed_properties, "a{sv}", &iter); 1578s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1578s # g_datalist_remove_data (&proxy->priv->qdata, key); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # g_variant_iter_free (iter); 1578s # for (n = 0; invalidated_properties[n] != NULL; n++) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1578s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1578s # #else 1578s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1578s # #endif 1578s # 1578s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusProxyClass *proxy_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1578s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1578s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1578s # 1578s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1578s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1578s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_sync: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_sync ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new_for_bus ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_sync: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_sync ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeleton: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeletonClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1578s # { 1578s # GValue *properties; 1578s # GList *changed_properties; 1578s # GSource *changed_properties_idle_source; 1578s # GMainContext *context; 1578s # GMutex lock; 1578s # }; 1578s # 1578s # static void 1578s # _org_project_useful_interface_skeleton_handle_method_call ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name, 1578s # const gchar *method_name, 1578s # GVariant *parameters, 1578s # GDBusMethodInvocation *invocation, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # _ExtendedGDBusMethodInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # guint num_extra; 1578s # gsize n; 1578s # guint signal_id; 1578s # GValue return_value = G_VALUE_INIT; 1578s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1578s # g_assert (info != NULL); 1578s # num_params = g_variant_n_children (parameters); 1578s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1578s # n = 0; 1578s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[n++], skeleton); 1578s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1578s # g_value_set_object (¶mv[n++], invocation); 1578s # if (info->pass_fdlist) 1578s # { 1578s # #ifdef G_OS_UNIX 1578s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1578s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1578s # #else 1578s # g_assert_not_reached (); 1578s # #endif 1578s # } 1578s # g_variant_iter_init (&iter, parameters); 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1578s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1578s # if (!g_value_get_boolean (&return_value)) 1578s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1578s # g_value_unset (&return_value); 1578s # for (n = 0; n < num_params + num_extra; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static GVariant * 1578s # _org_project_useful_interface_skeleton_handle_get_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # GVariant *ret; 1578s # ret = NULL; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # g_value_init (&value, pspec->value_type); 1578s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1578s # g_value_unset (&value); 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _org_project_useful_interface_skeleton_handle_set_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GVariant *variant, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # gboolean ret; 1578s # ret = FALSE; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # if (info->use_gvariant) 1578s # g_value_set_variant (&value, variant); 1578s # else 1578s # g_dbus_gvariant_to_gvalue (variant, &value); 1578s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # g_value_unset (&value); 1578s # ret = TRUE; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1578s # { 1578s # _org_project_useful_interface_skeleton_handle_method_call, 1578s # _org_project_useful_interface_skeleton_handle_get_property, 1578s # _org_project_useful_interface_skeleton_handle_set_property, 1578s # {NULL} 1578s # }; 1578s # 1578s # static GDBusInterfaceInfo * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return org_project_useful_interface_interface_info (); 1578s # } 1578s # 1578s # static GDBusInterfaceVTable * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1578s # } 1578s # 1578s # static GVariant * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1578s # 1578s # GVariantBuilder builder; 1578s # guint n; 1578s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1578s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1578s # goto out; 1578s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1578s # { 1578s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1578s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1578s # { 1578s # GVariant *value; 1578s # 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); 1578s # if (value != NULL) 1578s # { 1578s # g_variant_take_ref (value); 1578s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1578s # g_variant_unref (value); 1578s # } 1578s # } 1578s # } 1578s # out: 1578s # return g_variant_builder_end (&builder); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_skeleton_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1578s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1578s # if (skeleton->priv->changed_properties_idle_source != NULL) 1578s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1578s # g_main_context_unref (skeleton->priv->context); 1578s # g_mutex_clear (&skeleton->priv->lock); 1578s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1578s # #else 1578s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1578s # #endif 1578s # 1578s # g_mutex_init (&skeleton->priv->lock); 1578s # skeleton->priv->context = g_main_context_ref_thread_default (); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusInterfaceSkeletonClass *skeleton_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1578s # 1578s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1578s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1578s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1578s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1578s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_skeleton_new: 1578s # * 1578s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_skeleton_new (void) 1578s # { 1578s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1578s # } 1578s # /tmp/tmpv7ru1vhb/tmpoltybdj0.xml: 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmpoltybdj0.xml', '--output', '-', '--body'] 1578s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1578s # Output: /* 1578s # * This file is generated by gdbus-codegen, do not modify it. 1578s # * 1578s # * The license of this code is the same as for the D-Bus interface description 1578s # * it was derived from. Note that it links to GLib, so must comply with the 1578s # * LGPL linking clauses. 1578s # */ 1578s # 1578s # #ifdef HAVE_CONFIG_H 1578s # # include "config.h" 1578s # #endif 1578s # 1578s # #include 1578s # #ifdef G_OS_UNIX 1578s # # include 1578s # #endif 1578s # 1578s # #ifdef G_ENABLE_DEBUG 1578s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1578s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1578s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1578s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1578s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1578s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1578s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1578s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1578s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1578s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1578s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1578s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1578s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1578s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1578s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1578s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1578s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1578s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1578s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1578s # #else /* !G_ENABLE_DEBUG */ 1578s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1578s # * Do not access GValues directly in your code. Instead, use the 1578s # * g_value_get_*() functions 1578s # */ 1578s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1578s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1578s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1578s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1578s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1578s # #endif /* !G_ENABLE_DEBUG */ 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusArgInfo parent_struct; 1578s # gboolean use_gvariant; 1578s # } _ExtendedGDBusArgInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusMethodInfo parent_struct; 1578s # const gchar *signal_name; 1578s # gboolean pass_fdlist; 1578s # } _ExtendedGDBusMethodInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusSignalInfo parent_struct; 1578s # const gchar *signal_name; 1578s # } _ExtendedGDBusSignalInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusPropertyInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # guint use_gvariant : 1; 1578s # guint emits_changed_signal : 1; 1578s # } _ExtendedGDBusPropertyInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusInterfaceInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # } _ExtendedGDBusInterfaceInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # const _ExtendedGDBusPropertyInfo *info; 1578s # guint prop_id; 1578s # GValue orig_value; /* the value before the change */ 1578s # } ChangedProperty; 1578s # 1578s # static void 1578s # _changed_property_free (ChangedProperty *data) 1578s # { 1578s # g_value_unset (&data->orig_value); 1578s # g_free (data); 1578s # } 1578s # 1578s # static gboolean 1578s # _g_strv_equal0 (gchar **a, gchar **b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # guint n; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # if (g_strv_length (a) != g_strv_length (b)) 1578s # goto out; 1578s # for (n = 0; a[n] != NULL; n++) 1578s # if (g_strcmp0 (a[n], b[n]) != 0) 1578s # goto out; 1578s # ret = TRUE; 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _g_variant_equal0 (GVariant *a, GVariant *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # ret = g_variant_equal (a, b); 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # G_GNUC_UNUSED static gboolean 1578s # _g_value_equal (const GValue *a, const GValue *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1578s # switch (G_VALUE_TYPE (a)) 1578s # { 1578s # case G_TYPE_BOOLEAN: 1578s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1578s # break; 1578s # case G_TYPE_UCHAR: 1578s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1578s # break; 1578s # case G_TYPE_INT: 1578s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1578s # break; 1578s # case G_TYPE_UINT: 1578s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1578s # break; 1578s # case G_TYPE_INT64: 1578s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1578s # break; 1578s # case G_TYPE_UINT64: 1578s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1578s # break; 1578s # case G_TYPE_DOUBLE: 1578s # { 1578s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1578s # gdouble da = g_value_get_double (a); 1578s # gdouble db = g_value_get_double (b); 1578s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1578s # } 1578s # break; 1578s # case G_TYPE_STRING: 1578s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1578s # break; 1578s # case G_TYPE_VARIANT: 1578s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1578s # break; 1578s # default: 1578s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1578s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1578s # else 1578s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1578s # break; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static void 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint G_GNUC_UNUSED, 1578s # void *marshal_data) 1578s # { 1578s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1578s # (void *data1, 1578s # GDBusMethodInvocation *arg_method_invocation, 1578s # guint arg_arg_u, 1578s # void *data2); 1578s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1578s # GCClosure *cc = (GCClosure*) closure; 1578s # void *data1, *data2; 1578s # gboolean v_return; 1578s # 1578s # g_return_if_fail (return_value != NULL); 1578s # g_return_if_fail (n_param_values == 3); 1578s # 1578s # if (G_CCLOSURE_SWAP_DATA (closure)) 1578s # { 1578s # data1 = closure->data; 1578s # data2 = g_value_peek_pointer (param_values + 0); 1578s # } 1578s # else 1578s # { 1578s # data1 = g_value_peek_pointer (param_values + 0); 1578s # data2 = closure->data; 1578s # } 1578s # 1578s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1578s # (marshal_data ? marshal_data : cc->callback); 1578s # 1578s # v_return = 1578s # callback (data1, 1578s # g_marshal_value_peek_object (param_values + 1), 1578s # g_marshal_value_peek_uint (param_values + 2), 1578s # data2); 1578s # 1578s # g_value_set_boolean (return_value, v_return); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ 1578s # * Code for interface org.project.UsefulInterface 1578s # * ------------------------------------------------------------------------ 1578s # */ 1578s # 1578s # /** 1578s # * SECTION:OrgProjectUsefulInterface 1578s # * @title: OrgProjectUsefulInterface 1578s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1578s # * 1578s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1578s # */ 1578s # 1578s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1578s # 1578s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "arg_u", 1578s # (gchar *) "u", 1578s # NULL 1578s # }, 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "SingleArgMethodU", 1578s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "handle-single-arg-method-u", 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "org.project.UsefulInterface", 1578s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1578s # NULL, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "org-project-useful-interface", 1578s # }; 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_interface_info: 1578s # * 1578s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1578s # * 1578s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1578s # */ 1578s # GDBusInterfaceInfo * 1578s # org_project_useful_interface_interface_info (void) 1578s # { 1578s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_override_properties: 1578s # * @klass: The class structure for a #GObject derived class. 1578s # * @property_id_begin: The property id to assign to the first overridden property. 1578s # * 1578s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1578s # * The properties are overridden in the order they are defined. 1578s # * 1578s # * Returns: The last property id. 1578s # */ 1578s # guint 1578s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1578s # { 1578s # return property_id_begin - 1; 1578s # } 1578s # 1578s # 1578s # inline static void 1578s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint, 1578s # void *marshal_data) 1578s # { 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1578s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1578s # } 1578s # 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterface: 1578s # * 1578s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceIface: 1578s # * @parent_iface: The parent interface. 1578s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1578s # * 1578s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1578s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1578s # 1578s # static void 1578s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1578s # { 1578s # /* GObject signals for incoming D-Bus method calls: */ 1578s # /** 1578s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: A #GDBusMethodInvocation. 1578s # * @arg_arg_u: Argument passed by remote caller. 1578s # * 1578s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1578s # * 1578s # * 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. 1578s # * 1578s # * 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. 1578s # */ 1578s # g_signal_new ("handle-single-arg-method-u", 1578s # G_TYPE_FROM_INTERFACE (iface), 1578s # G_SIGNAL_RUN_LAST, 1578s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1578s # g_signal_accumulator_true_handled, 1578s # NULL, 1578s # org_project_useful_interface_method_marshal_single_arg_method_u, 1578s # G_TYPE_BOOLEAN, 1578s # 2, 1578s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1578s # 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_u: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_u: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1578s # */ 1578s # void 1578s # org_project_useful_interface_call_single_arg_method_u ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # guint arg_arg_u, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodU", 1578s # g_variant_new ("(u)", 1578s # arg_arg_u), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # callback, 1578s # user_data); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_u_finish: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_u_finish ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_u_sync: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_u: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_u_sync ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # guint arg_arg_u, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodU", 1578s # g_variant_new ("(u)", 1578s # arg_arg_u), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_complete_single_arg_method_u: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1578s # * 1578s # * 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. 1578s # * 1578s # * This method will free @invocation, you cannot use it afterwards. 1578s # */ 1578s # void 1578s # org_project_useful_interface_complete_single_arg_method_u ( 1578s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1578s # GDBusMethodInvocation *invocation) 1578s # { 1578s # g_dbus_method_invocation_return_value (invocation, 1578s # g_variant_new ("()")); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxy: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxyClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceProxyPrivate 1578s # { 1578s # GData *qdata; 1578s # }; 1578s # 1578s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_proxy_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1578s # g_datalist_clear (&proxy->priv->qdata); 1578s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # const GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1578s # const gchar *sender_name G_GNUC_UNUSED, 1578s # const gchar *signal_name, 1578s # GVariant *parameters) 1578s # { 1578s # _ExtendedGDBusSignalInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # gsize n; 1578s # guint signal_id; 1578s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1578s # if (info == NULL) 1578s # return; 1578s # num_params = g_variant_n_children (parameters); 1578s # paramv = g_new0 (GValue, num_params + 1); 1578s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[0], proxy); 1578s # g_variant_iter_init (&iter, parameters); 1578s # n = 1; 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_signal_emitv (paramv, signal_id, 0, NULL); 1578s # for (n = 0; n < num_params + 1; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1578s # GVariant *changed_properties, 1578s # const gchar *const *invalidated_properties) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1578s # guint n; 1578s # const gchar *key; 1578s # GVariantIter *iter; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # g_variant_get (changed_properties, "a{sv}", &iter); 1578s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1578s # g_datalist_remove_data (&proxy->priv->qdata, key); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # g_variant_iter_free (iter); 1578s # for (n = 0; invalidated_properties[n] != NULL; n++) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1578s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1578s # #else 1578s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1578s # #endif 1578s # 1578s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusProxyClass *proxy_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1578s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1578s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1578s # 1578s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1578s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1578s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_sync: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_sync ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new_for_bus ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_sync: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_sync ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeleton: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeletonClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1578s # { 1578s # GValue *properties; 1578s # GList *changed_properties; 1578s # GSource *changed_properties_idle_source; 1578s # GMainContext *context; 1578s # GMutex lock; 1578s # }; 1578s # 1578s # static void 1578s # _org_project_useful_interface_skeleton_handle_method_call ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name, 1578s # const gchar *method_name, 1578s # GVariant *parameters, 1578s # GDBusMethodInvocation *invocation, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # _ExtendedGDBusMethodInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # guint num_extra; 1578s # gsize n; 1578s # guint signal_id; 1578s # GValue return_value = G_VALUE_INIT; 1578s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1578s # g_assert (info != NULL); 1578s # num_params = g_variant_n_children (parameters); 1578s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1578s # n = 0; 1578s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[n++], skeleton); 1578s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1578s # g_value_set_object (¶mv[n++], invocation); 1578s # if (info->pass_fdlist) 1578s # { 1578s # #ifdef G_OS_UNIX 1578s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1578s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1578s # #else 1578s # g_assert_not_reached (); 1578s # #endif 1578s # } 1578s # g_variant_iter_init (&iter, parameters); 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1578s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1578s # if (!g_value_get_boolean (&return_value)) 1578s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1578s # g_value_unset (&return_value); 1578s # for (n = 0; n < num_params + num_extra; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static GVariant * 1578s # _org_project_useful_interface_skeleton_handle_get_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # GVariant *ret; 1578s # ret = NULL; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # g_value_init (&value, pspec->value_type); 1578s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1578s # g_value_unset (&value); 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _org_project_useful_interface_skeleton_handle_set_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GVariant *variant, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # gboolean ret; 1578s # ret = FALSE; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # if (info->use_gvariant) 1578s # g_value_set_variant (&value, variant); 1578s # else 1578s # g_dbus_gvariant_to_gvalue (variant, &value); 1578s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # g_value_unset (&value); 1578s # ret = TRUE; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1578s # { 1578s # _org_project_useful_interface_skeleton_handle_method_call, 1578s # _org_project_useful_interface_skeleton_handle_get_property, 1578s # _org_project_useful_interface_skeleton_handle_set_property, 1578s # {NULL} 1578s # }; 1578s # 1578s # static GDBusInterfaceInfo * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return org_project_useful_interface_interface_info (); 1578s # } 1578s # 1578s # static GDBusInterfaceVTable * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1578s # } 1578s # 1578s # static GVariant * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1578s # 1578s # GVariantBuilder builder; 1578s # guint n; 1578s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1578s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1578s # goto out; 1578s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1578s # { 1578s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1578s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1578s # { 1578s # GVariant *value; 1578s # 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); 1578s # if (value != NULL) 1578s # { 1578s # g_variant_take_ref (value); 1578s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1578s # g_variant_unref (value); 1578s # } 1578s # } 1578s # } 1578s # out: 1578s # return g_variant_builder_end (&builder); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_skeleton_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1578s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1578s # if (skeleton->priv->changed_properties_idle_source != NULL) 1578s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1578s # g_main_context_unref (skeleton->priv->context); 1578s # g_mutex_clear (&skeleton->priv->lock); 1578s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1578s # #else 1578s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1578s # #endif 1578s # 1578s # g_mutex_init (&skeleton->priv->lock); 1578s # skeleton->priv->context = g_main_context_ref_thread_default (); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusInterfaceSkeletonClass *skeleton_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1578s # 1578s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1578s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1578s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1578s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1578s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_skeleton_new: 1578s # * 1578s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_skeleton_new (void) 1578s # { 1578s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1578s # } 1578s # /tmp/tmpv7ru1vhb/tmp_rqd_tmr.xml: 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmp_rqd_tmr.xml', '--output', '-', '--body'] 1578s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1578s # Output: /* 1578s # * This file is generated by gdbus-codegen, do not modify it. 1578s # * 1578s # * The license of this code is the same as for the D-Bus interface description 1578s # * it was derived from. Note that it links to GLib, so must comply with the 1578s # * LGPL linking clauses. 1578s # */ 1578s # 1578s # #ifdef HAVE_CONFIG_H 1578s # # include "config.h" 1578s # #endif 1578s # 1578s # #include 1578s # #ifdef G_OS_UNIX 1578s # # include 1578s # #endif 1578s # 1578s # #ifdef G_ENABLE_DEBUG 1578s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1578s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1578s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1578s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1578s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1578s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1578s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1578s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1578s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1578s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1578s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1578s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1578s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1578s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1578s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1578s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1578s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1578s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1578s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1578s # #else /* !G_ENABLE_DEBUG */ 1578s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1578s # * Do not access GValues directly in your code. Instead, use the 1578s # * g_value_get_*() functions 1578s # */ 1578s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1578s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1578s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1578s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1578s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1578s # #endif /* !G_ENABLE_DEBUG */ 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusArgInfo parent_struct; 1578s # gboolean use_gvariant; 1578s # } _ExtendedGDBusArgInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusMethodInfo parent_struct; 1578s # const gchar *signal_name; 1578s # gboolean pass_fdlist; 1578s # } _ExtendedGDBusMethodInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusSignalInfo parent_struct; 1578s # const gchar *signal_name; 1578s # } _ExtendedGDBusSignalInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusPropertyInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # guint use_gvariant : 1; 1578s # guint emits_changed_signal : 1; 1578s # } _ExtendedGDBusPropertyInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusInterfaceInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # } _ExtendedGDBusInterfaceInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # const _ExtendedGDBusPropertyInfo *info; 1578s # guint prop_id; 1578s # GValue orig_value; /* the value before the change */ 1578s # } ChangedProperty; 1578s # 1578s # static void 1578s # _changed_property_free (ChangedProperty *data) 1578s # { 1578s # g_value_unset (&data->orig_value); 1578s # g_free (data); 1578s # } 1578s # 1578s # static gboolean 1578s # _g_strv_equal0 (gchar **a, gchar **b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # guint n; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # if (g_strv_length (a) != g_strv_length (b)) 1578s # goto out; 1578s # for (n = 0; a[n] != NULL; n++) 1578s # if (g_strcmp0 (a[n], b[n]) != 0) 1578s # goto out; 1578s # ret = TRUE; 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _g_variant_equal0 (GVariant *a, GVariant *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # ret = g_variant_equal (a, b); 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # G_GNUC_UNUSED static gboolean 1578s # _g_value_equal (const GValue *a, const GValue *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1578s # switch (G_VALUE_TYPE (a)) 1578s # { 1578s # case G_TYPE_BOOLEAN: 1578s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1578s # break; 1578s # case G_TYPE_UCHAR: 1578s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1578s # break; 1578s # case G_TYPE_INT: 1578s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1578s # break; 1578s # case G_TYPE_UINT: 1578s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1578s # break; 1578s # case G_TYPE_INT64: 1578s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1578s # break; 1578s # case G_TYPE_UINT64: 1578s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1578s # break; 1578s # case G_TYPE_DOUBLE: 1578s # { 1578s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1578s # gdouble da = g_value_get_double (a); 1578s # gdouble db = g_value_get_double (b); 1578s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1578s # } 1578s # break; 1578s # case G_TYPE_STRING: 1578s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1578s # break; 1578s # case G_TYPE_VARIANT: 1578s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1578s # break; 1578s # default: 1578s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1578s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1578s # else 1578s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1578s # break; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static void 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint G_GNUC_UNUSED, 1578s # void *marshal_data) 1578s # { 1578s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1578s # (void *data1, 1578s # GDBusMethodInvocation *arg_method_invocation, 1578s # gint64 arg_arg_x, 1578s # void *data2); 1578s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1578s # GCClosure *cc = (GCClosure*) closure; 1578s # void *data1, *data2; 1578s # gboolean v_return; 1578s # 1578s # g_return_if_fail (return_value != NULL); 1578s # g_return_if_fail (n_param_values == 3); 1578s # 1578s # if (G_CCLOSURE_SWAP_DATA (closure)) 1578s # { 1578s # data1 = closure->data; 1578s # data2 = g_value_peek_pointer (param_values + 0); 1578s # } 1578s # else 1578s # { 1578s # data1 = g_value_peek_pointer (param_values + 0); 1578s # data2 = closure->data; 1578s # } 1578s # 1578s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1578s # (marshal_data ? marshal_data : cc->callback); 1578s # 1578s # v_return = 1578s # callback (data1, 1578s # g_marshal_value_peek_object (param_values + 1), 1578s # g_marshal_value_peek_int64 (param_values + 2), 1578s # data2); 1578s # 1578s # g_value_set_boolean (return_value, v_return); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ 1578s # * Code for interface org.project.UsefulInterface 1578s # * ------------------------------------------------------------------------ 1578s # */ 1578s # 1578s # /** 1578s # * SECTION:OrgProjectUsefulInterface 1578s # * @title: OrgProjectUsefulInterface 1578s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1578s # * 1578s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1578s # */ 1578s # 1578s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1578s # 1578s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "arg_x", 1578s # (gchar *) "x", 1578s # NULL 1578s # }, 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "SingleArgMethodX", 1578s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "handle-single-arg-method-x", 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "org.project.UsefulInterface", 1578s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1578s # NULL, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "org-project-useful-interface", 1578s # }; 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_interface_info: 1578s # * 1578s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1578s # * 1578s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1578s # */ 1578s # GDBusInterfaceInfo * 1578s # org_project_useful_interface_interface_info (void) 1578s # { 1578s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_override_properties: 1578s # * @klass: The class structure for a #GObject derived class. 1578s # * @property_id_begin: The property id to assign to the first overridden property. 1578s # * 1578s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1578s # * The properties are overridden in the order they are defined. 1578s # * 1578s # * Returns: The last property id. 1578s # */ 1578s # guint 1578s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1578s # { 1578s # return property_id_begin - 1; 1578s # } 1578s # 1578s # 1578s # inline static void 1578s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint, 1578s # void *marshal_data) 1578s # { 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1578s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1578s # } 1578s # 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterface: 1578s # * 1578s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceIface: 1578s # * @parent_iface: The parent interface. 1578s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1578s # * 1578s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1578s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1578s # 1578s # static void 1578s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1578s # { 1578s # /* GObject signals for incoming D-Bus method calls: */ 1578s # /** 1578s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: A #GDBusMethodInvocation. 1578s # * @arg_arg_x: Argument passed by remote caller. 1578s # * 1578s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1578s # * 1578s # * 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. 1578s # * 1578s # * 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. 1578s # */ 1578s # g_signal_new ("handle-single-arg-method-x", 1578s # G_TYPE_FROM_INTERFACE (iface), 1578s # G_SIGNAL_RUN_LAST, 1578s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1578s # g_signal_accumulator_true_handled, 1578s # NULL, 1578s # org_project_useful_interface_method_marshal_single_arg_method_x, 1578s # G_TYPE_BOOLEAN, 1578s # 2, 1578s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1578s # 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_x: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_x: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1578s # */ 1578s # void 1578s # org_project_useful_interface_call_single_arg_method_x ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # gint64 arg_arg_x, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodX", 1578s # g_variant_new ("(x)", 1578s # arg_arg_x), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # callback, 1578s # user_data); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_x_finish: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_x_finish ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_x_sync: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_x: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_x_sync ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # gint64 arg_arg_x, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodX", 1578s # g_variant_new ("(x)", 1578s # arg_arg_x), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_complete_single_arg_method_x: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1578s # * 1578s # * 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. 1578s # * 1578s # * This method will free @invocation, you cannot use it afterwards. 1578s # */ 1578s # void 1578s # org_project_useful_interface_complete_single_arg_method_x ( 1578s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1578s # GDBusMethodInvocation *invocation) 1578s # { 1578s # g_dbus_method_invocation_return_value (invocation, 1578s # g_variant_new ("()")); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxy: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxyClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceProxyPrivate 1578s # { 1578s # GData *qdata; 1578s # }; 1578s # 1578s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_proxy_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1578s # g_datalist_clear (&proxy->priv->qdata); 1578s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # const GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1578s # const gchar *sender_name G_GNUC_UNUSED, 1578s # const gchar *signal_name, 1578s # GVariant *parameters) 1578s # { 1578s # _ExtendedGDBusSignalInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # gsize n; 1578s # guint signal_id; 1578s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1578s # if (info == NULL) 1578s # return; 1578s # num_params = g_variant_n_children (parameters); 1578s # paramv = g_new0 (GValue, num_params + 1); 1578s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[0], proxy); 1578s # g_variant_iter_init (&iter, parameters); 1578s # n = 1; 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_signal_emitv (paramv, signal_id, 0, NULL); 1578s # for (n = 0; n < num_params + 1; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1578s # GVariant *changed_properties, 1578s # const gchar *const *invalidated_properties) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1578s # guint n; 1578s # const gchar *key; 1578s # GVariantIter *iter; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # g_variant_get (changed_properties, "a{sv}", &iter); 1578s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1578s # g_datalist_remove_data (&proxy->priv->qdata, key); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # g_variant_iter_free (iter); 1578s # for (n = 0; invalidated_properties[n] != NULL; n++) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1578s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1578s # #else 1578s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1578s # #endif 1578s # 1578s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusProxyClass *proxy_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1578s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1578s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1578s # 1578s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1578s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1578s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_sync: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_sync ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new_for_bus ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_sync: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_sync ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeleton: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeletonClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1578s # { 1578s # GValue *properties; 1578s # GList *changed_properties; 1578s # GSource *changed_properties_idle_source; 1578s # GMainContext *context; 1578s # GMutex lock; 1578s # }; 1578s # 1578s # static void 1578s # _org_project_useful_interface_skeleton_handle_method_call ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name, 1578s # const gchar *method_name, 1578s # GVariant *parameters, 1578s # GDBusMethodInvocation *invocation, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # _ExtendedGDBusMethodInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # guint num_extra; 1578s # gsize n; 1578s # guint signal_id; 1578s # GValue return_value = G_VALUE_INIT; 1578s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1578s # g_assert (info != NULL); 1578s # num_params = g_variant_n_children (parameters); 1578s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1578s # n = 0; 1578s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[n++], skeleton); 1578s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1578s # g_value_set_object (¶mv[n++], invocation); 1578s # if (info->pass_fdlist) 1578s # { 1578s # #ifdef G_OS_UNIX 1578s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1578s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1578s # #else 1578s # g_assert_not_reached (); 1578s # #endif 1578s # } 1578s # g_variant_iter_init (&iter, parameters); 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1578s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1578s # if (!g_value_get_boolean (&return_value)) 1578s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1578s # g_value_unset (&return_value); 1578s # for (n = 0; n < num_params + num_extra; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static GVariant * 1578s # _org_project_useful_interface_skeleton_handle_get_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # GVariant *ret; 1578s # ret = NULL; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # g_value_init (&value, pspec->value_type); 1578s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1578s # g_value_unset (&value); 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _org_project_useful_interface_skeleton_handle_set_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GVariant *variant, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # gboolean ret; 1578s # ret = FALSE; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # if (info->use_gvariant) 1578s # g_value_set_variant (&value, variant); 1578s # else 1578s # g_dbus_gvariant_to_gvalue (variant, &value); 1578s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # g_value_unset (&value); 1578s # ret = TRUE; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1578s # { 1578s # _org_project_useful_interface_skeleton_handle_method_call, 1578s # _org_project_useful_interface_skeleton_handle_get_property, 1578s # _org_project_useful_interface_skeleton_handle_set_property, 1578s # {NULL} 1578s # }; 1578s # 1578s # static GDBusInterfaceInfo * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return org_project_useful_interface_interface_info (); 1578s # } 1578s # 1578s # static GDBusInterfaceVTable * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1578s # } 1578s # 1578s # static GVariant * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1578s # 1578s # GVariantBuilder builder; 1578s # guint n; 1578s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1578s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1578s # goto out; 1578s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1578s # { 1578s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1578s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1578s # { 1578s # GVariant *value; 1578s # 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); 1578s # if (value != NULL) 1578s # { 1578s # g_variant_take_ref (value); 1578s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1578s # g_variant_unref (value); 1578s # } 1578s # } 1578s # } 1578s # out: 1578s # return g_variant_builder_end (&builder); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_skeleton_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1578s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1578s # if (skeleton->priv->changed_properties_idle_source != NULL) 1578s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1578s # g_main_context_unref (skeleton->priv->context); 1578s # g_mutex_clear (&skeleton->priv->lock); 1578s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1578s # #else 1578s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1578s # #endif 1578s # 1578s # g_mutex_init (&skeleton->priv->lock); 1578s # skeleton->priv->context = g_main_context_ref_thread_default (); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusInterfaceSkeletonClass *skeleton_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1578s # 1578s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1578s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1578s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1578s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1578s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_skeleton_new: 1578s # * 1578s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_skeleton_new (void) 1578s # { 1578s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1578s # } 1578s # /tmp/tmpv7ru1vhb/tmpji7t660_.xml: 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmpji7t660_.xml', '--output', '-', '--body'] 1578s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1578s # Output: /* 1578s # * This file is generated by gdbus-codegen, do not modify it. 1578s # * 1578s # * The license of this code is the same as for the D-Bus interface description 1578s # * it was derived from. Note that it links to GLib, so must comply with the 1578s # * LGPL linking clauses. 1578s # */ 1578s # 1578s # #ifdef HAVE_CONFIG_H 1578s # # include "config.h" 1578s # #endif 1578s # 1578s # #include 1578s # #ifdef G_OS_UNIX 1578s # # include 1578s # #endif 1578s # 1578s # #ifdef G_ENABLE_DEBUG 1578s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1578s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1578s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1578s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1578s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1578s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1578s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1578s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1578s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1578s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1578s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1578s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1578s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1578s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1578s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1578s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1578s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1578s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1578s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1578s # #else /* !G_ENABLE_DEBUG */ 1578s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1578s # * Do not access GValues directly in your code. Instead, use the 1578s # * g_value_get_*() functions 1578s # */ 1578s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1578s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1578s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1578s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1578s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1578s # #endif /* !G_ENABLE_DEBUG */ 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusArgInfo parent_struct; 1578s # gboolean use_gvariant; 1578s # } _ExtendedGDBusArgInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusMethodInfo parent_struct; 1578s # const gchar *signal_name; 1578s # gboolean pass_fdlist; 1578s # } _ExtendedGDBusMethodInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusSignalInfo parent_struct; 1578s # const gchar *signal_name; 1578s # } _ExtendedGDBusSignalInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusPropertyInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # guint use_gvariant : 1; 1578s # guint emits_changed_signal : 1; 1578s # } _ExtendedGDBusPropertyInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusInterfaceInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # } _ExtendedGDBusInterfaceInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # const _ExtendedGDBusPropertyInfo *info; 1578s # guint prop_id; 1578s # GValue orig_value; /* the value before the change */ 1578s # } ChangedProperty; 1578s # 1578s # static void 1578s # _changed_property_free (ChangedProperty *data) 1578s # { 1578s # g_value_unset (&data->orig_value); 1578s # g_free (data); 1578s # } 1578s # 1578s # static gboolean 1578s # _g_strv_equal0 (gchar **a, gchar **b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # guint n; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # if (g_strv_length (a) != g_strv_length (b)) 1578s # goto out; 1578s # for (n = 0; a[n] != NULL; n++) 1578s # if (g_strcmp0 (a[n], b[n]) != 0) 1578s # goto out; 1578s # ret = TRUE; 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _g_variant_equal0 (GVariant *a, GVariant *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # ret = g_variant_equal (a, b); 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # G_GNUC_UNUSED static gboolean 1578s # _g_value_equal (const GValue *a, const GValue *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1578s # switch (G_VALUE_TYPE (a)) 1578s # { 1578s # case G_TYPE_BOOLEAN: 1578s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1578s # break; 1578s # case G_TYPE_UCHAR: 1578s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1578s # break; 1578s # case G_TYPE_INT: 1578s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1578s # break; 1578s # case G_TYPE_UINT: 1578s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1578s # break; 1578s # case G_TYPE_INT64: 1578s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1578s # break; 1578s # case G_TYPE_UINT64: 1578s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1578s # break; 1578s # case G_TYPE_DOUBLE: 1578s # { 1578s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1578s # gdouble da = g_value_get_double (a); 1578s # gdouble db = g_value_get_double (b); 1578s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1578s # } 1578s # break; 1578s # case G_TYPE_STRING: 1578s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1578s # break; 1578s # case G_TYPE_VARIANT: 1578s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1578s # break; 1578s # default: 1578s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1578s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1578s # else 1578s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1578s # break; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static void 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint G_GNUC_UNUSED, 1578s # void *marshal_data) 1578s # { 1578s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1578s # (void *data1, 1578s # GDBusMethodInvocation *arg_method_invocation, 1578s # guint64 arg_arg_t, 1578s # void *data2); 1578s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1578s # GCClosure *cc = (GCClosure*) closure; 1578s # void *data1, *data2; 1578s # gboolean v_return; 1578s # 1578s # g_return_if_fail (return_value != NULL); 1578s # g_return_if_fail (n_param_values == 3); 1578s # 1578s # if (G_CCLOSURE_SWAP_DATA (closure)) 1578s # { 1578s # data1 = closure->data; 1578s # data2 = g_value_peek_pointer (param_values + 0); 1578s # } 1578s # else 1578s # { 1578s # data1 = g_value_peek_pointer (param_values + 0); 1578s # data2 = closure->data; 1578s # } 1578s # 1578s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1578s # (marshal_data ? marshal_data : cc->callback); 1578s # 1578s # v_return = 1578s # callback (data1, 1578s # g_marshal_value_peek_object (param_values + 1), 1578s # g_marshal_value_peek_uint64 (param_values + 2), 1578s # data2); 1578s # 1578s # g_value_set_boolean (return_value, v_return); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ 1578s # * Code for interface org.project.UsefulInterface 1578s # * ------------------------------------------------------------------------ 1578s # */ 1578s # 1578s # /** 1578s # * SECTION:OrgProjectUsefulInterface 1578s # * @title: OrgProjectUsefulInterface 1578s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1578s # * 1578s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1578s # */ 1578s # 1578s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1578s # 1578s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "arg_t", 1578s # (gchar *) "t", 1578s # NULL 1578s # }, 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "SingleArgMethodT", 1578s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "handle-single-arg-method-t", 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "org.project.UsefulInterface", 1578s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1578s # NULL, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "org-project-useful-interface", 1578s # }; 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_interface_info: 1578s # * 1578s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1578s # * 1578s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1578s # */ 1578s # GDBusInterfaceInfo * 1578s # org_project_useful_interface_interface_info (void) 1578s # { 1578s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_override_properties: 1578s # * @klass: The class structure for a #GObject derived class. 1578s # * @property_id_begin: The property id to assign to the first overridden property. 1578s # * 1578s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1578s # * The properties are overridden in the order they are defined. 1578s # * 1578s # * Returns: The last property id. 1578s # */ 1578s # guint 1578s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1578s # { 1578s # return property_id_begin - 1; 1578s # } 1578s # 1578s # 1578s # inline static void 1578s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint, 1578s # void *marshal_data) 1578s # { 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1578s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1578s # } 1578s # 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterface: 1578s # * 1578s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceIface: 1578s # * @parent_iface: The parent interface. 1578s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1578s # * 1578s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1578s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1578s # 1578s # static void 1578s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1578s # { 1578s # /* GObject signals for incoming D-Bus method calls: */ 1578s # /** 1578s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: A #GDBusMethodInvocation. 1578s # * @arg_arg_t: Argument passed by remote caller. 1578s # * 1578s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1578s # * 1578s # * 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. 1578s # * 1578s # * 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. 1578s # */ 1578s # g_signal_new ("handle-single-arg-method-t", 1578s # G_TYPE_FROM_INTERFACE (iface), 1578s # G_SIGNAL_RUN_LAST, 1578s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1578s # g_signal_accumulator_true_handled, 1578s # NULL, 1578s # org_project_useful_interface_method_marshal_single_arg_method_t, 1578s # G_TYPE_BOOLEAN, 1578s # 2, 1578s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1578s # 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_t: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_t: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1578s # */ 1578s # void 1578s # org_project_useful_interface_call_single_arg_method_t ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # guint64 arg_arg_t, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodT", 1578s # g_variant_new ("(t)", 1578s # arg_arg_t), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # callback, 1578s # user_data); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_t_finish: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_t_finish ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_t_sync: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_t: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_t_sync ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # guint64 arg_arg_t, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodT", 1578s # g_variant_new ("(t)", 1578s # arg_arg_t), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_complete_single_arg_method_t: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1578s # * 1578s # * 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. 1578s # * 1578s # * This method will free @invocation, you cannot use it afterwards. 1578s # */ 1578s # void 1578s # org_project_useful_interface_complete_single_arg_method_t ( 1578s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1578s # GDBusMethodInvocation *invocation) 1578s # { 1578s # g_dbus_method_invocation_return_value (invocation, 1578s # g_variant_new ("()")); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxy: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxyClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceProxyPrivate 1578s # { 1578s # GData *qdata; 1578s # }; 1578s # 1578s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_proxy_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1578s # g_datalist_clear (&proxy->priv->qdata); 1578s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # const GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1578s # const gchar *sender_name G_GNUC_UNUSED, 1578s # const gchar *signal_name, 1578s # GVariant *parameters) 1578s # { 1578s # _ExtendedGDBusSignalInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # gsize n; 1578s # guint signal_id; 1578s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1578s # if (info == NULL) 1578s # return; 1578s # num_params = g_variant_n_children (parameters); 1578s # paramv = g_new0 (GValue, num_params + 1); 1578s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[0], proxy); 1578s # g_variant_iter_init (&iter, parameters); 1578s # n = 1; 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_signal_emitv (paramv, signal_id, 0, NULL); 1578s # for (n = 0; n < num_params + 1; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1578s # GVariant *changed_properties, 1578s # const gchar *const *invalidated_properties) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1578s # guint n; 1578s # const gchar *key; 1578s # GVariantIter *iter; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # g_variant_get (changed_properties, "a{sv}", &iter); 1578s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1578s # g_datalist_remove_data (&proxy->priv->qdata, key); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # g_variant_iter_free (iter); 1578s # for (n = 0; invalidated_properties[n] != NULL; n++) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1578s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1578s # #else 1578s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1578s # #endif 1578s # 1578s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusProxyClass *proxy_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1578s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1578s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1578s # 1578s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1578s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1578s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_sync: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_sync ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new_for_bus ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_sync: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_sync ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeleton: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeletonClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1578s # { 1578s # GValue *properties; 1578s # GList *changed_properties; 1578s # GSource *changed_properties_idle_source; 1578s # GMainContext *context; 1578s # GMutex lock; 1578s # }; 1578s # 1578s # static void 1578s # _org_project_useful_interface_skeleton_handle_method_call ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name, 1578s # const gchar *method_name, 1578s # GVariant *parameters, 1578s # GDBusMethodInvocation *invocation, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # _ExtendedGDBusMethodInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # guint num_extra; 1578s # gsize n; 1578s # guint signal_id; 1578s # GValue return_value = G_VALUE_INIT; 1578s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1578s # g_assert (info != NULL); 1578s # num_params = g_variant_n_children (parameters); 1578s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1578s # n = 0; 1578s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[n++], skeleton); 1578s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1578s # g_value_set_object (¶mv[n++], invocation); 1578s # if (info->pass_fdlist) 1578s # { 1578s # #ifdef G_OS_UNIX 1578s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1578s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1578s # #else 1578s # g_assert_not_reached (); 1578s # #endif 1578s # } 1578s # g_variant_iter_init (&iter, parameters); 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1578s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1578s # if (!g_value_get_boolean (&return_value)) 1578s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1578s # g_value_unset (&return_value); 1578s # for (n = 0; n < num_params + num_extra; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static GVariant * 1578s # _org_project_useful_interface_skeleton_handle_get_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # GVariant *ret; 1578s # ret = NULL; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # g_value_init (&value, pspec->value_type); 1578s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1578s # g_value_unset (&value); 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _org_project_useful_interface_skeleton_handle_set_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GVariant *variant, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # gboolean ret; 1578s # ret = FALSE; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # if (info->use_gvariant) 1578s # g_value_set_variant (&value, variant); 1578s # else 1578s # g_dbus_gvariant_to_gvalue (variant, &value); 1578s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # g_value_unset (&value); 1578s # ret = TRUE; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1578s # { 1578s # _org_project_useful_interface_skeleton_handle_method_call, 1578s # _org_project_useful_interface_skeleton_handle_get_property, 1578s # _org_project_useful_interface_skeleton_handle_set_property, 1578s # {NULL} 1578s # }; 1578s # 1578s # static GDBusInterfaceInfo * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return org_project_useful_interface_interface_info (); 1578s # } 1578s # 1578s # static GDBusInterfaceVTable * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1578s # } 1578s # 1578s # static GVariant * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1578s # 1578s # GVariantBuilder builder; 1578s # guint n; 1578s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1578s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1578s # goto out; 1578s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1578s # { 1578s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1578s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1578s # { 1578s # GVariant *value; 1578s # 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); 1578s # if (value != NULL) 1578s # { 1578s # g_variant_take_ref (value); 1578s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1578s # g_variant_unref (value); 1578s # } 1578s # } 1578s # } 1578s # out: 1578s # return g_variant_builder_end (&builder); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_skeleton_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1578s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1578s # if (skeleton->priv->changed_properties_idle_source != NULL) 1578s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1578s # g_main_context_unref (skeleton->priv->context); 1578s # g_mutex_clear (&skeleton->priv->lock); 1578s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1578s # #else 1578s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1578s # #endif 1578s # 1578s # g_mutex_init (&skeleton->priv->lock); 1578s # skeleton->priv->context = g_main_context_ref_thread_default (); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusInterfaceSkeletonClass *skeleton_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1578s # 1578s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1578s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1578s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1578s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1578s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_skeleton_new: 1578s # * 1578s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_skeleton_new (void) 1578s # { 1578s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1578s # } 1578s # /tmp/tmpv7ru1vhb/tmps4pobqvq.xml: 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmps4pobqvq.xml', '--output', '-', '--body'] 1578s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1578s # Output: /* 1578s # * This file is generated by gdbus-codegen, do not modify it. 1578s # * 1578s # * The license of this code is the same as for the D-Bus interface description 1578s # * it was derived from. Note that it links to GLib, so must comply with the 1578s # * LGPL linking clauses. 1578s # */ 1578s # 1578s # #ifdef HAVE_CONFIG_H 1578s # # include "config.h" 1578s # #endif 1578s # 1578s # #include 1578s # #ifdef G_OS_UNIX 1578s # # include 1578s # #endif 1578s # 1578s # #ifdef G_ENABLE_DEBUG 1578s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1578s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1578s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1578s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1578s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1578s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1578s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1578s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1578s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1578s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1578s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1578s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1578s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1578s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1578s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1578s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1578s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1578s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1578s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1578s # #else /* !G_ENABLE_DEBUG */ 1578s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1578s # * Do not access GValues directly in your code. Instead, use the 1578s # * g_value_get_*() functions 1578s # */ 1578s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1578s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1578s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1578s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1578s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1578s # #endif /* !G_ENABLE_DEBUG */ 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusArgInfo parent_struct; 1578s # gboolean use_gvariant; 1578s # } _ExtendedGDBusArgInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusMethodInfo parent_struct; 1578s # const gchar *signal_name; 1578s # gboolean pass_fdlist; 1578s # } _ExtendedGDBusMethodInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusSignalInfo parent_struct; 1578s # const gchar *signal_name; 1578s # } _ExtendedGDBusSignalInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusPropertyInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # guint use_gvariant : 1; 1578s # guint emits_changed_signal : 1; 1578s # } _ExtendedGDBusPropertyInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusInterfaceInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # } _ExtendedGDBusInterfaceInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # const _ExtendedGDBusPropertyInfo *info; 1578s # guint prop_id; 1578s # GValue orig_value; /* the value before the change */ 1578s # } ChangedProperty; 1578s # 1578s # static void 1578s # _changed_property_free (ChangedProperty *data) 1578s # { 1578s # g_value_unset (&data->orig_value); 1578s # g_free (data); 1578s # } 1578s # 1578s # static gboolean 1578s # _g_strv_equal0 (gchar **a, gchar **b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # guint n; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # if (g_strv_length (a) != g_strv_length (b)) 1578s # goto out; 1578s # for (n = 0; a[n] != NULL; n++) 1578s # if (g_strcmp0 (a[n], b[n]) != 0) 1578s # goto out; 1578s # ret = TRUE; 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _g_variant_equal0 (GVariant *a, GVariant *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # ret = g_variant_equal (a, b); 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # G_GNUC_UNUSED static gboolean 1578s # _g_value_equal (const GValue *a, const GValue *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1578s # switch (G_VALUE_TYPE (a)) 1578s # { 1578s # case G_TYPE_BOOLEAN: 1578s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1578s # break; 1578s # case G_TYPE_UCHAR: 1578s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1578s # break; 1578s # case G_TYPE_INT: 1578s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1578s # break; 1578s # case G_TYPE_UINT: 1578s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1578s # break; 1578s # case G_TYPE_INT64: 1578s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1578s # break; 1578s # case G_TYPE_UINT64: 1578s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1578s # break; 1578s # case G_TYPE_DOUBLE: 1578s # { 1578s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1578s # gdouble da = g_value_get_double (a); 1578s # gdouble db = g_value_get_double (b); 1578s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1578s # } 1578s # break; 1578s # case G_TYPE_STRING: 1578s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1578s # break; 1578s # case G_TYPE_VARIANT: 1578s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1578s # break; 1578s # default: 1578s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1578s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1578s # else 1578s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1578s # break; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static void 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint G_GNUC_UNUSED, 1578s # void *marshal_data) 1578s # { 1578s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1578s # (void *data1, 1578s # GDBusMethodInvocation *arg_method_invocation, 1578s # gdouble arg_arg_d, 1578s # void *data2); 1578s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1578s # GCClosure *cc = (GCClosure*) closure; 1578s # void *data1, *data2; 1578s # gboolean v_return; 1578s # 1578s # g_return_if_fail (return_value != NULL); 1578s # g_return_if_fail (n_param_values == 3); 1578s # 1578s # if (G_CCLOSURE_SWAP_DATA (closure)) 1578s # { 1578s # data1 = closure->data; 1578s # data2 = g_value_peek_pointer (param_values + 0); 1578s # } 1578s # else 1578s # { 1578s # data1 = g_value_peek_pointer (param_values + 0); 1578s # data2 = closure->data; 1578s # } 1578s # 1578s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1578s # (marshal_data ? marshal_data : cc->callback); 1578s # 1578s # v_return = 1578s # callback (data1, 1578s # g_marshal_value_peek_object (param_values + 1), 1578s # g_marshal_value_peek_double (param_values + 2), 1578s # data2); 1578s # 1578s # g_value_set_boolean (return_value, v_return); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ 1578s # * Code for interface org.project.UsefulInterface 1578s # * ------------------------------------------------------------------------ 1578s # */ 1578s # 1578s # /** 1578s # * SECTION:OrgProjectUsefulInterface 1578s # * @title: OrgProjectUsefulInterface 1578s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1578s # * 1578s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1578s # */ 1578s # 1578s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1578s # 1578s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "arg_d", 1578s # (gchar *) "d", 1578s # NULL 1578s # }, 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "SingleArgMethodD", 1578s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "handle-single-arg-method-d", 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "org.project.UsefulInterface", 1578s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1578s # NULL, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "org-project-useful-interface", 1578s # }; 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_interface_info: 1578s # * 1578s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1578s # * 1578s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1578s # */ 1578s # GDBusInterfaceInfo * 1578s # org_project_useful_interface_interface_info (void) 1578s # { 1578s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_override_properties: 1578s # * @klass: The class structure for a #GObject derived class. 1578s # * @property_id_begin: The property id to assign to the first overridden property. 1578s # * 1578s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1578s # * The properties are overridden in the order they are defined. 1578s # * 1578s # * Returns: The last property id. 1578s # */ 1578s # guint 1578s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1578s # { 1578s # return property_id_begin - 1; 1578s # } 1578s # 1578s # 1578s # inline static void 1578s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint, 1578s # void *marshal_data) 1578s # { 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1578s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1578s # } 1578s # 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterface: 1578s # * 1578s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceIface: 1578s # * @parent_iface: The parent interface. 1578s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1578s # * 1578s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1578s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1578s # 1578s # static void 1578s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1578s # { 1578s # /* GObject signals for incoming D-Bus method calls: */ 1578s # /** 1578s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: A #GDBusMethodInvocation. 1578s # * @arg_arg_d: Argument passed by remote caller. 1578s # * 1578s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1578s # * 1578s # * 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. 1578s # * 1578s # * 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. 1578s # */ 1578s # g_signal_new ("handle-single-arg-method-d", 1578s # G_TYPE_FROM_INTERFACE (iface), 1578s # G_SIGNAL_RUN_LAST, 1578s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1578s # g_signal_accumulator_true_handled, 1578s # NULL, 1578s # org_project_useful_interface_method_marshal_single_arg_method_d, 1578s # G_TYPE_BOOLEAN, 1578s # 2, 1578s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1578s # 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_d: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_d: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1578s # */ 1578s # void 1578s # org_project_useful_interface_call_single_arg_method_d ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # gdouble arg_arg_d, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodD", 1578s # g_variant_new ("(d)", 1578s # arg_arg_d), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # callback, 1578s # user_data); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_d_finish: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_d_finish ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_d_sync: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_d: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_d_sync ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # gdouble arg_arg_d, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodD", 1578s # g_variant_new ("(d)", 1578s # arg_arg_d), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_complete_single_arg_method_d: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1578s # * 1578s # * 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. 1578s # * 1578s # * This method will free @invocation, you cannot use it afterwards. 1578s # */ 1578s # void 1578s # org_project_useful_interface_complete_single_arg_method_d ( 1578s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1578s # GDBusMethodInvocation *invocation) 1578s # { 1578s # g_dbus_method_invocation_return_value (invocation, 1578s # g_variant_new ("()")); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxy: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxyClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceProxyPrivate 1578s # { 1578s # GData *qdata; 1578s # }; 1578s # 1578s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_proxy_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1578s # g_datalist_clear (&proxy->priv->qdata); 1578s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # const GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1578s # const gchar *sender_name G_GNUC_UNUSED, 1578s # const gchar *signal_name, 1578s # GVariant *parameters) 1578s # { 1578s # _ExtendedGDBusSignalInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # gsize n; 1578s # guint signal_id; 1578s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1578s # if (info == NULL) 1578s # return; 1578s # num_params = g_variant_n_children (parameters); 1578s # paramv = g_new0 (GValue, num_params + 1); 1578s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[0], proxy); 1578s # g_variant_iter_init (&iter, parameters); 1578s # n = 1; 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_signal_emitv (paramv, signal_id, 0, NULL); 1578s # for (n = 0; n < num_params + 1; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1578s # GVariant *changed_properties, 1578s # const gchar *const *invalidated_properties) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1578s # guint n; 1578s # const gchar *key; 1578s # GVariantIter *iter; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # g_variant_get (changed_properties, "a{sv}", &iter); 1578s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1578s # g_datalist_remove_data (&proxy->priv->qdata, key); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # g_variant_iter_free (iter); 1578s # for (n = 0; invalidated_properties[n] != NULL; n++) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1578s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1578s # #else 1578s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1578s # #endif 1578s # 1578s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusProxyClass *proxy_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1578s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1578s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1578s # 1578s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1578s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1578s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_sync: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_sync ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new_for_bus ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_sync: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_sync ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeleton: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeletonClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1578s # { 1578s # GValue *properties; 1578s # GList *changed_properties; 1578s # GSource *changed_properties_idle_source; 1578s # GMainContext *context; 1578s # GMutex lock; 1578s # }; 1578s # 1578s # static void 1578s # _org_project_useful_interface_skeleton_handle_method_call ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name, 1578s # const gchar *method_name, 1578s # GVariant *parameters, 1578s # GDBusMethodInvocation *invocation, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # _ExtendedGDBusMethodInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # guint num_extra; 1578s # gsize n; 1578s # guint signal_id; 1578s # GValue return_value = G_VALUE_INIT; 1578s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1578s # g_assert (info != NULL); 1578s # num_params = g_variant_n_children (parameters); 1578s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1578s # n = 0; 1578s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[n++], skeleton); 1578s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1578s # g_value_set_object (¶mv[n++], invocation); 1578s # if (info->pass_fdlist) 1578s # { 1578s # #ifdef G_OS_UNIX 1578s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1578s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1578s # #else 1578s # g_assert_not_reached (); 1578s # #endif 1578s # } 1578s # g_variant_iter_init (&iter, parameters); 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1578s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1578s # if (!g_value_get_boolean (&return_value)) 1578s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1578s # g_value_unset (&return_value); 1578s # for (n = 0; n < num_params + num_extra; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static GVariant * 1578s # _org_project_useful_interface_skeleton_handle_get_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # GVariant *ret; 1578s # ret = NULL; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # g_value_init (&value, pspec->value_type); 1578s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1578s # g_value_unset (&value); 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _org_project_useful_interface_skeleton_handle_set_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GVariant *variant, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # gboolean ret; 1578s # ret = FALSE; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # if (info->use_gvariant) 1578s # g_value_set_variant (&value, variant); 1578s # else 1578s # g_dbus_gvariant_to_gvalue (variant, &value); 1578s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # g_value_unset (&value); 1578s # ret = TRUE; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1578s # { 1578s # _org_project_useful_interface_skeleton_handle_method_call, 1578s # _org_project_useful_interface_skeleton_handle_get_property, 1578s # _org_project_useful_interface_skeleton_handle_set_property, 1578s # {NULL} 1578s # }; 1578s # 1578s # static GDBusInterfaceInfo * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return org_project_useful_interface_interface_info (); 1578s # } 1578s # 1578s # static GDBusInterfaceVTable * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1578s # } 1578s # 1578s # static GVariant * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1578s # 1578s # GVariantBuilder builder; 1578s # guint n; 1578s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1578s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1578s # goto out; 1578s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1578s # { 1578s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1578s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1578s # { 1578s # GVariant *value; 1578s # 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); 1578s # if (value != NULL) 1578s # { 1578s # g_variant_take_ref (value); 1578s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1578s # g_variant_unref (value); 1578s # } 1578s # } 1578s # } 1578s # out: 1578s # return g_variant_builder_end (&builder); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_skeleton_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1578s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1578s # if (skeleton->priv->changed_properties_idle_source != NULL) 1578s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1578s # g_main_context_unref (skeleton->priv->context); 1578s # g_mutex_clear (&skeleton->priv->lock); 1578s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1578s # #else 1578s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1578s # #endif 1578s # 1578s # g_mutex_init (&skeleton->priv->lock); 1578s # skeleton->priv->context = g_main_context_ref_thread_default (); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusInterfaceSkeletonClass *skeleton_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1578s # 1578s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1578s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1578s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1578s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1578s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_skeleton_new: 1578s # * 1578s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_skeleton_new (void) 1578s # { 1578s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1578s # } 1578s # /tmp/tmpv7ru1vhb/tmpmza7v4gc.xml: 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmpmza7v4gc.xml', '--output', '-', '--body'] 1578s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1578s # Output: /* 1578s # * This file is generated by gdbus-codegen, do not modify it. 1578s # * 1578s # * The license of this code is the same as for the D-Bus interface description 1578s # * it was derived from. Note that it links to GLib, so must comply with the 1578s # * LGPL linking clauses. 1578s # */ 1578s # 1578s # #ifdef HAVE_CONFIG_H 1578s # # include "config.h" 1578s # #endif 1578s # 1578s # #include 1578s # #ifdef G_OS_UNIX 1578s # # include 1578s # #endif 1578s # 1578s # #ifdef G_ENABLE_DEBUG 1578s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1578s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1578s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1578s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1578s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1578s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1578s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1578s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1578s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1578s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1578s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1578s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1578s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1578s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1578s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1578s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1578s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1578s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1578s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1578s # #else /* !G_ENABLE_DEBUG */ 1578s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1578s # * Do not access GValues directly in your code. Instead, use the 1578s # * g_value_get_*() functions 1578s # */ 1578s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1578s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1578s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1578s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1578s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1578s # #endif /* !G_ENABLE_DEBUG */ 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusArgInfo parent_struct; 1578s # gboolean use_gvariant; 1578s # } _ExtendedGDBusArgInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusMethodInfo parent_struct; 1578s # const gchar *signal_name; 1578s # gboolean pass_fdlist; 1578s # } _ExtendedGDBusMethodInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusSignalInfo parent_struct; 1578s # const gchar *signal_name; 1578s # } _ExtendedGDBusSignalInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusPropertyInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # guint use_gvariant : 1; 1578s # guint emits_changed_signal : 1; 1578s # } _ExtendedGDBusPropertyInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusInterfaceInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # } _ExtendedGDBusInterfaceInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # const _ExtendedGDBusPropertyInfo *info; 1578s # guint prop_id; 1578s # GValue orig_value; /* the value before the change */ 1578s # } ChangedProperty; 1578s # 1578s # static void 1578s # _changed_property_free (ChangedProperty *data) 1578s # { 1578s # g_value_unset (&data->orig_value); 1578s # g_free (data); 1578s # } 1578s # 1578s # static gboolean 1578s # _g_strv_equal0 (gchar **a, gchar **b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # guint n; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # if (g_strv_length (a) != g_strv_length (b)) 1578s # goto out; 1578s # for (n = 0; a[n] != NULL; n++) 1578s # if (g_strcmp0 (a[n], b[n]) != 0) 1578s # goto out; 1578s # ret = TRUE; 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _g_variant_equal0 (GVariant *a, GVariant *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # ret = g_variant_equal (a, b); 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # G_GNUC_UNUSED static gboolean 1578s # _g_value_equal (const GValue *a, const GValue *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1578s # switch (G_VALUE_TYPE (a)) 1578s # { 1578s # case G_TYPE_BOOLEAN: 1578s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1578s # break; 1578s # case G_TYPE_UCHAR: 1578s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1578s # break; 1578s # case G_TYPE_INT: 1578s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1578s # break; 1578s # case G_TYPE_UINT: 1578s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1578s # break; 1578s # case G_TYPE_INT64: 1578s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1578s # break; 1578s # case G_TYPE_UINT64: 1578s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1578s # break; 1578s # case G_TYPE_DOUBLE: 1578s # { 1578s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1578s # gdouble da = g_value_get_double (a); 1578s # gdouble db = g_value_get_double (b); 1578s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1578s # } 1578s # break; 1578s # case G_TYPE_STRING: 1578s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1578s # break; 1578s # case G_TYPE_VARIANT: 1578s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1578s # break; 1578s # default: 1578s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1578s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1578s # else 1578s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1578s # break; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static void 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint G_GNUC_UNUSED, 1578s # void *marshal_data) 1578s # { 1578s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1578s # (void *data1, 1578s # GDBusMethodInvocation *arg_method_invocation, 1578s # const gchar *arg_arg_s, 1578s # void *data2); 1578s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1578s # GCClosure *cc = (GCClosure*) closure; 1578s # void *data1, *data2; 1578s # gboolean v_return; 1578s # 1578s # g_return_if_fail (return_value != NULL); 1578s # g_return_if_fail (n_param_values == 3); 1578s # 1578s # if (G_CCLOSURE_SWAP_DATA (closure)) 1578s # { 1578s # data1 = closure->data; 1578s # data2 = g_value_peek_pointer (param_values + 0); 1578s # } 1578s # else 1578s # { 1578s # data1 = g_value_peek_pointer (param_values + 0); 1578s # data2 = closure->data; 1578s # } 1578s # 1578s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1578s # (marshal_data ? marshal_data : cc->callback); 1578s # 1578s # v_return = 1578s # callback (data1, 1578s # g_marshal_value_peek_object (param_values + 1), 1578s # g_marshal_value_peek_string (param_values + 2), 1578s # data2); 1578s # 1578s # g_value_set_boolean (return_value, v_return); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ 1578s # * Code for interface org.project.UsefulInterface 1578s # * ------------------------------------------------------------------------ 1578s # */ 1578s # 1578s # /** 1578s # * SECTION:OrgProjectUsefulInterface 1578s # * @title: OrgProjectUsefulInterface 1578s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1578s # * 1578s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1578s # */ 1578s # 1578s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1578s # 1578s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "arg_s", 1578s # (gchar *) "s", 1578s # NULL 1578s # }, 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "SingleArgMethodS", 1578s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "handle-single-arg-method-s", 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "org.project.UsefulInterface", 1578s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1578s # NULL, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "org-project-useful-interface", 1578s # }; 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_interface_info: 1578s # * 1578s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1578s # * 1578s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1578s # */ 1578s # GDBusInterfaceInfo * 1578s # org_project_useful_interface_interface_info (void) 1578s # { 1578s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_override_properties: 1578s # * @klass: The class structure for a #GObject derived class. 1578s # * @property_id_begin: The property id to assign to the first overridden property. 1578s # * 1578s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1578s # * The properties are overridden in the order they are defined. 1578s # * 1578s # * Returns: The last property id. 1578s # */ 1578s # guint 1578s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1578s # { 1578s # return property_id_begin - 1; 1578s # } 1578s # 1578s # 1578s # inline static void 1578s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint, 1578s # void *marshal_data) 1578s # { 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1578s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1578s # } 1578s # 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterface: 1578s # * 1578s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceIface: 1578s # * @parent_iface: The parent interface. 1578s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1578s # * 1578s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1578s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1578s # 1578s # static void 1578s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1578s # { 1578s # /* GObject signals for incoming D-Bus method calls: */ 1578s # /** 1578s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: A #GDBusMethodInvocation. 1578s # * @arg_arg_s: Argument passed by remote caller. 1578s # * 1578s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1578s # * 1578s # * 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. 1578s # * 1578s # * 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. 1578s # */ 1578s # g_signal_new ("handle-single-arg-method-s", 1578s # G_TYPE_FROM_INTERFACE (iface), 1578s # G_SIGNAL_RUN_LAST, 1578s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1578s # g_signal_accumulator_true_handled, 1578s # NULL, 1578s # org_project_useful_interface_method_marshal_single_arg_method_s, 1578s # G_TYPE_BOOLEAN, 1578s # 2, 1578s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1578s # 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_s: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_s: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1578s # */ 1578s # void 1578s # org_project_useful_interface_call_single_arg_method_s ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # const gchar *arg_arg_s, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodS", 1578s # g_variant_new ("(s)", 1578s # arg_arg_s), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # callback, 1578s # user_data); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_s_finish: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_s_finish ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_s_sync: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_s: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_s_sync ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # const gchar *arg_arg_s, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodS", 1578s # g_variant_new ("(s)", 1578s # arg_arg_s), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_complete_single_arg_method_s: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1578s # * 1578s # * 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. 1578s # * 1578s # * This method will free @invocation, you cannot use it afterwards. 1578s # */ 1578s # void 1578s # org_project_useful_interface_complete_single_arg_method_s ( 1578s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1578s # GDBusMethodInvocation *invocation) 1578s # { 1578s # g_dbus_method_invocation_return_value (invocation, 1578s # g_variant_new ("()")); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxy: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxyClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceProxyPrivate 1578s # { 1578s # GData *qdata; 1578s # }; 1578s # 1578s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_proxy_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1578s # g_datalist_clear (&proxy->priv->qdata); 1578s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # const GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1578s # const gchar *sender_name G_GNUC_UNUSED, 1578s # const gchar *signal_name, 1578s # GVariant *parameters) 1578s # { 1578s # _ExtendedGDBusSignalInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # gsize n; 1578s # guint signal_id; 1578s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1578s # if (info == NULL) 1578s # return; 1578s # num_params = g_variant_n_children (parameters); 1578s # paramv = g_new0 (GValue, num_params + 1); 1578s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[0], proxy); 1578s # g_variant_iter_init (&iter, parameters); 1578s # n = 1; 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_signal_emitv (paramv, signal_id, 0, NULL); 1578s # for (n = 0; n < num_params + 1; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1578s # GVariant *changed_properties, 1578s # const gchar *const *invalidated_properties) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1578s # guint n; 1578s # const gchar *key; 1578s # GVariantIter *iter; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # g_variant_get (changed_properties, "a{sv}", &iter); 1578s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1578s # g_datalist_remove_data (&proxy->priv->qdata, key); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # g_variant_iter_free (iter); 1578s # for (n = 0; invalidated_properties[n] != NULL; n++) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1578s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1578s # #else 1578s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1578s # #endif 1578s # 1578s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusProxyClass *proxy_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1578s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1578s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1578s # 1578s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1578s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1578s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_sync: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_sync ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new_for_bus ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_sync: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_sync ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeleton: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeletonClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1578s # { 1578s # GValue *properties; 1578s # GList *changed_properties; 1578s # GSource *changed_properties_idle_source; 1578s # GMainContext *context; 1578s # GMutex lock; 1578s # }; 1578s # 1578s # static void 1578s # _org_project_useful_interface_skeleton_handle_method_call ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name, 1578s # const gchar *method_name, 1578s # GVariant *parameters, 1578s # GDBusMethodInvocation *invocation, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # _ExtendedGDBusMethodInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # guint num_extra; 1578s # gsize n; 1578s # guint signal_id; 1578s # GValue return_value = G_VALUE_INIT; 1578s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1578s # g_assert (info != NULL); 1578s # num_params = g_variant_n_children (parameters); 1578s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1578s # n = 0; 1578s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[n++], skeleton); 1578s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1578s # g_value_set_object (¶mv[n++], invocation); 1578s # if (info->pass_fdlist) 1578s # { 1578s # #ifdef G_OS_UNIX 1578s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1578s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1578s # #else 1578s # g_assert_not_reached (); 1578s # #endif 1578s # } 1578s # g_variant_iter_init (&iter, parameters); 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1578s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1578s # if (!g_value_get_boolean (&return_value)) 1578s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1578s # g_value_unset (&return_value); 1578s # for (n = 0; n < num_params + num_extra; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static GVariant * 1578s # _org_project_useful_interface_skeleton_handle_get_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # GVariant *ret; 1578s # ret = NULL; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # g_value_init (&value, pspec->value_type); 1578s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1578s # g_value_unset (&value); 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _org_project_useful_interface_skeleton_handle_set_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GVariant *variant, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # gboolean ret; 1578s # ret = FALSE; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # if (info->use_gvariant) 1578s # g_value_set_variant (&value, variant); 1578s # else 1578s # g_dbus_gvariant_to_gvalue (variant, &value); 1578s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # g_value_unset (&value); 1578s # ret = TRUE; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1578s # { 1578s # _org_project_useful_interface_skeleton_handle_method_call, 1578s # _org_project_useful_interface_skeleton_handle_get_property, 1578s # _org_project_useful_interface_skeleton_handle_set_property, 1578s # {NULL} 1578s # }; 1578s # 1578s # static GDBusInterfaceInfo * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return org_project_useful_interface_interface_info (); 1578s # } 1578s # 1578s # static GDBusInterfaceVTable * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1578s # } 1578s # 1578s # static GVariant * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1578s # 1578s # GVariantBuilder builder; 1578s # guint n; 1578s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1578s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1578s # goto out; 1578s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1578s # { 1578s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1578s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1578s # { 1578s # GVariant *value; 1578s # 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); 1578s # if (value != NULL) 1578s # { 1578s # g_variant_take_ref (value); 1578s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1578s # g_variant_unref (value); 1578s # } 1578s # } 1578s # } 1578s # out: 1578s # return g_variant_builder_end (&builder); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_skeleton_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1578s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1578s # if (skeleton->priv->changed_properties_idle_source != NULL) 1578s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1578s # g_main_context_unref (skeleton->priv->context); 1578s # g_mutex_clear (&skeleton->priv->lock); 1578s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1578s # #else 1578s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1578s # #endif 1578s # 1578s # g_mutex_init (&skeleton->priv->lock); 1578s # skeleton->priv->context = g_main_context_ref_thread_default (); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusInterfaceSkeletonClass *skeleton_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1578s # 1578s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1578s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1578s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1578s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1578s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_skeleton_new: 1578s # * 1578s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_skeleton_new (void) 1578s # { 1578s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1578s # } 1578s # /tmp/tmpv7ru1vhb/tmp_utg5c_a.xml: 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmp_utg5c_a.xml', '--output', '-', '--body'] 1578s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1578s # Output: /* 1578s # * This file is generated by gdbus-codegen, do not modify it. 1578s # * 1578s # * The license of this code is the same as for the D-Bus interface description 1578s # * it was derived from. Note that it links to GLib, so must comply with the 1578s # * LGPL linking clauses. 1578s # */ 1578s # 1578s # #ifdef HAVE_CONFIG_H 1578s # # include "config.h" 1578s # #endif 1578s # 1578s # #include 1578s # #ifdef G_OS_UNIX 1578s # # include 1578s # #endif 1578s # 1578s # #ifdef G_ENABLE_DEBUG 1578s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1578s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1578s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1578s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1578s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1578s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1578s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1578s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1578s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1578s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1578s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1578s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1578s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1578s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1578s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1578s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1578s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1578s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1578s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1578s # #else /* !G_ENABLE_DEBUG */ 1578s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1578s # * Do not access GValues directly in your code. Instead, use the 1578s # * g_value_get_*() functions 1578s # */ 1578s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1578s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1578s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1578s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1578s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1578s # #endif /* !G_ENABLE_DEBUG */ 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusArgInfo parent_struct; 1578s # gboolean use_gvariant; 1578s # } _ExtendedGDBusArgInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusMethodInfo parent_struct; 1578s # const gchar *signal_name; 1578s # gboolean pass_fdlist; 1578s # } _ExtendedGDBusMethodInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusSignalInfo parent_struct; 1578s # const gchar *signal_name; 1578s # } _ExtendedGDBusSignalInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusPropertyInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # guint use_gvariant : 1; 1578s # guint emits_changed_signal : 1; 1578s # } _ExtendedGDBusPropertyInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusInterfaceInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # } _ExtendedGDBusInterfaceInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # const _ExtendedGDBusPropertyInfo *info; 1578s # guint prop_id; 1578s # GValue orig_value; /* the value before the change */ 1578s # } ChangedProperty; 1578s # 1578s # static void 1578s # _changed_property_free (ChangedProperty *data) 1578s # { 1578s # g_value_unset (&data->orig_value); 1578s # g_free (data); 1578s # } 1578s # 1578s # static gboolean 1578s # _g_strv_equal0 (gchar **a, gchar **b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # guint n; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # if (g_strv_length (a) != g_strv_length (b)) 1578s # goto out; 1578s # for (n = 0; a[n] != NULL; n++) 1578s # if (g_strcmp0 (a[n], b[n]) != 0) 1578s # goto out; 1578s # ret = TRUE; 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _g_variant_equal0 (GVariant *a, GVariant *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # ret = g_variant_equal (a, b); 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # G_GNUC_UNUSED static gboolean 1578s # _g_value_equal (const GValue *a, const GValue *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1578s # switch (G_VALUE_TYPE (a)) 1578s # { 1578s # case G_TYPE_BOOLEAN: 1578s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1578s # break; 1578s # case G_TYPE_UCHAR: 1578s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1578s # break; 1578s # case G_TYPE_INT: 1578s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1578s # break; 1578s # case G_TYPE_UINT: 1578s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1578s # break; 1578s # case G_TYPE_INT64: 1578s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1578s # break; 1578s # case G_TYPE_UINT64: 1578s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1578s # break; 1578s # case G_TYPE_DOUBLE: 1578s # { 1578s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1578s # gdouble da = g_value_get_double (a); 1578s # gdouble db = g_value_get_double (b); 1578s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1578s # } 1578s # break; 1578s # case G_TYPE_STRING: 1578s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1578s # break; 1578s # case G_TYPE_VARIANT: 1578s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1578s # break; 1578s # default: 1578s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1578s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1578s # else 1578s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1578s # break; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static void 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint G_GNUC_UNUSED, 1578s # void *marshal_data) 1578s # { 1578s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1578s # (void *data1, 1578s # GDBusMethodInvocation *arg_method_invocation, 1578s # const gchar *arg_arg_o, 1578s # void *data2); 1578s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1578s # GCClosure *cc = (GCClosure*) closure; 1578s # void *data1, *data2; 1578s # gboolean v_return; 1578s # 1578s # g_return_if_fail (return_value != NULL); 1578s # g_return_if_fail (n_param_values == 3); 1578s # 1578s # if (G_CCLOSURE_SWAP_DATA (closure)) 1578s # { 1578s # data1 = closure->data; 1578s # data2 = g_value_peek_pointer (param_values + 0); 1578s # } 1578s # else 1578s # { 1578s # data1 = g_value_peek_pointer (param_values + 0); 1578s # data2 = closure->data; 1578s # } 1578s # 1578s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1578s # (marshal_data ? marshal_data : cc->callback); 1578s # 1578s # v_return = 1578s # callback (data1, 1578s # g_marshal_value_peek_object (param_values + 1), 1578s # g_marshal_value_peek_string (param_values + 2), 1578s # data2); 1578s # 1578s # g_value_set_boolean (return_value, v_return); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ 1578s # * Code for interface org.project.UsefulInterface 1578s # * ------------------------------------------------------------------------ 1578s # */ 1578s # 1578s # /** 1578s # * SECTION:OrgProjectUsefulInterface 1578s # * @title: OrgProjectUsefulInterface 1578s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1578s # * 1578s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1578s # */ 1578s # 1578s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1578s # 1578s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "arg_o", 1578s # (gchar *) "o", 1578s # NULL 1578s # }, 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "SingleArgMethodO", 1578s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "handle-single-arg-method-o", 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "org.project.UsefulInterface", 1578s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1578s # NULL, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "org-project-useful-interface", 1578s # }; 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_interface_info: 1578s # * 1578s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1578s # * 1578s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1578s # */ 1578s # GDBusInterfaceInfo * 1578s # org_project_useful_interface_interface_info (void) 1578s # { 1578s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_override_properties: 1578s # * @klass: The class structure for a #GObject derived class. 1578s # * @property_id_begin: The property id to assign to the first overridden property. 1578s # * 1578s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1578s # * The properties are overridden in the order they are defined. 1578s # * 1578s # * Returns: The last property id. 1578s # */ 1578s # guint 1578s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1578s # { 1578s # return property_id_begin - 1; 1578s # } 1578s # 1578s # 1578s # inline static void 1578s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint, 1578s # void *marshal_data) 1578s # { 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1578s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1578s # } 1578s # 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterface: 1578s # * 1578s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceIface: 1578s # * @parent_iface: The parent interface. 1578s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1578s # * 1578s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1578s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1578s # 1578s # static void 1578s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1578s # { 1578s # /* GObject signals for incoming D-Bus method calls: */ 1578s # /** 1578s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: A #GDBusMethodInvocation. 1578s # * @arg_arg_o: Argument passed by remote caller. 1578s # * 1578s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1578s # * 1578s # * 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. 1578s # * 1578s # * 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. 1578s # */ 1578s # g_signal_new ("handle-single-arg-method-o", 1578s # G_TYPE_FROM_INTERFACE (iface), 1578s # G_SIGNAL_RUN_LAST, 1578s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1578s # g_signal_accumulator_true_handled, 1578s # NULL, 1578s # org_project_useful_interface_method_marshal_single_arg_method_o, 1578s # G_TYPE_BOOLEAN, 1578s # 2, 1578s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1578s # 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_o: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_o: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1578s # */ 1578s # void 1578s # org_project_useful_interface_call_single_arg_method_o ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # const gchar *arg_arg_o, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodO", 1578s # g_variant_new ("(o)", 1578s # arg_arg_o), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # callback, 1578s # user_data); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_o_finish: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_o_finish ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_o_sync: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_o: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_o_sync ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # const gchar *arg_arg_o, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodO", 1578s # g_variant_new ("(o)", 1578s # arg_arg_o), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_complete_single_arg_method_o: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1578s # * 1578s # * 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. 1578s # * 1578s # * This method will free @invocation, you cannot use it afterwards. 1578s # */ 1578s # void 1578s # org_project_useful_interface_complete_single_arg_method_o ( 1578s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1578s # GDBusMethodInvocation *invocation) 1578s # { 1578s # g_dbus_method_invocation_return_value (invocation, 1578s # g_variant_new ("()")); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxy: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxyClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceProxyPrivate 1578s # { 1578s # GData *qdata; 1578s # }; 1578s # 1578s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_proxy_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1578s # g_datalist_clear (&proxy->priv->qdata); 1578s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # const GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1578s # const gchar *sender_name G_GNUC_UNUSED, 1578s # const gchar *signal_name, 1578s # GVariant *parameters) 1578s # { 1578s # _ExtendedGDBusSignalInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # gsize n; 1578s # guint signal_id; 1578s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1578s # if (info == NULL) 1578s # return; 1578s # num_params = g_variant_n_children (parameters); 1578s # paramv = g_new0 (GValue, num_params + 1); 1578s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[0], proxy); 1578s # g_variant_iter_init (&iter, parameters); 1578s # n = 1; 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_signal_emitv (paramv, signal_id, 0, NULL); 1578s # for (n = 0; n < num_params + 1; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1578s # GVariant *changed_properties, 1578s # const gchar *const *invalidated_properties) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1578s # guint n; 1578s # const gchar *key; 1578s # GVariantIter *iter; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # g_variant_get (changed_properties, "a{sv}", &iter); 1578s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1578s # g_datalist_remove_data (&proxy->priv->qdata, key); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # g_variant_iter_free (iter); 1578s # for (n = 0; invalidated_properties[n] != NULL; n++) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1578s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1578s # #else 1578s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1578s # #endif 1578s # 1578s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusProxyClass *proxy_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1578s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1578s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1578s # 1578s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1578s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1578s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_sync: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_sync ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new_for_bus ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_sync: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_sync ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeleton: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeletonClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1578s # { 1578s # GValue *properties; 1578s # GList *changed_properties; 1578s # GSource *changed_properties_idle_source; 1578s # GMainContext *context; 1578s # GMutex lock; 1578s # }; 1578s # 1578s # static void 1578s # _org_project_useful_interface_skeleton_handle_method_call ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name, 1578s # const gchar *method_name, 1578s # GVariant *parameters, 1578s # GDBusMethodInvocation *invocation, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # _ExtendedGDBusMethodInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # guint num_extra; 1578s # gsize n; 1578s # guint signal_id; 1578s # GValue return_value = G_VALUE_INIT; 1578s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1578s # g_assert (info != NULL); 1578s # num_params = g_variant_n_children (parameters); 1578s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1578s # n = 0; 1578s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[n++], skeleton); 1578s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1578s # g_value_set_object (¶mv[n++], invocation); 1578s # if (info->pass_fdlist) 1578s # { 1578s # #ifdef G_OS_UNIX 1578s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1578s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1578s # #else 1578s # g_assert_not_reached (); 1578s # #endif 1578s # } 1578s # g_variant_iter_init (&iter, parameters); 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1578s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1578s # if (!g_value_get_boolean (&return_value)) 1578s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1578s # g_value_unset (&return_value); 1578s # for (n = 0; n < num_params + num_extra; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static GVariant * 1578s # _org_project_useful_interface_skeleton_handle_get_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # GVariant *ret; 1578s # ret = NULL; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # g_value_init (&value, pspec->value_type); 1578s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1578s # g_value_unset (&value); 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _org_project_useful_interface_skeleton_handle_set_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GVariant *variant, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # gboolean ret; 1578s # ret = FALSE; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # if (info->use_gvariant) 1578s # g_value_set_variant (&value, variant); 1578s # else 1578s # g_dbus_gvariant_to_gvalue (variant, &value); 1578s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # g_value_unset (&value); 1578s # ret = TRUE; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1578s # { 1578s # _org_project_useful_interface_skeleton_handle_method_call, 1578s # _org_project_useful_interface_skeleton_handle_get_property, 1578s # _org_project_useful_interface_skeleton_handle_set_property, 1578s # {NULL} 1578s # }; 1578s # 1578s # static GDBusInterfaceInfo * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return org_project_useful_interface_interface_info (); 1578s # } 1578s # 1578s # static GDBusInterfaceVTable * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1578s # } 1578s # 1578s # static GVariant * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1578s # 1578s # GVariantBuilder builder; 1578s # guint n; 1578s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1578s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1578s # goto out; 1578s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1578s # { 1578s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1578s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1578s # { 1578s # GVariant *value; 1578s # 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); 1578s # if (value != NULL) 1578s # { 1578s # g_variant_take_ref (value); 1578s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1578s # g_variant_unref (value); 1578s # } 1578s # } 1578s # } 1578s # out: 1578s # return g_variant_builder_end (&builder); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_skeleton_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1578s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1578s # if (skeleton->priv->changed_properties_idle_source != NULL) 1578s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1578s # g_main_context_unref (skeleton->priv->context); 1578s # g_mutex_clear (&skeleton->priv->lock); 1578s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1578s # #else 1578s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1578s # #endif 1578s # 1578s # g_mutex_init (&skeleton->priv->lock); 1578s # skeleton->priv->context = g_main_context_ref_thread_default (); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusInterfaceSkeletonClass *skeleton_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1578s # 1578s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1578s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1578s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1578s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1578s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_skeleton_new: 1578s # * 1578s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_skeleton_new (void) 1578s # { 1578s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1578s # } 1578s # /tmp/tmpv7ru1vhb/tmpoj8lv_r5.xml: 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmpoj8lv_r5.xml', '--output', '-', '--body'] 1578s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1578s # Output: /* 1578s # * This file is generated by gdbus-codegen, do not modify it. 1578s # * 1578s # * The license of this code is the same as for the D-Bus interface description 1578s # * it was derived from. Note that it links to GLib, so must comply with the 1578s # * LGPL linking clauses. 1578s # */ 1578s # 1578s # #ifdef HAVE_CONFIG_H 1578s # # include "config.h" 1578s # #endif 1578s # 1578s # #include 1578s # #ifdef G_OS_UNIX 1578s # # include 1578s # #endif 1578s # 1578s # #ifdef G_ENABLE_DEBUG 1578s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1578s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1578s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1578s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1578s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1578s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1578s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1578s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1578s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1578s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1578s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1578s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1578s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1578s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1578s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1578s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1578s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1578s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1578s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1578s # #else /* !G_ENABLE_DEBUG */ 1578s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1578s # * Do not access GValues directly in your code. Instead, use the 1578s # * g_value_get_*() functions 1578s # */ 1578s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1578s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1578s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1578s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1578s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1578s # #endif /* !G_ENABLE_DEBUG */ 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusArgInfo parent_struct; 1578s # gboolean use_gvariant; 1578s # } _ExtendedGDBusArgInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusMethodInfo parent_struct; 1578s # const gchar *signal_name; 1578s # gboolean pass_fdlist; 1578s # } _ExtendedGDBusMethodInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusSignalInfo parent_struct; 1578s # const gchar *signal_name; 1578s # } _ExtendedGDBusSignalInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusPropertyInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # guint use_gvariant : 1; 1578s # guint emits_changed_signal : 1; 1578s # } _ExtendedGDBusPropertyInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusInterfaceInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # } _ExtendedGDBusInterfaceInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # const _ExtendedGDBusPropertyInfo *info; 1578s # guint prop_id; 1578s # GValue orig_value; /* the value before the change */ 1578s # } ChangedProperty; 1578s # 1578s # static void 1578s # _changed_property_free (ChangedProperty *data) 1578s # { 1578s # g_value_unset (&data->orig_value); 1578s # g_free (data); 1578s # } 1578s # 1578s # static gboolean 1578s # _g_strv_equal0 (gchar **a, gchar **b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # guint n; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # if (g_strv_length (a) != g_strv_length (b)) 1578s # goto out; 1578s # for (n = 0; a[n] != NULL; n++) 1578s # if (g_strcmp0 (a[n], b[n]) != 0) 1578s # goto out; 1578s # ret = TRUE; 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _g_variant_equal0 (GVariant *a, GVariant *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # ret = g_variant_equal (a, b); 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # G_GNUC_UNUSED static gboolean 1578s # _g_value_equal (const GValue *a, const GValue *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1578s # switch (G_VALUE_TYPE (a)) 1578s # { 1578s # case G_TYPE_BOOLEAN: 1578s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1578s # break; 1578s # case G_TYPE_UCHAR: 1578s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1578s # break; 1578s # case G_TYPE_INT: 1578s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1578s # break; 1578s # case G_TYPE_UINT: 1578s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1578s # break; 1578s # case G_TYPE_INT64: 1578s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1578s # break; 1578s # case G_TYPE_UINT64: 1578s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1578s # break; 1578s # case G_TYPE_DOUBLE: 1578s # { 1578s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1578s # gdouble da = g_value_get_double (a); 1578s # gdouble db = g_value_get_double (b); 1578s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1578s # } 1578s # break; 1578s # case G_TYPE_STRING: 1578s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1578s # break; 1578s # case G_TYPE_VARIANT: 1578s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1578s # break; 1578s # default: 1578s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1578s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1578s # else 1578s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1578s # break; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static void 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint G_GNUC_UNUSED, 1578s # void *marshal_data) 1578s # { 1578s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1578s # (void *data1, 1578s # GDBusMethodInvocation *arg_method_invocation, 1578s # const gchar *arg_arg_g, 1578s # void *data2); 1578s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1578s # GCClosure *cc = (GCClosure*) closure; 1578s # void *data1, *data2; 1578s # gboolean v_return; 1578s # 1578s # g_return_if_fail (return_value != NULL); 1578s # g_return_if_fail (n_param_values == 3); 1578s # 1578s # if (G_CCLOSURE_SWAP_DATA (closure)) 1578s # { 1578s # data1 = closure->data; 1578s # data2 = g_value_peek_pointer (param_values + 0); 1578s # } 1578s # else 1578s # { 1578s # data1 = g_value_peek_pointer (param_values + 0); 1578s # data2 = closure->data; 1578s # } 1578s # 1578s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1578s # (marshal_data ? marshal_data : cc->callback); 1578s # 1578s # v_return = 1578s # callback (data1, 1578s # g_marshal_value_peek_object (param_values + 1), 1578s # g_marshal_value_peek_string (param_values + 2), 1578s # data2); 1578s # 1578s # g_value_set_boolean (return_value, v_return); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ 1578s # * Code for interface org.project.UsefulInterface 1578s # * ------------------------------------------------------------------------ 1578s # */ 1578s # 1578s # /** 1578s # * SECTION:OrgProjectUsefulInterface 1578s # * @title: OrgProjectUsefulInterface 1578s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1578s # * 1578s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1578s # */ 1578s # 1578s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1578s # 1578s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "arg_g", 1578s # (gchar *) "g", 1578s # NULL 1578s # }, 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "SingleArgMethodG", 1578s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "handle-single-arg-method-g", 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "org.project.UsefulInterface", 1578s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1578s # NULL, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "org-project-useful-interface", 1578s # }; 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_interface_info: 1578s # * 1578s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1578s # * 1578s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1578s # */ 1578s # GDBusInterfaceInfo * 1578s # org_project_useful_interface_interface_info (void) 1578s # { 1578s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_override_properties: 1578s # * @klass: The class structure for a #GObject derived class. 1578s # * @property_id_begin: The property id to assign to the first overridden property. 1578s # * 1578s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1578s # * The properties are overridden in the order they are defined. 1578s # * 1578s # * Returns: The last property id. 1578s # */ 1578s # guint 1578s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1578s # { 1578s # return property_id_begin - 1; 1578s # } 1578s # 1578s # 1578s # inline static void 1578s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint, 1578s # void *marshal_data) 1578s # { 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1578s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1578s # } 1578s # 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterface: 1578s # * 1578s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceIface: 1578s # * @parent_iface: The parent interface. 1578s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1578s # * 1578s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1578s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1578s # 1578s # static void 1578s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1578s # { 1578s # /* GObject signals for incoming D-Bus method calls: */ 1578s # /** 1578s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: A #GDBusMethodInvocation. 1578s # * @arg_arg_g: Argument passed by remote caller. 1578s # * 1578s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1578s # * 1578s # * 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. 1578s # * 1578s # * 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. 1578s # */ 1578s # g_signal_new ("handle-single-arg-method-g", 1578s # G_TYPE_FROM_INTERFACE (iface), 1578s # G_SIGNAL_RUN_LAST, 1578s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1578s # g_signal_accumulator_true_handled, 1578s # NULL, 1578s # org_project_useful_interface_method_marshal_single_arg_method_g, 1578s # G_TYPE_BOOLEAN, 1578s # 2, 1578s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1578s # 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_g: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_g: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1578s # */ 1578s # void 1578s # org_project_useful_interface_call_single_arg_method_g ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # const gchar *arg_arg_g, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodG", 1578s # g_variant_new ("(g)", 1578s # arg_arg_g), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # callback, 1578s # user_data); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_g_finish: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_g_finish ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_g_sync: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_g: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_g_sync ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # const gchar *arg_arg_g, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodG", 1578s # g_variant_new ("(g)", 1578s # arg_arg_g), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_complete_single_arg_method_g: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1578s # * 1578s # * 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. 1578s # * 1578s # * This method will free @invocation, you cannot use it afterwards. 1578s # */ 1578s # void 1578s # org_project_useful_interface_complete_single_arg_method_g ( 1578s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1578s # GDBusMethodInvocation *invocation) 1578s # { 1578s # g_dbus_method_invocation_return_value (invocation, 1578s # g_variant_new ("()")); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxy: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxyClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceProxyPrivate 1578s # { 1578s # GData *qdata; 1578s # }; 1578s # 1578s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_proxy_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1578s # g_datalist_clear (&proxy->priv->qdata); 1578s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # const GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1578s # const gchar *sender_name G_GNUC_UNUSED, 1578s # const gchar *signal_name, 1578s # GVariant *parameters) 1578s # { 1578s # _ExtendedGDBusSignalInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # gsize n; 1578s # guint signal_id; 1578s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1578s # if (info == NULL) 1578s # return; 1578s # num_params = g_variant_n_children (parameters); 1578s # paramv = g_new0 (GValue, num_params + 1); 1578s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[0], proxy); 1578s # g_variant_iter_init (&iter, parameters); 1578s # n = 1; 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_signal_emitv (paramv, signal_id, 0, NULL); 1578s # for (n = 0; n < num_params + 1; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1578s # GVariant *changed_properties, 1578s # const gchar *const *invalidated_properties) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1578s # guint n; 1578s # const gchar *key; 1578s # GVariantIter *iter; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # g_variant_get (changed_properties, "a{sv}", &iter); 1578s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1578s # g_datalist_remove_data (&proxy->priv->qdata, key); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # g_variant_iter_free (iter); 1578s # for (n = 0; invalidated_properties[n] != NULL; n++) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1578s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1578s # #else 1578s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1578s # #endif 1578s # 1578s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusProxyClass *proxy_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1578s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1578s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1578s # 1578s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1578s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1578s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_sync: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_sync ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new_for_bus ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_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); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_finish: 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_finish ( 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GObject *ret; 1578s # GObject *source_object; 1578s # source_object = g_async_result_get_source_object (res); 1578s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1578s # g_object_unref (source_object); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new_for_bus_sync: 1578s # * @bus_type: A #GBusType. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: A bus name (well-known or unique). 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL 1578s # * 1578s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1578s # * 1578s # * The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_proxy_new_for_bus_sync ( 1578s # GBusType bus_type, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1578s # const gchar *object_path, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GInitable *ret; 1578s # 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); 1578s # if (ret != NULL) 1578s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1578s # else 1578s # return NULL; 1578s # } 1578s # 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeleton: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceSkeletonClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1578s # { 1578s # GValue *properties; 1578s # GList *changed_properties; 1578s # GSource *changed_properties_idle_source; 1578s # GMainContext *context; 1578s # GMutex lock; 1578s # }; 1578s # 1578s # static void 1578s # _org_project_useful_interface_skeleton_handle_method_call ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name, 1578s # const gchar *method_name, 1578s # GVariant *parameters, 1578s # GDBusMethodInvocation *invocation, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # _ExtendedGDBusMethodInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # guint num_extra; 1578s # gsize n; 1578s # guint signal_id; 1578s # GValue return_value = G_VALUE_INIT; 1578s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1578s # g_assert (info != NULL); 1578s # num_params = g_variant_n_children (parameters); 1578s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1578s # n = 0; 1578s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[n++], skeleton); 1578s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1578s # g_value_set_object (¶mv[n++], invocation); 1578s # if (info->pass_fdlist) 1578s # { 1578s # #ifdef G_OS_UNIX 1578s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1578s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1578s # #else 1578s # g_assert_not_reached (); 1578s # #endif 1578s # } 1578s # g_variant_iter_init (&iter, parameters); 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1578s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1578s # if (!g_value_get_boolean (&return_value)) 1578s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1578s # g_value_unset (&return_value); 1578s # for (n = 0; n < num_params + num_extra; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static GVariant * 1578s # _org_project_useful_interface_skeleton_handle_get_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # GVariant *ret; 1578s # ret = NULL; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # g_value_init (&value, pspec->value_type); 1578s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1578s # g_value_unset (&value); 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _org_project_useful_interface_skeleton_handle_set_property ( 1578s # GDBusConnection *connection G_GNUC_UNUSED, 1578s # const gchar *sender G_GNUC_UNUSED, 1578s # const gchar *object_path G_GNUC_UNUSED, 1578s # const gchar *interface_name G_GNUC_UNUSED, 1578s # const gchar *property_name, 1578s # GVariant *variant, 1578s # GError **error, 1578s # gpointer user_data) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1578s # GValue value = G_VALUE_INIT; 1578s # GParamSpec *pspec; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # gboolean ret; 1578s # ret = FALSE; 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1578s # g_assert (info != NULL); 1578s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1578s # if (pspec == NULL) 1578s # { 1578s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1578s # } 1578s # else 1578s # { 1578s # if (info->use_gvariant) 1578s # g_value_set_variant (&value, variant); 1578s # else 1578s # g_dbus_gvariant_to_gvalue (variant, &value); 1578s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1578s # g_value_unset (&value); 1578s # ret = TRUE; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1578s # { 1578s # _org_project_useful_interface_skeleton_handle_method_call, 1578s # _org_project_useful_interface_skeleton_handle_get_property, 1578s # _org_project_useful_interface_skeleton_handle_set_property, 1578s # {NULL} 1578s # }; 1578s # 1578s # static GDBusInterfaceInfo * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return org_project_useful_interface_interface_info (); 1578s # } 1578s # 1578s # static GDBusInterfaceVTable * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1578s # { 1578s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1578s # } 1578s # 1578s # static GVariant * 1578s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1578s # 1578s # GVariantBuilder builder; 1578s # guint n; 1578s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1578s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1578s # goto out; 1578s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1578s # { 1578s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1578s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1578s # { 1578s # GVariant *value; 1578s # 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); 1578s # if (value != NULL) 1578s # { 1578s # g_variant_take_ref (value); 1578s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1578s # g_variant_unref (value); 1578s # } 1578s # } 1578s # } 1578s # out: 1578s # return g_variant_builder_end (&builder); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_skeleton_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1578s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1578s # if (skeleton->priv->changed_properties_idle_source != NULL) 1578s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1578s # g_main_context_unref (skeleton->priv->context); 1578s # g_mutex_clear (&skeleton->priv->lock); 1578s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1578s # #else 1578s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1578s # #endif 1578s # 1578s # g_mutex_init (&skeleton->priv->lock); 1578s # skeleton->priv->context = g_main_context_ref_thread_default (); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusInterfaceSkeletonClass *skeleton_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1578s # 1578s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1578s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1578s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1578s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1578s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_skeleton_new: 1578s # * 1578s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1578s # * 1578s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1578s # */ 1578s # OrgProjectUsefulInterface * 1578s # org_project_useful_interface_skeleton_new (void) 1578s # { 1578s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1578s # } 1578s # /tmp/tmpv7ru1vhb/tmphvqcaj1z.xml: 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # 1578s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmphvqcaj1z.xml', '--output', '-', '--body'] 1578s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1578s # Output: /* 1578s # * This file is generated by gdbus-codegen, do not modify it. 1578s # * 1578s # * The license of this code is the same as for the D-Bus interface description 1578s # * it was derived from. Note that it links to GLib, so must comply with the 1578s # * LGPL linking clauses. 1578s # */ 1578s # 1578s # #ifdef HAVE_CONFIG_H 1578s # # include "config.h" 1578s # #endif 1578s # 1578s # #include 1578s # #ifdef G_OS_UNIX 1578s # # include 1578s # #endif 1578s # 1578s # #ifdef G_ENABLE_DEBUG 1578s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1578s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1578s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1578s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1578s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1578s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1578s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1578s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1578s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1578s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1578s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1578s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1578s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1578s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1578s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1578s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1578s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1578s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1578s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1578s # #else /* !G_ENABLE_DEBUG */ 1578s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1578s # * Do not access GValues directly in your code. Instead, use the 1578s # * g_value_get_*() functions 1578s # */ 1578s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1578s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1578s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1578s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1578s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1578s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1578s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1578s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1578s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1578s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1578s # #endif /* !G_ENABLE_DEBUG */ 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusArgInfo parent_struct; 1578s # gboolean use_gvariant; 1578s # } _ExtendedGDBusArgInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusMethodInfo parent_struct; 1578s # const gchar *signal_name; 1578s # gboolean pass_fdlist; 1578s # } _ExtendedGDBusMethodInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusSignalInfo parent_struct; 1578s # const gchar *signal_name; 1578s # } _ExtendedGDBusSignalInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusPropertyInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # guint use_gvariant : 1; 1578s # guint emits_changed_signal : 1; 1578s # } _ExtendedGDBusPropertyInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # GDBusInterfaceInfo parent_struct; 1578s # const gchar *hyphen_name; 1578s # } _ExtendedGDBusInterfaceInfo; 1578s # 1578s # typedef struct 1578s # { 1578s # const _ExtendedGDBusPropertyInfo *info; 1578s # guint prop_id; 1578s # GValue orig_value; /* the value before the change */ 1578s # } ChangedProperty; 1578s # 1578s # static void 1578s # _changed_property_free (ChangedProperty *data) 1578s # { 1578s # g_value_unset (&data->orig_value); 1578s # g_free (data); 1578s # } 1578s # 1578s # static gboolean 1578s # _g_strv_equal0 (gchar **a, gchar **b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # guint n; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # if (g_strv_length (a) != g_strv_length (b)) 1578s # goto out; 1578s # for (n = 0; a[n] != NULL; n++) 1578s # if (g_strcmp0 (a[n], b[n]) != 0) 1578s # goto out; 1578s # ret = TRUE; 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # static gboolean 1578s # _g_variant_equal0 (GVariant *a, GVariant *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # if (a == NULL && b == NULL) 1578s # { 1578s # ret = TRUE; 1578s # goto out; 1578s # } 1578s # if (a == NULL || b == NULL) 1578s # goto out; 1578s # ret = g_variant_equal (a, b); 1578s # out: 1578s # return ret; 1578s # } 1578s # 1578s # G_GNUC_UNUSED static gboolean 1578s # _g_value_equal (const GValue *a, const GValue *b) 1578s # { 1578s # gboolean ret = FALSE; 1578s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1578s # switch (G_VALUE_TYPE (a)) 1578s # { 1578s # case G_TYPE_BOOLEAN: 1578s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1578s # break; 1578s # case G_TYPE_UCHAR: 1578s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1578s # break; 1578s # case G_TYPE_INT: 1578s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1578s # break; 1578s # case G_TYPE_UINT: 1578s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1578s # break; 1578s # case G_TYPE_INT64: 1578s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1578s # break; 1578s # case G_TYPE_UINT64: 1578s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1578s # break; 1578s # case G_TYPE_DOUBLE: 1578s # { 1578s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1578s # gdouble da = g_value_get_double (a); 1578s # gdouble db = g_value_get_double (b); 1578s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1578s # } 1578s # break; 1578s # case G_TYPE_STRING: 1578s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1578s # break; 1578s # case G_TYPE_VARIANT: 1578s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1578s # break; 1578s # default: 1578s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1578s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1578s # else 1578s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1578s # break; 1578s # } 1578s # return ret; 1578s # } 1578s # 1578s # static void 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint G_GNUC_UNUSED, 1578s # void *marshal_data) 1578s # { 1578s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1578s # (void *data1, 1578s # GDBusMethodInvocation *arg_method_invocation, 1578s # GVariant *arg_arg_h, 1578s # void *data2); 1578s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1578s # GCClosure *cc = (GCClosure*) closure; 1578s # void *data1, *data2; 1578s # gboolean v_return; 1578s # 1578s # g_return_if_fail (return_value != NULL); 1578s # g_return_if_fail (n_param_values == 3); 1578s # 1578s # if (G_CCLOSURE_SWAP_DATA (closure)) 1578s # { 1578s # data1 = closure->data; 1578s # data2 = g_value_peek_pointer (param_values + 0); 1578s # } 1578s # else 1578s # { 1578s # data1 = g_value_peek_pointer (param_values + 0); 1578s # data2 = closure->data; 1578s # } 1578s # 1578s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1578s # (marshal_data ? marshal_data : cc->callback); 1578s # 1578s # v_return = 1578s # callback (data1, 1578s # g_marshal_value_peek_object (param_values + 1), 1578s # g_marshal_value_peek_variant (param_values + 2), 1578s # data2); 1578s # 1578s # g_value_set_boolean (return_value, v_return); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ 1578s # * Code for interface org.project.UsefulInterface 1578s # * ------------------------------------------------------------------------ 1578s # */ 1578s # 1578s # /** 1578s # * SECTION:OrgProjectUsefulInterface 1578s # * @title: OrgProjectUsefulInterface 1578s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1578s # * 1578s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1578s # */ 1578s # 1578s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1578s # 1578s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "arg_h", 1578s # (gchar *) "h", 1578s # NULL 1578s # }, 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "SingleArgMethodH", 1578s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "handle-single-arg-method-h", 1578s # FALSE 1578s # }; 1578s # 1578s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1578s # { 1578s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1578s # NULL 1578s # }; 1578s # 1578s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1578s # { 1578s # { 1578s # -1, 1578s # (gchar *) "org.project.UsefulInterface", 1578s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1578s # NULL, 1578s # NULL, 1578s # NULL 1578s # }, 1578s # "org-project-useful-interface", 1578s # }; 1578s # 1578s # 1578s # /** 1578s # * org_project_useful_interface_interface_info: 1578s # * 1578s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1578s # * 1578s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1578s # */ 1578s # GDBusInterfaceInfo * 1578s # org_project_useful_interface_interface_info (void) 1578s # { 1578s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_override_properties: 1578s # * @klass: The class structure for a #GObject derived class. 1578s # * @property_id_begin: The property id to assign to the first overridden property. 1578s # * 1578s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1578s # * The properties are overridden in the order they are defined. 1578s # * 1578s # * Returns: The last property id. 1578s # */ 1578s # guint 1578s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1578s # { 1578s # return property_id_begin - 1; 1578s # } 1578s # 1578s # 1578s # inline static void 1578s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1578s # GClosure *closure, 1578s # GValue *return_value, 1578s # unsigned int n_param_values, 1578s # const GValue *param_values, 1578s # void *invocation_hint, 1578s # void *marshal_data) 1578s # { 1578s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1578s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1578s # } 1578s # 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterface: 1578s # * 1578s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceIface: 1578s # * @parent_iface: The parent interface. 1578s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1578s # * 1578s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1578s # */ 1578s # 1578s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1578s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1578s # 1578s # static void 1578s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1578s # { 1578s # /* GObject signals for incoming D-Bus method calls: */ 1578s # /** 1578s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: A #GDBusMethodInvocation. 1578s # * @arg_arg_h: Argument passed by remote caller. 1578s # * 1578s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1578s # * 1578s # * 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. 1578s # * 1578s # * 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. 1578s # */ 1578s # g_signal_new ("handle-single-arg-method-h", 1578s # G_TYPE_FROM_INTERFACE (iface), 1578s # G_SIGNAL_RUN_LAST, 1578s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1578s # g_signal_accumulator_true_handled, 1578s # NULL, 1578s # org_project_useful_interface_method_marshal_single_arg_method_h, 1578s # G_TYPE_BOOLEAN, 1578s # 2, 1578s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1578s # 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_h: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_h: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1578s # */ 1578s # void 1578s # org_project_useful_interface_call_single_arg_method_h ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GVariant *arg_arg_h, 1578s # GCancellable *cancellable, 1578s # GAsyncReadyCallback callback, 1578s # gpointer user_data) 1578s # { 1578s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodH", 1578s # g_variant_new ("(@h)", 1578s # arg_arg_h), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # callback, 1578s # user_data); 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_h_finish: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_h_finish ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GAsyncResult *res, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_call_single_arg_method_h_sync: 1578s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1578s # * @arg_arg_h: Argument to pass with the method invocation. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @error: Return location for error or %NULL. 1578s # * 1578s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1578s # * 1578s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1578s # * 1578s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1578s # */ 1578s # gboolean 1578s # org_project_useful_interface_call_single_arg_method_h_sync ( 1578s # OrgProjectUsefulInterface *proxy, 1578s # GVariant *arg_arg_h, 1578s # GCancellable *cancellable, 1578s # GError **error) 1578s # { 1578s # GVariant *_ret; 1578s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1578s # "SingleArgMethodH", 1578s # g_variant_new ("(@h)", 1578s # arg_arg_h), 1578s # G_DBUS_CALL_FLAGS_NONE, 1578s # -1, 1578s # cancellable, 1578s # error); 1578s # if (_ret == NULL) 1578s # goto _out; 1578s # g_variant_get (_ret, 1578s # "()"); 1578s # g_variant_unref (_ret); 1578s # _out: 1578s # return _ret != NULL; 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_complete_single_arg_method_h: 1578s # * @object: A #OrgProjectUsefulInterface. 1578s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1578s # * 1578s # * 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. 1578s # * 1578s # * This method will free @invocation, you cannot use it afterwards. 1578s # */ 1578s # void 1578s # org_project_useful_interface_complete_single_arg_method_h ( 1578s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1578s # GDBusMethodInvocation *invocation) 1578s # { 1578s # g_dbus_method_invocation_return_value (invocation, 1578s # g_variant_new ("()")); 1578s # } 1578s # 1578s # /* ------------------------------------------------------------------------ */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxy: 1578s # * 1578s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1578s # */ 1578s # 1578s # /** 1578s # * OrgProjectUsefulInterfaceProxyClass: 1578s # * @parent_class: The parent class. 1578s # * 1578s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1578s # */ 1578s # 1578s # struct _OrgProjectUsefulInterfaceProxyPrivate 1578s # { 1578s # GData *qdata; 1578s # }; 1578s # 1578s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #else 1578s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1578s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1578s # 1578s # #endif 1578s # static void 1578s # org_project_useful_interface_proxy_finalize (GObject *object) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1578s # g_datalist_clear (&proxy->priv->qdata); 1578s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1578s # guint prop_id G_GNUC_UNUSED, 1578s # const GValue *value G_GNUC_UNUSED, 1578s # GParamSpec *pspec G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1578s # const gchar *sender_name G_GNUC_UNUSED, 1578s # const gchar *signal_name, 1578s # GVariant *parameters) 1578s # { 1578s # _ExtendedGDBusSignalInfo *info; 1578s # GVariantIter iter; 1578s # GVariant *child; 1578s # GValue *paramv; 1578s # gsize num_params; 1578s # gsize n; 1578s # guint signal_id; 1578s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1578s # if (info == NULL) 1578s # return; 1578s # num_params = g_variant_n_children (parameters); 1578s # paramv = g_new0 (GValue, num_params + 1); 1578s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_value_set_object (¶mv[0], proxy); 1578s # g_variant_iter_init (&iter, parameters); 1578s # n = 1; 1578s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1578s # { 1578s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1578s # if (arg_info->use_gvariant) 1578s # { 1578s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1578s # g_value_set_variant (¶mv[n], child); 1578s # n++; 1578s # } 1578s # else 1578s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1578s # g_variant_unref (child); 1578s # } 1578s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1578s # g_signal_emitv (paramv, signal_id, 0, NULL); 1578s # for (n = 0; n < num_params + 1; n++) 1578s # g_value_unset (¶mv[n]); 1578s # g_free (paramv); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1578s # GVariant *changed_properties, 1578s # const gchar *const *invalidated_properties) 1578s # { 1578s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1578s # guint n; 1578s # const gchar *key; 1578s # GVariantIter *iter; 1578s # _ExtendedGDBusPropertyInfo *info; 1578s # g_variant_get (changed_properties, "a{sv}", &iter); 1578s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1578s # g_datalist_remove_data (&proxy->priv->qdata, key); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # g_variant_iter_free (iter); 1578s # for (n = 0; invalidated_properties[n] != NULL; n++) 1578s # { 1578s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1578s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1578s # if (info != NULL) 1578s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1578s # } 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1578s # { 1578s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1578s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1578s # #else 1578s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1578s # #endif 1578s # 1578s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1578s # { 1578s # GObjectClass *gobject_class; 1578s # GDBusProxyClass *proxy_class; 1578s # 1578s # gobject_class = G_OBJECT_CLASS (klass); 1578s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1578s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1578s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1578s # 1578s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1578s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1578s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1578s # 1578s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1578s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1578s # #endif 1578s # } 1578s # 1578s # static void 1578s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1578s # { 1578s # } 1578s # 1578s # /** 1578s # * org_project_useful_interface_proxy_new: 1578s # * @connection: A #GDBusConnection. 1578s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1578s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1578s # * @object_path: An object path. 1578s # * @cancellable: (nullable): A #GCancellable or %NULL. 1578s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1578s # * @user_data: User data to pass to @callback. 1578s # * 1578s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1578s # * 1578s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1578s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1578s # * 1578s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1578s # */ 1578s # void 1578s # org_project_useful_interface_proxy_new ( 1578s # GDBusConnection *connection, 1578s # GDBusProxyFlags flags, 1578s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_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); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_finish: 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_finish ( 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GObject *ret; 1579s # GObject *source_object; 1579s # source_object = g_async_result_get_source_object (res); 1579s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1579s # g_object_unref (source_object); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_sync: 1579s # * @connection: A #GDBusConnection. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1579s # * 1579s # * The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_sync ( 1579s # GDBusConnection *connection, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GInitable *ret; 1579s # 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); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus: 1579s # * @bus_type: A #GBusType. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: A bus name (well-known or unique). 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1579s # * 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1579s # */ 1579s # void 1579s # org_project_useful_interface_proxy_new_for_bus ( 1579s # GBusType bus_type, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_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); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus_finish: 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_for_bus_finish ( 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GObject *ret; 1579s # GObject *source_object; 1579s # source_object = g_async_result_get_source_object (res); 1579s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1579s # g_object_unref (source_object); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus_sync: 1579s # * @bus_type: A #GBusType. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: A bus name (well-known or unique). 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1579s # * 1579s # * The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_for_bus_sync ( 1579s # GBusType bus_type, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GInitable *ret; 1579s # 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); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # 1579s # /* ------------------------------------------------------------------------ */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceSkeleton: 1579s # * 1579s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceSkeletonClass: 1579s # * @parent_class: The parent class. 1579s # * 1579s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1579s # */ 1579s # 1579s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1579s # { 1579s # GValue *properties; 1579s # GList *changed_properties; 1579s # GSource *changed_properties_idle_source; 1579s # GMainContext *context; 1579s # GMutex lock; 1579s # }; 1579s # 1579s # static void 1579s # _org_project_useful_interface_skeleton_handle_method_call ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name, 1579s # const gchar *method_name, 1579s # GVariant *parameters, 1579s # GDBusMethodInvocation *invocation, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # _ExtendedGDBusMethodInfo *info; 1579s # GVariantIter iter; 1579s # GVariant *child; 1579s # GValue *paramv; 1579s # gsize num_params; 1579s # guint num_extra; 1579s # gsize n; 1579s # guint signal_id; 1579s # GValue return_value = G_VALUE_INIT; 1579s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1579s # g_assert (info != NULL); 1579s # num_params = g_variant_n_children (parameters); 1579s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1579s # n = 0; 1579s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_set_object (¶mv[n++], skeleton); 1579s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1579s # g_value_set_object (¶mv[n++], invocation); 1579s # if (info->pass_fdlist) 1579s # { 1579s # #ifdef G_OS_UNIX 1579s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1579s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1579s # #else 1579s # g_assert_not_reached (); 1579s # #endif 1579s # } 1579s # g_variant_iter_init (&iter, parameters); 1579s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1579s # { 1579s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1579s # if (arg_info->use_gvariant) 1579s # { 1579s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1579s # g_value_set_variant (¶mv[n], child); 1579s # n++; 1579s # } 1579s # else 1579s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1579s # g_variant_unref (child); 1579s # } 1579s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1579s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1579s # if (!g_value_get_boolean (&return_value)) 1579s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1579s # g_value_unset (&return_value); 1579s # for (n = 0; n < num_params + num_extra; n++) 1579s # g_value_unset (¶mv[n]); 1579s # g_free (paramv); 1579s # } 1579s # 1579s # static GVariant * 1579s # _org_project_useful_interface_skeleton_handle_get_property ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name G_GNUC_UNUSED, 1579s # const gchar *property_name, 1579s # GError **error, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # GValue value = G_VALUE_INIT; 1579s # GParamSpec *pspec; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # GVariant *ret; 1579s # ret = NULL; 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1579s # g_assert (info != NULL); 1579s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1579s # if (pspec == NULL) 1579s # { 1579s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1579s # } 1579s # else 1579s # { 1579s # g_value_init (&value, pspec->value_type); 1579s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1579s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1579s # g_value_unset (&value); 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static gboolean 1579s # _org_project_useful_interface_skeleton_handle_set_property ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name G_GNUC_UNUSED, 1579s # const gchar *property_name, 1579s # GVariant *variant, 1579s # GError **error, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # GValue value = G_VALUE_INIT; 1579s # GParamSpec *pspec; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # gboolean ret; 1579s # ret = FALSE; 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1579s # g_assert (info != NULL); 1579s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1579s # if (pspec == NULL) 1579s # { 1579s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1579s # } 1579s # else 1579s # { 1579s # if (info->use_gvariant) 1579s # g_value_set_variant (&value, variant); 1579s # else 1579s # g_dbus_gvariant_to_gvalue (variant, &value); 1579s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1579s # g_value_unset (&value); 1579s # ret = TRUE; 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1579s # { 1579s # _org_project_useful_interface_skeleton_handle_method_call, 1579s # _org_project_useful_interface_skeleton_handle_get_property, 1579s # _org_project_useful_interface_skeleton_handle_set_property, 1579s # {NULL} 1579s # }; 1579s # 1579s # static GDBusInterfaceInfo * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1579s # { 1579s # return org_project_useful_interface_interface_info (); 1579s # } 1579s # 1579s # static GDBusInterfaceVTable * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1579s # { 1579s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1579s # } 1579s # 1579s # static GVariant * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1579s # 1579s # GVariantBuilder builder; 1579s # guint n; 1579s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1579s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1579s # goto out; 1579s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1579s # { 1579s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1579s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1579s # { 1579s # GVariant *value; 1579s # 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); 1579s # if (value != NULL) 1579s # { 1579s # g_variant_take_ref (value); 1579s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1579s # g_variant_unref (value); 1579s # } 1579s # } 1579s # } 1579s # out: 1579s # return g_variant_builder_end (&builder); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1579s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1579s # 1579s # #else 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1579s # 1579s # #endif 1579s # static void 1579s # org_project_useful_interface_skeleton_finalize (GObject *object) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1579s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1579s # if (skeleton->priv->changed_properties_idle_source != NULL) 1579s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1579s # g_main_context_unref (skeleton->priv->context); 1579s # g_mutex_clear (&skeleton->priv->lock); 1579s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1579s # { 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1579s # #else 1579s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1579s # #endif 1579s # 1579s # g_mutex_init (&skeleton->priv->lock); 1579s # skeleton->priv->context = g_main_context_ref_thread_default (); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1579s # { 1579s # GObjectClass *gobject_class; 1579s # GDBusInterfaceSkeletonClass *skeleton_class; 1579s # 1579s # gobject_class = G_OBJECT_CLASS (klass); 1579s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1579s # 1579s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1579s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1579s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1579s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1579s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1579s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1579s # #endif 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_skeleton_new: 1579s # * 1579s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_skeleton_new (void) 1579s # { 1579s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1579s # } 1579s # /tmp/tmpv7ru1vhb/tmpwl7xpjyr.xml: 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmpwl7xpjyr.xml', '--output', '-', '--body'] 1579s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1579s # Output: /* 1579s # * This file is generated by gdbus-codegen, do not modify it. 1579s # * 1579s # * The license of this code is the same as for the D-Bus interface description 1579s # * it was derived from. Note that it links to GLib, so must comply with the 1579s # * LGPL linking clauses. 1579s # */ 1579s # 1579s # #ifdef HAVE_CONFIG_H 1579s # # include "config.h" 1579s # #endif 1579s # 1579s # #include 1579s # #ifdef G_OS_UNIX 1579s # # include 1579s # #endif 1579s # 1579s # #ifdef G_ENABLE_DEBUG 1579s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1579s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1579s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1579s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1579s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1579s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1579s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1579s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1579s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1579s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1579s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1579s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1579s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1579s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1579s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1579s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1579s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1579s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1579s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1579s # #else /* !G_ENABLE_DEBUG */ 1579s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1579s # * Do not access GValues directly in your code. Instead, use the 1579s # * g_value_get_*() functions 1579s # */ 1579s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1579s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1579s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1579s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1579s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1579s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1579s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1579s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1579s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1579s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1579s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1579s # #endif /* !G_ENABLE_DEBUG */ 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusArgInfo parent_struct; 1579s # gboolean use_gvariant; 1579s # } _ExtendedGDBusArgInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusMethodInfo parent_struct; 1579s # const gchar *signal_name; 1579s # gboolean pass_fdlist; 1579s # } _ExtendedGDBusMethodInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusSignalInfo parent_struct; 1579s # const gchar *signal_name; 1579s # } _ExtendedGDBusSignalInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusPropertyInfo parent_struct; 1579s # const gchar *hyphen_name; 1579s # guint use_gvariant : 1; 1579s # guint emits_changed_signal : 1; 1579s # } _ExtendedGDBusPropertyInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusInterfaceInfo parent_struct; 1579s # const gchar *hyphen_name; 1579s # } _ExtendedGDBusInterfaceInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # const _ExtendedGDBusPropertyInfo *info; 1579s # guint prop_id; 1579s # GValue orig_value; /* the value before the change */ 1579s # } ChangedProperty; 1579s # 1579s # static void 1579s # _changed_property_free (ChangedProperty *data) 1579s # { 1579s # g_value_unset (&data->orig_value); 1579s # g_free (data); 1579s # } 1579s # 1579s # static gboolean 1579s # _g_strv_equal0 (gchar **a, gchar **b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # guint n; 1579s # if (a == NULL && b == NULL) 1579s # { 1579s # ret = TRUE; 1579s # goto out; 1579s # } 1579s # if (a == NULL || b == NULL) 1579s # goto out; 1579s # if (g_strv_length (a) != g_strv_length (b)) 1579s # goto out; 1579s # for (n = 0; a[n] != NULL; n++) 1579s # if (g_strcmp0 (a[n], b[n]) != 0) 1579s # goto out; 1579s # ret = TRUE; 1579s # out: 1579s # return ret; 1579s # } 1579s # 1579s # static gboolean 1579s # _g_variant_equal0 (GVariant *a, GVariant *b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # if (a == NULL && b == NULL) 1579s # { 1579s # ret = TRUE; 1579s # goto out; 1579s # } 1579s # if (a == NULL || b == NULL) 1579s # goto out; 1579s # ret = g_variant_equal (a, b); 1579s # out: 1579s # return ret; 1579s # } 1579s # 1579s # G_GNUC_UNUSED static gboolean 1579s # _g_value_equal (const GValue *a, const GValue *b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1579s # switch (G_VALUE_TYPE (a)) 1579s # { 1579s # case G_TYPE_BOOLEAN: 1579s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1579s # break; 1579s # case G_TYPE_UCHAR: 1579s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1579s # break; 1579s # case G_TYPE_INT: 1579s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1579s # break; 1579s # case G_TYPE_UINT: 1579s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1579s # break; 1579s # case G_TYPE_INT64: 1579s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1579s # break; 1579s # case G_TYPE_UINT64: 1579s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1579s # break; 1579s # case G_TYPE_DOUBLE: 1579s # { 1579s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1579s # gdouble da = g_value_get_double (a); 1579s # gdouble db = g_value_get_double (b); 1579s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1579s # } 1579s # break; 1579s # case G_TYPE_STRING: 1579s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1579s # break; 1579s # case G_TYPE_VARIANT: 1579s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1579s # break; 1579s # default: 1579s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1579s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1579s # else 1579s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1579s # break; 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static void 1579s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1579s # GClosure *closure, 1579s # GValue *return_value, 1579s # unsigned int n_param_values, 1579s # const GValue *param_values, 1579s # void *invocation_hint G_GNUC_UNUSED, 1579s # void *marshal_data) 1579s # { 1579s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1579s # (void *data1, 1579s # GDBusMethodInvocation *arg_method_invocation, 1579s # const gchar *arg_arg_ay, 1579s # void *data2); 1579s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1579s # GCClosure *cc = (GCClosure*) closure; 1579s # void *data1, *data2; 1579s # gboolean v_return; 1579s # 1579s # g_return_if_fail (return_value != NULL); 1579s # g_return_if_fail (n_param_values == 3); 1579s # 1579s # if (G_CCLOSURE_SWAP_DATA (closure)) 1579s # { 1579s # data1 = closure->data; 1579s # data2 = g_value_peek_pointer (param_values + 0); 1579s # } 1579s # else 1579s # { 1579s # data1 = g_value_peek_pointer (param_values + 0); 1579s # data2 = closure->data; 1579s # } 1579s # 1579s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1579s # (marshal_data ? marshal_data : cc->callback); 1579s # 1579s # v_return = 1579s # callback (data1, 1579s # g_marshal_value_peek_object (param_values + 1), 1579s # g_marshal_value_peek_string (param_values + 2), 1579s # data2); 1579s # 1579s # g_value_set_boolean (return_value, v_return); 1579s # } 1579s # 1579s # /* ------------------------------------------------------------------------ 1579s # * Code for interface org.project.UsefulInterface 1579s # * ------------------------------------------------------------------------ 1579s # */ 1579s # 1579s # /** 1579s # * SECTION:OrgProjectUsefulInterface 1579s # * @title: OrgProjectUsefulInterface 1579s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1579s # * 1579s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1579s # */ 1579s # 1579s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1579s # 1579s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "arg_ay", 1579s # (gchar *) "ay", 1579s # NULL 1579s # }, 1579s # FALSE 1579s # }; 1579s # 1579s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1579s # { 1579s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1579s # NULL 1579s # }; 1579s # 1579s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "SingleArgMethodAy", 1579s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1579s # NULL, 1579s # NULL 1579s # }, 1579s # "handle-single-arg-method-ay", 1579s # FALSE 1579s # }; 1579s # 1579s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1579s # { 1579s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1579s # NULL 1579s # }; 1579s # 1579s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "org.project.UsefulInterface", 1579s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1579s # NULL, 1579s # NULL, 1579s # NULL 1579s # }, 1579s # "org-project-useful-interface", 1579s # }; 1579s # 1579s # 1579s # /** 1579s # * org_project_useful_interface_interface_info: 1579s # * 1579s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1579s # * 1579s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1579s # */ 1579s # GDBusInterfaceInfo * 1579s # org_project_useful_interface_interface_info (void) 1579s # { 1579s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_override_properties: 1579s # * @klass: The class structure for a #GObject derived class. 1579s # * @property_id_begin: The property id to assign to the first overridden property. 1579s # * 1579s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1579s # * The properties are overridden in the order they are defined. 1579s # * 1579s # * Returns: The last property id. 1579s # */ 1579s # guint 1579s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1579s # { 1579s # return property_id_begin - 1; 1579s # } 1579s # 1579s # 1579s # inline static void 1579s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1579s # GClosure *closure, 1579s # GValue *return_value, 1579s # unsigned int n_param_values, 1579s # const GValue *param_values, 1579s # void *invocation_hint, 1579s # void *marshal_data) 1579s # { 1579s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1579s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1579s # } 1579s # 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterface: 1579s # * 1579s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceIface: 1579s # * @parent_iface: The parent interface. 1579s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1579s # * 1579s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1579s # */ 1579s # 1579s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1579s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1579s # 1579s # static void 1579s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1579s # { 1579s # /* GObject signals for incoming D-Bus method calls: */ 1579s # /** 1579s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1579s # * @object: A #OrgProjectUsefulInterface. 1579s # * @invocation: A #GDBusMethodInvocation. 1579s # * @arg_arg_ay: Argument passed by remote caller. 1579s # * 1579s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1579s # * 1579s # * 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. 1579s # * 1579s # * 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. 1579s # */ 1579s # g_signal_new ("handle-single-arg-method-ay", 1579s # G_TYPE_FROM_INTERFACE (iface), 1579s # G_SIGNAL_RUN_LAST, 1579s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1579s # g_signal_accumulator_true_handled, 1579s # NULL, 1579s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1579s # G_TYPE_BOOLEAN, 1579s # 2, 1579s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1579s # 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_ay: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @arg_arg_ay: Argument to pass with the method invocation. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1579s # */ 1579s # void 1579s # org_project_useful_interface_call_single_arg_method_ay ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # const gchar *arg_arg_ay, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1579s # "SingleArgMethodAy", 1579s # g_variant_new ("(^ay)", 1579s # arg_arg_ay), 1579s # G_DBUS_CALL_FLAGS_NONE, 1579s # -1, 1579s # cancellable, 1579s # callback, 1579s # user_data); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1579s # * @error: Return location for error or %NULL. 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1579s # * 1579s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1579s # */ 1579s # gboolean 1579s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GVariant *_ret; 1579s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1579s # if (_ret == NULL) 1579s # goto _out; 1579s # g_variant_get (_ret, 1579s # "()"); 1579s # g_variant_unref (_ret); 1579s # _out: 1579s # return _ret != NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @arg_arg_ay: Argument to pass with the method invocation. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL. 1579s # * 1579s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1579s # * 1579s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1579s # */ 1579s # gboolean 1579s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # const gchar *arg_arg_ay, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GVariant *_ret; 1579s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1579s # "SingleArgMethodAy", 1579s # g_variant_new ("(^ay)", 1579s # arg_arg_ay), 1579s # G_DBUS_CALL_FLAGS_NONE, 1579s # -1, 1579s # cancellable, 1579s # error); 1579s # if (_ret == NULL) 1579s # goto _out; 1579s # g_variant_get (_ret, 1579s # "()"); 1579s # g_variant_unref (_ret); 1579s # _out: 1579s # return _ret != NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_complete_single_arg_method_ay: 1579s # * @object: A #OrgProjectUsefulInterface. 1579s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1579s # * 1579s # * 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. 1579s # * 1579s # * This method will free @invocation, you cannot use it afterwards. 1579s # */ 1579s # void 1579s # org_project_useful_interface_complete_single_arg_method_ay ( 1579s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1579s # GDBusMethodInvocation *invocation) 1579s # { 1579s # g_dbus_method_invocation_return_value (invocation, 1579s # g_variant_new ("()")); 1579s # } 1579s # 1579s # /* ------------------------------------------------------------------------ */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceProxy: 1579s # * 1579s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceProxyClass: 1579s # * @parent_class: The parent class. 1579s # * 1579s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1579s # */ 1579s # 1579s # struct _OrgProjectUsefulInterfaceProxyPrivate 1579s # { 1579s # GData *qdata; 1579s # }; 1579s # 1579s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1579s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1579s # 1579s # #else 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1579s # 1579s # #endif 1579s # static void 1579s # org_project_useful_interface_proxy_finalize (GObject *object) 1579s # { 1579s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1579s # g_datalist_clear (&proxy->priv->qdata); 1579s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1579s # guint prop_id G_GNUC_UNUSED, 1579s # GValue *value G_GNUC_UNUSED, 1579s # GParamSpec *pspec G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1579s # guint prop_id G_GNUC_UNUSED, 1579s # const GValue *value G_GNUC_UNUSED, 1579s # GParamSpec *pspec G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1579s # const gchar *sender_name G_GNUC_UNUSED, 1579s # const gchar *signal_name, 1579s # GVariant *parameters) 1579s # { 1579s # _ExtendedGDBusSignalInfo *info; 1579s # GVariantIter iter; 1579s # GVariant *child; 1579s # GValue *paramv; 1579s # gsize num_params; 1579s # gsize n; 1579s # guint signal_id; 1579s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1579s # if (info == NULL) 1579s # return; 1579s # num_params = g_variant_n_children (parameters); 1579s # paramv = g_new0 (GValue, num_params + 1); 1579s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_set_object (¶mv[0], proxy); 1579s # g_variant_iter_init (&iter, parameters); 1579s # n = 1; 1579s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1579s # { 1579s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1579s # if (arg_info->use_gvariant) 1579s # { 1579s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1579s # g_value_set_variant (¶mv[n], child); 1579s # n++; 1579s # } 1579s # else 1579s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1579s # g_variant_unref (child); 1579s # } 1579s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_signal_emitv (paramv, signal_id, 0, NULL); 1579s # for (n = 0; n < num_params + 1; n++) 1579s # g_value_unset (¶mv[n]); 1579s # g_free (paramv); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1579s # GVariant *changed_properties, 1579s # const gchar *const *invalidated_properties) 1579s # { 1579s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1579s # guint n; 1579s # const gchar *key; 1579s # GVariantIter *iter; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # g_variant_get (changed_properties, "a{sv}", &iter); 1579s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1579s # { 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1579s # g_datalist_remove_data (&proxy->priv->qdata, key); 1579s # if (info != NULL) 1579s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1579s # } 1579s # g_variant_iter_free (iter); 1579s # for (n = 0; invalidated_properties[n] != NULL; n++) 1579s # { 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1579s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1579s # if (info != NULL) 1579s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1579s # } 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1579s # { 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1579s # #else 1579s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1579s # #endif 1579s # 1579s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1579s # { 1579s # GObjectClass *gobject_class; 1579s # GDBusProxyClass *proxy_class; 1579s # 1579s # gobject_class = G_OBJECT_CLASS (klass); 1579s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1579s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1579s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1579s # 1579s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1579s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1579s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1579s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1579s # #endif 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new: 1579s # * @connection: A #GDBusConnection. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1579s # * 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1579s # */ 1579s # void 1579s # org_project_useful_interface_proxy_new ( 1579s # GDBusConnection *connection, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_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); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_finish: 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_finish ( 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GObject *ret; 1579s # GObject *source_object; 1579s # source_object = g_async_result_get_source_object (res); 1579s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1579s # g_object_unref (source_object); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_sync: 1579s # * @connection: A #GDBusConnection. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1579s # * 1579s # * The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_sync ( 1579s # GDBusConnection *connection, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GInitable *ret; 1579s # 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); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus: 1579s # * @bus_type: A #GBusType. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: A bus name (well-known or unique). 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1579s # * 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1579s # */ 1579s # void 1579s # org_project_useful_interface_proxy_new_for_bus ( 1579s # GBusType bus_type, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_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); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus_finish: 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_for_bus_finish ( 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GObject *ret; 1579s # GObject *source_object; 1579s # source_object = g_async_result_get_source_object (res); 1579s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1579s # g_object_unref (source_object); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus_sync: 1579s # * @bus_type: A #GBusType. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: A bus name (well-known or unique). 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1579s # * 1579s # * The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_for_bus_sync ( 1579s # GBusType bus_type, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GInitable *ret; 1579s # 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); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # 1579s # /* ------------------------------------------------------------------------ */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceSkeleton: 1579s # * 1579s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceSkeletonClass: 1579s # * @parent_class: The parent class. 1579s # * 1579s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1579s # */ 1579s # 1579s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1579s # { 1579s # GValue *properties; 1579s # GList *changed_properties; 1579s # GSource *changed_properties_idle_source; 1579s # GMainContext *context; 1579s # GMutex lock; 1579s # }; 1579s # 1579s # static void 1579s # _org_project_useful_interface_skeleton_handle_method_call ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name, 1579s # const gchar *method_name, 1579s # GVariant *parameters, 1579s # GDBusMethodInvocation *invocation, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # _ExtendedGDBusMethodInfo *info; 1579s # GVariantIter iter; 1579s # GVariant *child; 1579s # GValue *paramv; 1579s # gsize num_params; 1579s # guint num_extra; 1579s # gsize n; 1579s # guint signal_id; 1579s # GValue return_value = G_VALUE_INIT; 1579s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1579s # g_assert (info != NULL); 1579s # num_params = g_variant_n_children (parameters); 1579s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1579s # n = 0; 1579s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_set_object (¶mv[n++], skeleton); 1579s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1579s # g_value_set_object (¶mv[n++], invocation); 1579s # if (info->pass_fdlist) 1579s # { 1579s # #ifdef G_OS_UNIX 1579s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1579s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1579s # #else 1579s # g_assert_not_reached (); 1579s # #endif 1579s # } 1579s # g_variant_iter_init (&iter, parameters); 1579s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1579s # { 1579s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1579s # if (arg_info->use_gvariant) 1579s # { 1579s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1579s # g_value_set_variant (¶mv[n], child); 1579s # n++; 1579s # } 1579s # else 1579s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1579s # g_variant_unref (child); 1579s # } 1579s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1579s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1579s # if (!g_value_get_boolean (&return_value)) 1579s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1579s # g_value_unset (&return_value); 1579s # for (n = 0; n < num_params + num_extra; n++) 1579s # g_value_unset (¶mv[n]); 1579s # g_free (paramv); 1579s # } 1579s # 1579s # static GVariant * 1579s # _org_project_useful_interface_skeleton_handle_get_property ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name G_GNUC_UNUSED, 1579s # const gchar *property_name, 1579s # GError **error, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # GValue value = G_VALUE_INIT; 1579s # GParamSpec *pspec; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # GVariant *ret; 1579s # ret = NULL; 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1579s # g_assert (info != NULL); 1579s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1579s # if (pspec == NULL) 1579s # { 1579s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1579s # } 1579s # else 1579s # { 1579s # g_value_init (&value, pspec->value_type); 1579s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1579s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1579s # g_value_unset (&value); 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static gboolean 1579s # _org_project_useful_interface_skeleton_handle_set_property ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name G_GNUC_UNUSED, 1579s # const gchar *property_name, 1579s # GVariant *variant, 1579s # GError **error, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # GValue value = G_VALUE_INIT; 1579s # GParamSpec *pspec; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # gboolean ret; 1579s # ret = FALSE; 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1579s # g_assert (info != NULL); 1579s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1579s # if (pspec == NULL) 1579s # { 1579s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1579s # } 1579s # else 1579s # { 1579s # if (info->use_gvariant) 1579s # g_value_set_variant (&value, variant); 1579s # else 1579s # g_dbus_gvariant_to_gvalue (variant, &value); 1579s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1579s # g_value_unset (&value); 1579s # ret = TRUE; 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1579s # { 1579s # _org_project_useful_interface_skeleton_handle_method_call, 1579s # _org_project_useful_interface_skeleton_handle_get_property, 1579s # _org_project_useful_interface_skeleton_handle_set_property, 1579s # {NULL} 1579s # }; 1579s # 1579s # static GDBusInterfaceInfo * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1579s # { 1579s # return org_project_useful_interface_interface_info (); 1579s # } 1579s # 1579s # static GDBusInterfaceVTable * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1579s # { 1579s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1579s # } 1579s # 1579s # static GVariant * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1579s # 1579s # GVariantBuilder builder; 1579s # guint n; 1579s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1579s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1579s # goto out; 1579s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1579s # { 1579s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1579s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1579s # { 1579s # GVariant *value; 1579s # 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); 1579s # if (value != NULL) 1579s # { 1579s # g_variant_take_ref (value); 1579s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1579s # g_variant_unref (value); 1579s # } 1579s # } 1579s # } 1579s # out: 1579s # return g_variant_builder_end (&builder); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1579s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1579s # 1579s # #else 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1579s # 1579s # #endif 1579s # static void 1579s # org_project_useful_interface_skeleton_finalize (GObject *object) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1579s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1579s # if (skeleton->priv->changed_properties_idle_source != NULL) 1579s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1579s # g_main_context_unref (skeleton->priv->context); 1579s # g_mutex_clear (&skeleton->priv->lock); 1579s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1579s # { 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1579s # #else 1579s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1579s # #endif 1579s # 1579s # g_mutex_init (&skeleton->priv->lock); 1579s # skeleton->priv->context = g_main_context_ref_thread_default (); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1579s # { 1579s # GObjectClass *gobject_class; 1579s # GDBusInterfaceSkeletonClass *skeleton_class; 1579s # 1579s # gobject_class = G_OBJECT_CLASS (klass); 1579s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1579s # 1579s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1579s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1579s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1579s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1579s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1579s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1579s # #endif 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_skeleton_new: 1579s # * 1579s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_skeleton_new (void) 1579s # { 1579s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1579s # } 1579s # /tmp/tmpv7ru1vhb/tmpo36sv19l.xml: 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmpo36sv19l.xml', '--output', '-', '--body'] 1579s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1579s # Output: /* 1579s # * This file is generated by gdbus-codegen, do not modify it. 1579s # * 1579s # * The license of this code is the same as for the D-Bus interface description 1579s # * it was derived from. Note that it links to GLib, so must comply with the 1579s # * LGPL linking clauses. 1579s # */ 1579s # 1579s # #ifdef HAVE_CONFIG_H 1579s # # include "config.h" 1579s # #endif 1579s # 1579s # #include 1579s # #ifdef G_OS_UNIX 1579s # # include 1579s # #endif 1579s # 1579s # #ifdef G_ENABLE_DEBUG 1579s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1579s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1579s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1579s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1579s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1579s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1579s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1579s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1579s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1579s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1579s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1579s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1579s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1579s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1579s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1579s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1579s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1579s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1579s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1579s # #else /* !G_ENABLE_DEBUG */ 1579s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1579s # * Do not access GValues directly in your code. Instead, use the 1579s # * g_value_get_*() functions 1579s # */ 1579s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1579s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1579s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1579s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1579s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1579s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1579s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1579s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1579s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1579s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1579s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1579s # #endif /* !G_ENABLE_DEBUG */ 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusArgInfo parent_struct; 1579s # gboolean use_gvariant; 1579s # } _ExtendedGDBusArgInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusMethodInfo parent_struct; 1579s # const gchar *signal_name; 1579s # gboolean pass_fdlist; 1579s # } _ExtendedGDBusMethodInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusSignalInfo parent_struct; 1579s # const gchar *signal_name; 1579s # } _ExtendedGDBusSignalInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusPropertyInfo parent_struct; 1579s # const gchar *hyphen_name; 1579s # guint use_gvariant : 1; 1579s # guint emits_changed_signal : 1; 1579s # } _ExtendedGDBusPropertyInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusInterfaceInfo parent_struct; 1579s # const gchar *hyphen_name; 1579s # } _ExtendedGDBusInterfaceInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # const _ExtendedGDBusPropertyInfo *info; 1579s # guint prop_id; 1579s # GValue orig_value; /* the value before the change */ 1579s # } ChangedProperty; 1579s # 1579s # static void 1579s # _changed_property_free (ChangedProperty *data) 1579s # { 1579s # g_value_unset (&data->orig_value); 1579s # g_free (data); 1579s # } 1579s # 1579s # static gboolean 1579s # _g_strv_equal0 (gchar **a, gchar **b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # guint n; 1579s # if (a == NULL && b == NULL) 1579s # { 1579s # ret = TRUE; 1579s # goto out; 1579s # } 1579s # if (a == NULL || b == NULL) 1579s # goto out; 1579s # if (g_strv_length (a) != g_strv_length (b)) 1579s # goto out; 1579s # for (n = 0; a[n] != NULL; n++) 1579s # if (g_strcmp0 (a[n], b[n]) != 0) 1579s # goto out; 1579s # ret = TRUE; 1579s # out: 1579s # return ret; 1579s # } 1579s # 1579s # static gboolean 1579s # _g_variant_equal0 (GVariant *a, GVariant *b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # if (a == NULL && b == NULL) 1579s # { 1579s # ret = TRUE; 1579s # goto out; 1579s # } 1579s # if (a == NULL || b == NULL) 1579s # goto out; 1579s # ret = g_variant_equal (a, b); 1579s # out: 1579s # return ret; 1579s # } 1579s # 1579s # G_GNUC_UNUSED static gboolean 1579s # _g_value_equal (const GValue *a, const GValue *b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1579s # switch (G_VALUE_TYPE (a)) 1579s # { 1579s # case G_TYPE_BOOLEAN: 1579s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1579s # break; 1579s # case G_TYPE_UCHAR: 1579s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1579s # break; 1579s # case G_TYPE_INT: 1579s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1579s # break; 1579s # case G_TYPE_UINT: 1579s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1579s # break; 1579s # case G_TYPE_INT64: 1579s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1579s # break; 1579s # case G_TYPE_UINT64: 1579s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1579s # break; 1579s # case G_TYPE_DOUBLE: 1579s # { 1579s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1579s # gdouble da = g_value_get_double (a); 1579s # gdouble db = g_value_get_double (b); 1579s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1579s # } 1579s # break; 1579s # case G_TYPE_STRING: 1579s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1579s # break; 1579s # case G_TYPE_VARIANT: 1579s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1579s # break; 1579s # default: 1579s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1579s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1579s # else 1579s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1579s # break; 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static void 1579s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1579s # GClosure *closure, 1579s # GValue *return_value, 1579s # unsigned int n_param_values, 1579s # const GValue *param_values, 1579s # void *invocation_hint G_GNUC_UNUSED, 1579s # void *marshal_data) 1579s # { 1579s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1579s # (void *data1, 1579s # GDBusMethodInvocation *arg_method_invocation, 1579s # const gchar *const *arg_arg_as, 1579s # void *data2); 1579s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1579s # GCClosure *cc = (GCClosure*) closure; 1579s # void *data1, *data2; 1579s # gboolean v_return; 1579s # 1579s # g_return_if_fail (return_value != NULL); 1579s # g_return_if_fail (n_param_values == 3); 1579s # 1579s # if (G_CCLOSURE_SWAP_DATA (closure)) 1579s # { 1579s # data1 = closure->data; 1579s # data2 = g_value_peek_pointer (param_values + 0); 1579s # } 1579s # else 1579s # { 1579s # data1 = g_value_peek_pointer (param_values + 0); 1579s # data2 = closure->data; 1579s # } 1579s # 1579s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1579s # (marshal_data ? marshal_data : cc->callback); 1579s # 1579s # v_return = 1579s # callback (data1, 1579s # g_marshal_value_peek_object (param_values + 1), 1579s # g_marshal_value_peek_boxed (param_values + 2), 1579s # data2); 1579s # 1579s # g_value_set_boolean (return_value, v_return); 1579s # } 1579s # 1579s # /* ------------------------------------------------------------------------ 1579s # * Code for interface org.project.UsefulInterface 1579s # * ------------------------------------------------------------------------ 1579s # */ 1579s # 1579s # /** 1579s # * SECTION:OrgProjectUsefulInterface 1579s # * @title: OrgProjectUsefulInterface 1579s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1579s # * 1579s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1579s # */ 1579s # 1579s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1579s # 1579s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "arg_as", 1579s # (gchar *) "as", 1579s # NULL 1579s # }, 1579s # FALSE 1579s # }; 1579s # 1579s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1579s # { 1579s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1579s # NULL 1579s # }; 1579s # 1579s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "SingleArgMethodAs", 1579s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1579s # NULL, 1579s # NULL 1579s # }, 1579s # "handle-single-arg-method-as", 1579s # FALSE 1579s # }; 1579s # 1579s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1579s # { 1579s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1579s # NULL 1579s # }; 1579s # 1579s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "org.project.UsefulInterface", 1579s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1579s # NULL, 1579s # NULL, 1579s # NULL 1579s # }, 1579s # "org-project-useful-interface", 1579s # }; 1579s # 1579s # 1579s # /** 1579s # * org_project_useful_interface_interface_info: 1579s # * 1579s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1579s # * 1579s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1579s # */ 1579s # GDBusInterfaceInfo * 1579s # org_project_useful_interface_interface_info (void) 1579s # { 1579s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_override_properties: 1579s # * @klass: The class structure for a #GObject derived class. 1579s # * @property_id_begin: The property id to assign to the first overridden property. 1579s # * 1579s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1579s # * The properties are overridden in the order they are defined. 1579s # * 1579s # * Returns: The last property id. 1579s # */ 1579s # guint 1579s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1579s # { 1579s # return property_id_begin - 1; 1579s # } 1579s # 1579s # 1579s # inline static void 1579s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1579s # GClosure *closure, 1579s # GValue *return_value, 1579s # unsigned int n_param_values, 1579s # const GValue *param_values, 1579s # void *invocation_hint, 1579s # void *marshal_data) 1579s # { 1579s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1579s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1579s # } 1579s # 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterface: 1579s # * 1579s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceIface: 1579s # * @parent_iface: The parent interface. 1579s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1579s # * 1579s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1579s # */ 1579s # 1579s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1579s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1579s # 1579s # static void 1579s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1579s # { 1579s # /* GObject signals for incoming D-Bus method calls: */ 1579s # /** 1579s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1579s # * @object: A #OrgProjectUsefulInterface. 1579s # * @invocation: A #GDBusMethodInvocation. 1579s # * @arg_arg_as: Argument passed by remote caller. 1579s # * 1579s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1579s # * 1579s # * 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. 1579s # * 1579s # * 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. 1579s # */ 1579s # g_signal_new ("handle-single-arg-method-as", 1579s # G_TYPE_FROM_INTERFACE (iface), 1579s # G_SIGNAL_RUN_LAST, 1579s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1579s # g_signal_accumulator_true_handled, 1579s # NULL, 1579s # org_project_useful_interface_method_marshal_single_arg_method_as, 1579s # G_TYPE_BOOLEAN, 1579s # 2, 1579s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1579s # 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_as: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @arg_arg_as: Argument to pass with the method invocation. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1579s # */ 1579s # void 1579s # org_project_useful_interface_call_single_arg_method_as ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # const gchar *const *arg_arg_as, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1579s # "SingleArgMethodAs", 1579s # g_variant_new ("(^as)", 1579s # arg_arg_as), 1579s # G_DBUS_CALL_FLAGS_NONE, 1579s # -1, 1579s # cancellable, 1579s # callback, 1579s # user_data); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_as_finish: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1579s # * @error: Return location for error or %NULL. 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1579s # * 1579s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1579s # */ 1579s # gboolean 1579s # org_project_useful_interface_call_single_arg_method_as_finish ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GVariant *_ret; 1579s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1579s # if (_ret == NULL) 1579s # goto _out; 1579s # g_variant_get (_ret, 1579s # "()"); 1579s # g_variant_unref (_ret); 1579s # _out: 1579s # return _ret != NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_as_sync: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @arg_arg_as: Argument to pass with the method invocation. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL. 1579s # * 1579s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1579s # * 1579s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1579s # */ 1579s # gboolean 1579s # org_project_useful_interface_call_single_arg_method_as_sync ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # const gchar *const *arg_arg_as, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GVariant *_ret; 1579s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1579s # "SingleArgMethodAs", 1579s # g_variant_new ("(^as)", 1579s # arg_arg_as), 1579s # G_DBUS_CALL_FLAGS_NONE, 1579s # -1, 1579s # cancellable, 1579s # error); 1579s # if (_ret == NULL) 1579s # goto _out; 1579s # g_variant_get (_ret, 1579s # "()"); 1579s # g_variant_unref (_ret); 1579s # _out: 1579s # return _ret != NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_complete_single_arg_method_as: 1579s # * @object: A #OrgProjectUsefulInterface. 1579s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1579s # * 1579s # * 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. 1579s # * 1579s # * This method will free @invocation, you cannot use it afterwards. 1579s # */ 1579s # void 1579s # org_project_useful_interface_complete_single_arg_method_as ( 1579s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1579s # GDBusMethodInvocation *invocation) 1579s # { 1579s # g_dbus_method_invocation_return_value (invocation, 1579s # g_variant_new ("()")); 1579s # } 1579s # 1579s # /* ------------------------------------------------------------------------ */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceProxy: 1579s # * 1579s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceProxyClass: 1579s # * @parent_class: The parent class. 1579s # * 1579s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1579s # */ 1579s # 1579s # struct _OrgProjectUsefulInterfaceProxyPrivate 1579s # { 1579s # GData *qdata; 1579s # }; 1579s # 1579s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1579s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1579s # 1579s # #else 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1579s # 1579s # #endif 1579s # static void 1579s # org_project_useful_interface_proxy_finalize (GObject *object) 1579s # { 1579s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1579s # g_datalist_clear (&proxy->priv->qdata); 1579s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1579s # guint prop_id G_GNUC_UNUSED, 1579s # GValue *value G_GNUC_UNUSED, 1579s # GParamSpec *pspec G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1579s # guint prop_id G_GNUC_UNUSED, 1579s # const GValue *value G_GNUC_UNUSED, 1579s # GParamSpec *pspec G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1579s # const gchar *sender_name G_GNUC_UNUSED, 1579s # const gchar *signal_name, 1579s # GVariant *parameters) 1579s # { 1579s # _ExtendedGDBusSignalInfo *info; 1579s # GVariantIter iter; 1579s # GVariant *child; 1579s # GValue *paramv; 1579s # gsize num_params; 1579s # gsize n; 1579s # guint signal_id; 1579s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1579s # if (info == NULL) 1579s # return; 1579s # num_params = g_variant_n_children (parameters); 1579s # paramv = g_new0 (GValue, num_params + 1); 1579s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_set_object (¶mv[0], proxy); 1579s # g_variant_iter_init (&iter, parameters); 1579s # n = 1; 1579s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1579s # { 1579s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1579s # if (arg_info->use_gvariant) 1579s # { 1579s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1579s # g_value_set_variant (¶mv[n], child); 1579s # n++; 1579s # } 1579s # else 1579s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1579s # g_variant_unref (child); 1579s # } 1579s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_signal_emitv (paramv, signal_id, 0, NULL); 1579s # for (n = 0; n < num_params + 1; n++) 1579s # g_value_unset (¶mv[n]); 1579s # g_free (paramv); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1579s # GVariant *changed_properties, 1579s # const gchar *const *invalidated_properties) 1579s # { 1579s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1579s # guint n; 1579s # const gchar *key; 1579s # GVariantIter *iter; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # g_variant_get (changed_properties, "a{sv}", &iter); 1579s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1579s # { 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1579s # g_datalist_remove_data (&proxy->priv->qdata, key); 1579s # if (info != NULL) 1579s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1579s # } 1579s # g_variant_iter_free (iter); 1579s # for (n = 0; invalidated_properties[n] != NULL; n++) 1579s # { 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1579s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1579s # if (info != NULL) 1579s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1579s # } 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1579s # { 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1579s # #else 1579s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1579s # #endif 1579s # 1579s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1579s # { 1579s # GObjectClass *gobject_class; 1579s # GDBusProxyClass *proxy_class; 1579s # 1579s # gobject_class = G_OBJECT_CLASS (klass); 1579s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1579s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1579s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1579s # 1579s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1579s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1579s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1579s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1579s # #endif 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new: 1579s # * @connection: A #GDBusConnection. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1579s # * 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1579s # */ 1579s # void 1579s # org_project_useful_interface_proxy_new ( 1579s # GDBusConnection *connection, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_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); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_finish: 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_finish ( 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GObject *ret; 1579s # GObject *source_object; 1579s # source_object = g_async_result_get_source_object (res); 1579s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1579s # g_object_unref (source_object); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_sync: 1579s # * @connection: A #GDBusConnection. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1579s # * 1579s # * The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_sync ( 1579s # GDBusConnection *connection, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GInitable *ret; 1579s # 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); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus: 1579s # * @bus_type: A #GBusType. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: A bus name (well-known or unique). 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1579s # * 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1579s # */ 1579s # void 1579s # org_project_useful_interface_proxy_new_for_bus ( 1579s # GBusType bus_type, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_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); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus_finish: 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_for_bus_finish ( 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GObject *ret; 1579s # GObject *source_object; 1579s # source_object = g_async_result_get_source_object (res); 1579s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1579s # g_object_unref (source_object); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus_sync: 1579s # * @bus_type: A #GBusType. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: A bus name (well-known or unique). 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1579s # * 1579s # * The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_for_bus_sync ( 1579s # GBusType bus_type, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GInitable *ret; 1579s # 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); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # 1579s # /* ------------------------------------------------------------------------ */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceSkeleton: 1579s # * 1579s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceSkeletonClass: 1579s # * @parent_class: The parent class. 1579s # * 1579s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1579s # */ 1579s # 1579s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1579s # { 1579s # GValue *properties; 1579s # GList *changed_properties; 1579s # GSource *changed_properties_idle_source; 1579s # GMainContext *context; 1579s # GMutex lock; 1579s # }; 1579s # 1579s # static void 1579s # _org_project_useful_interface_skeleton_handle_method_call ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name, 1579s # const gchar *method_name, 1579s # GVariant *parameters, 1579s # GDBusMethodInvocation *invocation, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # _ExtendedGDBusMethodInfo *info; 1579s # GVariantIter iter; 1579s # GVariant *child; 1579s # GValue *paramv; 1579s # gsize num_params; 1579s # guint num_extra; 1579s # gsize n; 1579s # guint signal_id; 1579s # GValue return_value = G_VALUE_INIT; 1579s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1579s # g_assert (info != NULL); 1579s # num_params = g_variant_n_children (parameters); 1579s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1579s # n = 0; 1579s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_set_object (¶mv[n++], skeleton); 1579s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1579s # g_value_set_object (¶mv[n++], invocation); 1579s # if (info->pass_fdlist) 1579s # { 1579s # #ifdef G_OS_UNIX 1579s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1579s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1579s # #else 1579s # g_assert_not_reached (); 1579s # #endif 1579s # } 1579s # g_variant_iter_init (&iter, parameters); 1579s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1579s # { 1579s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1579s # if (arg_info->use_gvariant) 1579s # { 1579s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1579s # g_value_set_variant (¶mv[n], child); 1579s # n++; 1579s # } 1579s # else 1579s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1579s # g_variant_unref (child); 1579s # } 1579s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1579s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1579s # if (!g_value_get_boolean (&return_value)) 1579s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1579s # g_value_unset (&return_value); 1579s # for (n = 0; n < num_params + num_extra; n++) 1579s # g_value_unset (¶mv[n]); 1579s # g_free (paramv); 1579s # } 1579s # 1579s # static GVariant * 1579s # _org_project_useful_interface_skeleton_handle_get_property ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name G_GNUC_UNUSED, 1579s # const gchar *property_name, 1579s # GError **error, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # GValue value = G_VALUE_INIT; 1579s # GParamSpec *pspec; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # GVariant *ret; 1579s # ret = NULL; 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1579s # g_assert (info != NULL); 1579s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1579s # if (pspec == NULL) 1579s # { 1579s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1579s # } 1579s # else 1579s # { 1579s # g_value_init (&value, pspec->value_type); 1579s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1579s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1579s # g_value_unset (&value); 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static gboolean 1579s # _org_project_useful_interface_skeleton_handle_set_property ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name G_GNUC_UNUSED, 1579s # const gchar *property_name, 1579s # GVariant *variant, 1579s # GError **error, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # GValue value = G_VALUE_INIT; 1579s # GParamSpec *pspec; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # gboolean ret; 1579s # ret = FALSE; 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1579s # g_assert (info != NULL); 1579s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1579s # if (pspec == NULL) 1579s # { 1579s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1579s # } 1579s # else 1579s # { 1579s # if (info->use_gvariant) 1579s # g_value_set_variant (&value, variant); 1579s # else 1579s # g_dbus_gvariant_to_gvalue (variant, &value); 1579s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1579s # g_value_unset (&value); 1579s # ret = TRUE; 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1579s # { 1579s # _org_project_useful_interface_skeleton_handle_method_call, 1579s # _org_project_useful_interface_skeleton_handle_get_property, 1579s # _org_project_useful_interface_skeleton_handle_set_property, 1579s # {NULL} 1579s # }; 1579s # 1579s # static GDBusInterfaceInfo * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1579s # { 1579s # return org_project_useful_interface_interface_info (); 1579s # } 1579s # 1579s # static GDBusInterfaceVTable * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1579s # { 1579s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1579s # } 1579s # 1579s # static GVariant * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1579s # 1579s # GVariantBuilder builder; 1579s # guint n; 1579s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1579s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1579s # goto out; 1579s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1579s # { 1579s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1579s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1579s # { 1579s # GVariant *value; 1579s # 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); 1579s # if (value != NULL) 1579s # { 1579s # g_variant_take_ref (value); 1579s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1579s # g_variant_unref (value); 1579s # } 1579s # } 1579s # } 1579s # out: 1579s # return g_variant_builder_end (&builder); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1579s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1579s # 1579s # #else 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1579s # 1579s # #endif 1579s # static void 1579s # org_project_useful_interface_skeleton_finalize (GObject *object) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1579s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1579s # if (skeleton->priv->changed_properties_idle_source != NULL) 1579s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1579s # g_main_context_unref (skeleton->priv->context); 1579s # g_mutex_clear (&skeleton->priv->lock); 1579s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1579s # { 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1579s # #else 1579s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1579s # #endif 1579s # 1579s # g_mutex_init (&skeleton->priv->lock); 1579s # skeleton->priv->context = g_main_context_ref_thread_default (); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1579s # { 1579s # GObjectClass *gobject_class; 1579s # GDBusInterfaceSkeletonClass *skeleton_class; 1579s # 1579s # gobject_class = G_OBJECT_CLASS (klass); 1579s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1579s # 1579s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1579s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1579s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1579s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1579s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1579s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1579s # #endif 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_skeleton_new: 1579s # * 1579s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_skeleton_new (void) 1579s # { 1579s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1579s # } 1579s # /tmp/tmpv7ru1vhb/tmp5b2o6tdj.xml: 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmp5b2o6tdj.xml', '--output', '-', '--body'] 1579s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1579s # Output: /* 1579s # * This file is generated by gdbus-codegen, do not modify it. 1579s # * 1579s # * The license of this code is the same as for the D-Bus interface description 1579s # * it was derived from. Note that it links to GLib, so must comply with the 1579s # * LGPL linking clauses. 1579s # */ 1579s # 1579s # #ifdef HAVE_CONFIG_H 1579s # # include "config.h" 1579s # #endif 1579s # 1579s # #include 1579s # #ifdef G_OS_UNIX 1579s # # include 1579s # #endif 1579s # 1579s # #ifdef G_ENABLE_DEBUG 1579s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1579s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1579s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1579s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1579s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1579s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1579s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1579s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1579s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1579s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1579s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1579s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1579s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1579s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1579s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1579s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1579s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1579s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1579s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1579s # #else /* !G_ENABLE_DEBUG */ 1579s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1579s # * Do not access GValues directly in your code. Instead, use the 1579s # * g_value_get_*() functions 1579s # */ 1579s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1579s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1579s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1579s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1579s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1579s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1579s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1579s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1579s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1579s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1579s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1579s # #endif /* !G_ENABLE_DEBUG */ 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusArgInfo parent_struct; 1579s # gboolean use_gvariant; 1579s # } _ExtendedGDBusArgInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusMethodInfo parent_struct; 1579s # const gchar *signal_name; 1579s # gboolean pass_fdlist; 1579s # } _ExtendedGDBusMethodInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusSignalInfo parent_struct; 1579s # const gchar *signal_name; 1579s # } _ExtendedGDBusSignalInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusPropertyInfo parent_struct; 1579s # const gchar *hyphen_name; 1579s # guint use_gvariant : 1; 1579s # guint emits_changed_signal : 1; 1579s # } _ExtendedGDBusPropertyInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusInterfaceInfo parent_struct; 1579s # const gchar *hyphen_name; 1579s # } _ExtendedGDBusInterfaceInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # const _ExtendedGDBusPropertyInfo *info; 1579s # guint prop_id; 1579s # GValue orig_value; /* the value before the change */ 1579s # } ChangedProperty; 1579s # 1579s # static void 1579s # _changed_property_free (ChangedProperty *data) 1579s # { 1579s # g_value_unset (&data->orig_value); 1579s # g_free (data); 1579s # } 1579s # 1579s # static gboolean 1579s # _g_strv_equal0 (gchar **a, gchar **b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # guint n; 1579s # if (a == NULL && b == NULL) 1579s # { 1579s # ret = TRUE; 1579s # goto out; 1579s # } 1579s # if (a == NULL || b == NULL) 1579s # goto out; 1579s # if (g_strv_length (a) != g_strv_length (b)) 1579s # goto out; 1579s # for (n = 0; a[n] != NULL; n++) 1579s # if (g_strcmp0 (a[n], b[n]) != 0) 1579s # goto out; 1579s # ret = TRUE; 1579s # out: 1579s # return ret; 1579s # } 1579s # 1579s # static gboolean 1579s # _g_variant_equal0 (GVariant *a, GVariant *b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # if (a == NULL && b == NULL) 1579s # { 1579s # ret = TRUE; 1579s # goto out; 1579s # } 1579s # if (a == NULL || b == NULL) 1579s # goto out; 1579s # ret = g_variant_equal (a, b); 1579s # out: 1579s # return ret; 1579s # } 1579s # 1579s # G_GNUC_UNUSED static gboolean 1579s # _g_value_equal (const GValue *a, const GValue *b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1579s # switch (G_VALUE_TYPE (a)) 1579s # { 1579s # case G_TYPE_BOOLEAN: 1579s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1579s # break; 1579s # case G_TYPE_UCHAR: 1579s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1579s # break; 1579s # case G_TYPE_INT: 1579s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1579s # break; 1579s # case G_TYPE_UINT: 1579s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1579s # break; 1579s # case G_TYPE_INT64: 1579s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1579s # break; 1579s # case G_TYPE_UINT64: 1579s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1579s # break; 1579s # case G_TYPE_DOUBLE: 1579s # { 1579s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1579s # gdouble da = g_value_get_double (a); 1579s # gdouble db = g_value_get_double (b); 1579s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1579s # } 1579s # break; 1579s # case G_TYPE_STRING: 1579s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1579s # break; 1579s # case G_TYPE_VARIANT: 1579s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1579s # break; 1579s # default: 1579s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1579s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1579s # else 1579s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1579s # break; 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static void 1579s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1579s # GClosure *closure, 1579s # GValue *return_value, 1579s # unsigned int n_param_values, 1579s # const GValue *param_values, 1579s # void *invocation_hint G_GNUC_UNUSED, 1579s # void *marshal_data) 1579s # { 1579s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1579s # (void *data1, 1579s # GDBusMethodInvocation *arg_method_invocation, 1579s # const gchar *const *arg_arg_ao, 1579s # void *data2); 1579s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1579s # GCClosure *cc = (GCClosure*) closure; 1579s # void *data1, *data2; 1579s # gboolean v_return; 1579s # 1579s # g_return_if_fail (return_value != NULL); 1579s # g_return_if_fail (n_param_values == 3); 1579s # 1579s # if (G_CCLOSURE_SWAP_DATA (closure)) 1579s # { 1579s # data1 = closure->data; 1579s # data2 = g_value_peek_pointer (param_values + 0); 1579s # } 1579s # else 1579s # { 1579s # data1 = g_value_peek_pointer (param_values + 0); 1579s # data2 = closure->data; 1579s # } 1579s # 1579s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1579s # (marshal_data ? marshal_data : cc->callback); 1579s # 1579s # v_return = 1579s # callback (data1, 1579s # g_marshal_value_peek_object (param_values + 1), 1579s # g_marshal_value_peek_boxed (param_values + 2), 1579s # data2); 1579s # 1579s # g_value_set_boolean (return_value, v_return); 1579s # } 1579s # 1579s # /* ------------------------------------------------------------------------ 1579s # * Code for interface org.project.UsefulInterface 1579s # * ------------------------------------------------------------------------ 1579s # */ 1579s # 1579s # /** 1579s # * SECTION:OrgProjectUsefulInterface 1579s # * @title: OrgProjectUsefulInterface 1579s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1579s # * 1579s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1579s # */ 1579s # 1579s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1579s # 1579s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "arg_ao", 1579s # (gchar *) "ao", 1579s # NULL 1579s # }, 1579s # FALSE 1579s # }; 1579s # 1579s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1579s # { 1579s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1579s # NULL 1579s # }; 1579s # 1579s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "SingleArgMethodAo", 1579s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1579s # NULL, 1579s # NULL 1579s # }, 1579s # "handle-single-arg-method-ao", 1579s # FALSE 1579s # }; 1579s # 1579s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1579s # { 1579s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1579s # NULL 1579s # }; 1579s # 1579s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "org.project.UsefulInterface", 1579s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1579s # NULL, 1579s # NULL, 1579s # NULL 1579s # }, 1579s # "org-project-useful-interface", 1579s # }; 1579s # 1579s # 1579s # /** 1579s # * org_project_useful_interface_interface_info: 1579s # * 1579s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1579s # * 1579s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1579s # */ 1579s # GDBusInterfaceInfo * 1579s # org_project_useful_interface_interface_info (void) 1579s # { 1579s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_override_properties: 1579s # * @klass: The class structure for a #GObject derived class. 1579s # * @property_id_begin: The property id to assign to the first overridden property. 1579s # * 1579s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1579s # * The properties are overridden in the order they are defined. 1579s # * 1579s # * Returns: The last property id. 1579s # */ 1579s # guint 1579s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1579s # { 1579s # return property_id_begin - 1; 1579s # } 1579s # 1579s # 1579s # inline static void 1579s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1579s # GClosure *closure, 1579s # GValue *return_value, 1579s # unsigned int n_param_values, 1579s # const GValue *param_values, 1579s # void *invocation_hint, 1579s # void *marshal_data) 1579s # { 1579s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1579s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1579s # } 1579s # 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterface: 1579s # * 1579s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceIface: 1579s # * @parent_iface: The parent interface. 1579s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1579s # * 1579s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1579s # */ 1579s # 1579s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1579s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1579s # 1579s # static void 1579s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1579s # { 1579s # /* GObject signals for incoming D-Bus method calls: */ 1579s # /** 1579s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1579s # * @object: A #OrgProjectUsefulInterface. 1579s # * @invocation: A #GDBusMethodInvocation. 1579s # * @arg_arg_ao: Argument passed by remote caller. 1579s # * 1579s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1579s # * 1579s # * 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. 1579s # * 1579s # * 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. 1579s # */ 1579s # g_signal_new ("handle-single-arg-method-ao", 1579s # G_TYPE_FROM_INTERFACE (iface), 1579s # G_SIGNAL_RUN_LAST, 1579s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1579s # g_signal_accumulator_true_handled, 1579s # NULL, 1579s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1579s # G_TYPE_BOOLEAN, 1579s # 2, 1579s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1579s # 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_ao: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @arg_arg_ao: Argument to pass with the method invocation. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1579s # */ 1579s # void 1579s # org_project_useful_interface_call_single_arg_method_ao ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # const gchar *const *arg_arg_ao, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1579s # "SingleArgMethodAo", 1579s # g_variant_new ("(^ao)", 1579s # arg_arg_ao), 1579s # G_DBUS_CALL_FLAGS_NONE, 1579s # -1, 1579s # cancellable, 1579s # callback, 1579s # user_data); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1579s # * @error: Return location for error or %NULL. 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1579s # * 1579s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1579s # */ 1579s # gboolean 1579s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GVariant *_ret; 1579s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1579s # if (_ret == NULL) 1579s # goto _out; 1579s # g_variant_get (_ret, 1579s # "()"); 1579s # g_variant_unref (_ret); 1579s # _out: 1579s # return _ret != NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @arg_arg_ao: Argument to pass with the method invocation. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL. 1579s # * 1579s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1579s # * 1579s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1579s # */ 1579s # gboolean 1579s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # const gchar *const *arg_arg_ao, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GVariant *_ret; 1579s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1579s # "SingleArgMethodAo", 1579s # g_variant_new ("(^ao)", 1579s # arg_arg_ao), 1579s # G_DBUS_CALL_FLAGS_NONE, 1579s # -1, 1579s # cancellable, 1579s # error); 1579s # if (_ret == NULL) 1579s # goto _out; 1579s # g_variant_get (_ret, 1579s # "()"); 1579s # g_variant_unref (_ret); 1579s # _out: 1579s # return _ret != NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_complete_single_arg_method_ao: 1579s # * @object: A #OrgProjectUsefulInterface. 1579s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1579s # * 1579s # * 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. 1579s # * 1579s # * This method will free @invocation, you cannot use it afterwards. 1579s # */ 1579s # void 1579s # org_project_useful_interface_complete_single_arg_method_ao ( 1579s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1579s # GDBusMethodInvocation *invocation) 1579s # { 1579s # g_dbus_method_invocation_return_value (invocation, 1579s # g_variant_new ("()")); 1579s # } 1579s # 1579s # /* ------------------------------------------------------------------------ */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceProxy: 1579s # * 1579s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceProxyClass: 1579s # * @parent_class: The parent class. 1579s # * 1579s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1579s # */ 1579s # 1579s # struct _OrgProjectUsefulInterfaceProxyPrivate 1579s # { 1579s # GData *qdata; 1579s # }; 1579s # 1579s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1579s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1579s # 1579s # #else 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1579s # 1579s # #endif 1579s # static void 1579s # org_project_useful_interface_proxy_finalize (GObject *object) 1579s # { 1579s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1579s # g_datalist_clear (&proxy->priv->qdata); 1579s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1579s # guint prop_id G_GNUC_UNUSED, 1579s # GValue *value G_GNUC_UNUSED, 1579s # GParamSpec *pspec G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1579s # guint prop_id G_GNUC_UNUSED, 1579s # const GValue *value G_GNUC_UNUSED, 1579s # GParamSpec *pspec G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1579s # const gchar *sender_name G_GNUC_UNUSED, 1579s # const gchar *signal_name, 1579s # GVariant *parameters) 1579s # { 1579s # _ExtendedGDBusSignalInfo *info; 1579s # GVariantIter iter; 1579s # GVariant *child; 1579s # GValue *paramv; 1579s # gsize num_params; 1579s # gsize n; 1579s # guint signal_id; 1579s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1579s # if (info == NULL) 1579s # return; 1579s # num_params = g_variant_n_children (parameters); 1579s # paramv = g_new0 (GValue, num_params + 1); 1579s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_set_object (¶mv[0], proxy); 1579s # g_variant_iter_init (&iter, parameters); 1579s # n = 1; 1579s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1579s # { 1579s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1579s # if (arg_info->use_gvariant) 1579s # { 1579s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1579s # g_value_set_variant (¶mv[n], child); 1579s # n++; 1579s # } 1579s # else 1579s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1579s # g_variant_unref (child); 1579s # } 1579s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_signal_emitv (paramv, signal_id, 0, NULL); 1579s # for (n = 0; n < num_params + 1; n++) 1579s # g_value_unset (¶mv[n]); 1579s # g_free (paramv); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1579s # GVariant *changed_properties, 1579s # const gchar *const *invalidated_properties) 1579s # { 1579s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1579s # guint n; 1579s # const gchar *key; 1579s # GVariantIter *iter; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # g_variant_get (changed_properties, "a{sv}", &iter); 1579s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1579s # { 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1579s # g_datalist_remove_data (&proxy->priv->qdata, key); 1579s # if (info != NULL) 1579s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1579s # } 1579s # g_variant_iter_free (iter); 1579s # for (n = 0; invalidated_properties[n] != NULL; n++) 1579s # { 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1579s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1579s # if (info != NULL) 1579s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1579s # } 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1579s # { 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1579s # #else 1579s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1579s # #endif 1579s # 1579s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1579s # { 1579s # GObjectClass *gobject_class; 1579s # GDBusProxyClass *proxy_class; 1579s # 1579s # gobject_class = G_OBJECT_CLASS (klass); 1579s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1579s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1579s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1579s # 1579s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1579s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1579s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1579s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1579s # #endif 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new: 1579s # * @connection: A #GDBusConnection. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1579s # * 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1579s # */ 1579s # void 1579s # org_project_useful_interface_proxy_new ( 1579s # GDBusConnection *connection, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_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); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_finish: 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_finish ( 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GObject *ret; 1579s # GObject *source_object; 1579s # source_object = g_async_result_get_source_object (res); 1579s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1579s # g_object_unref (source_object); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_sync: 1579s # * @connection: A #GDBusConnection. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1579s # * 1579s # * The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_sync ( 1579s # GDBusConnection *connection, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GInitable *ret; 1579s # 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); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus: 1579s # * @bus_type: A #GBusType. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: A bus name (well-known or unique). 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1579s # * 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1579s # */ 1579s # void 1579s # org_project_useful_interface_proxy_new_for_bus ( 1579s # GBusType bus_type, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_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); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus_finish: 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_for_bus_finish ( 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GObject *ret; 1579s # GObject *source_object; 1579s # source_object = g_async_result_get_source_object (res); 1579s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1579s # g_object_unref (source_object); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus_sync: 1579s # * @bus_type: A #GBusType. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: A bus name (well-known or unique). 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1579s # * 1579s # * The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_for_bus_sync ( 1579s # GBusType bus_type, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GInitable *ret; 1579s # 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); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # 1579s # /* ------------------------------------------------------------------------ */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceSkeleton: 1579s # * 1579s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceSkeletonClass: 1579s # * @parent_class: The parent class. 1579s # * 1579s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1579s # */ 1579s # 1579s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1579s # { 1579s # GValue *properties; 1579s # GList *changed_properties; 1579s # GSource *changed_properties_idle_source; 1579s # GMainContext *context; 1579s # GMutex lock; 1579s # }; 1579s # 1579s # static void 1579s # _org_project_useful_interface_skeleton_handle_method_call ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name, 1579s # const gchar *method_name, 1579s # GVariant *parameters, 1579s # GDBusMethodInvocation *invocation, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # _ExtendedGDBusMethodInfo *info; 1579s # GVariantIter iter; 1579s # GVariant *child; 1579s # GValue *paramv; 1579s # gsize num_params; 1579s # guint num_extra; 1579s # gsize n; 1579s # guint signal_id; 1579s # GValue return_value = G_VALUE_INIT; 1579s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1579s # g_assert (info != NULL); 1579s # num_params = g_variant_n_children (parameters); 1579s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1579s # n = 0; 1579s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_set_object (¶mv[n++], skeleton); 1579s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1579s # g_value_set_object (¶mv[n++], invocation); 1579s # if (info->pass_fdlist) 1579s # { 1579s # #ifdef G_OS_UNIX 1579s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1579s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1579s # #else 1579s # g_assert_not_reached (); 1579s # #endif 1579s # } 1579s # g_variant_iter_init (&iter, parameters); 1579s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1579s # { 1579s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1579s # if (arg_info->use_gvariant) 1579s # { 1579s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1579s # g_value_set_variant (¶mv[n], child); 1579s # n++; 1579s # } 1579s # else 1579s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1579s # g_variant_unref (child); 1579s # } 1579s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1579s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1579s # if (!g_value_get_boolean (&return_value)) 1579s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1579s # g_value_unset (&return_value); 1579s # for (n = 0; n < num_params + num_extra; n++) 1579s # g_value_unset (¶mv[n]); 1579s # g_free (paramv); 1579s # } 1579s # 1579s # static GVariant * 1579s # _org_project_useful_interface_skeleton_handle_get_property ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name G_GNUC_UNUSED, 1579s # const gchar *property_name, 1579s # GError **error, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # GValue value = G_VALUE_INIT; 1579s # GParamSpec *pspec; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # GVariant *ret; 1579s # ret = NULL; 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1579s # g_assert (info != NULL); 1579s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1579s # if (pspec == NULL) 1579s # { 1579s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1579s # } 1579s # else 1579s # { 1579s # g_value_init (&value, pspec->value_type); 1579s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1579s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1579s # g_value_unset (&value); 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static gboolean 1579s # _org_project_useful_interface_skeleton_handle_set_property ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name G_GNUC_UNUSED, 1579s # const gchar *property_name, 1579s # GVariant *variant, 1579s # GError **error, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # GValue value = G_VALUE_INIT; 1579s # GParamSpec *pspec; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # gboolean ret; 1579s # ret = FALSE; 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1579s # g_assert (info != NULL); 1579s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1579s # if (pspec == NULL) 1579s # { 1579s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1579s # } 1579s # else 1579s # { 1579s # if (info->use_gvariant) 1579s # g_value_set_variant (&value, variant); 1579s # else 1579s # g_dbus_gvariant_to_gvalue (variant, &value); 1579s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1579s # g_value_unset (&value); 1579s # ret = TRUE; 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1579s # { 1579s # _org_project_useful_interface_skeleton_handle_method_call, 1579s # _org_project_useful_interface_skeleton_handle_get_property, 1579s # _org_project_useful_interface_skeleton_handle_set_property, 1579s # {NULL} 1579s # }; 1579s # 1579s # static GDBusInterfaceInfo * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1579s # { 1579s # return org_project_useful_interface_interface_info (); 1579s # } 1579s # 1579s # static GDBusInterfaceVTable * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1579s # { 1579s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1579s # } 1579s # 1579s # static GVariant * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1579s # 1579s # GVariantBuilder builder; 1579s # guint n; 1579s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1579s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1579s # goto out; 1579s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1579s # { 1579s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1579s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1579s # { 1579s # GVariant *value; 1579s # 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); 1579s # if (value != NULL) 1579s # { 1579s # g_variant_take_ref (value); 1579s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1579s # g_variant_unref (value); 1579s # } 1579s # } 1579s # } 1579s # out: 1579s # return g_variant_builder_end (&builder); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1579s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1579s # 1579s # #else 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1579s # 1579s # #endif 1579s # static void 1579s # org_project_useful_interface_skeleton_finalize (GObject *object) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1579s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1579s # if (skeleton->priv->changed_properties_idle_source != NULL) 1579s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1579s # g_main_context_unref (skeleton->priv->context); 1579s # g_mutex_clear (&skeleton->priv->lock); 1579s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1579s # { 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1579s # #else 1579s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1579s # #endif 1579s # 1579s # g_mutex_init (&skeleton->priv->lock); 1579s # skeleton->priv->context = g_main_context_ref_thread_default (); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1579s # { 1579s # GObjectClass *gobject_class; 1579s # GDBusInterfaceSkeletonClass *skeleton_class; 1579s # 1579s # gobject_class = G_OBJECT_CLASS (klass); 1579s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1579s # 1579s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1579s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1579s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1579s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1579s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1579s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1579s # #endif 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_skeleton_new: 1579s # * 1579s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_skeleton_new (void) 1579s # { 1579s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1579s # } 1579s # /tmp/tmpv7ru1vhb/tmpn073g3zr.xml: 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmpn073g3zr.xml', '--output', '-', '--body'] 1579s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1579s # Output: /* 1579s # * This file is generated by gdbus-codegen, do not modify it. 1579s # * 1579s # * The license of this code is the same as for the D-Bus interface description 1579s # * it was derived from. Note that it links to GLib, so must comply with the 1579s # * LGPL linking clauses. 1579s # */ 1579s # 1579s # #ifdef HAVE_CONFIG_H 1579s # # include "config.h" 1579s # #endif 1579s # 1579s # #include 1579s # #ifdef G_OS_UNIX 1579s # # include 1579s # #endif 1579s # 1579s # #ifdef G_ENABLE_DEBUG 1579s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1579s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1579s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1579s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1579s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1579s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1579s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1579s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1579s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1579s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1579s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1579s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1579s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1579s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1579s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1579s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1579s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1579s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1579s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1579s # #else /* !G_ENABLE_DEBUG */ 1579s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1579s # * Do not access GValues directly in your code. Instead, use the 1579s # * g_value_get_*() functions 1579s # */ 1579s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1579s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1579s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1579s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1579s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1579s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1579s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1579s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1579s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1579s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1579s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1579s # #endif /* !G_ENABLE_DEBUG */ 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusArgInfo parent_struct; 1579s # gboolean use_gvariant; 1579s # } _ExtendedGDBusArgInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusMethodInfo parent_struct; 1579s # const gchar *signal_name; 1579s # gboolean pass_fdlist; 1579s # } _ExtendedGDBusMethodInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusSignalInfo parent_struct; 1579s # const gchar *signal_name; 1579s # } _ExtendedGDBusSignalInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusPropertyInfo parent_struct; 1579s # const gchar *hyphen_name; 1579s # guint use_gvariant : 1; 1579s # guint emits_changed_signal : 1; 1579s # } _ExtendedGDBusPropertyInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusInterfaceInfo parent_struct; 1579s # const gchar *hyphen_name; 1579s # } _ExtendedGDBusInterfaceInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # const _ExtendedGDBusPropertyInfo *info; 1579s # guint prop_id; 1579s # GValue orig_value; /* the value before the change */ 1579s # } ChangedProperty; 1579s # 1579s # static void 1579s # _changed_property_free (ChangedProperty *data) 1579s # { 1579s # g_value_unset (&data->orig_value); 1579s # g_free (data); 1579s # } 1579s # 1579s # static gboolean 1579s # _g_strv_equal0 (gchar **a, gchar **b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # guint n; 1579s # if (a == NULL && b == NULL) 1579s # { 1579s # ret = TRUE; 1579s # goto out; 1579s # } 1579s # if (a == NULL || b == NULL) 1579s # goto out; 1579s # if (g_strv_length (a) != g_strv_length (b)) 1579s # goto out; 1579s # for (n = 0; a[n] != NULL; n++) 1579s # if (g_strcmp0 (a[n], b[n]) != 0) 1579s # goto out; 1579s # ret = TRUE; 1579s # out: 1579s # return ret; 1579s # } 1579s # 1579s # static gboolean 1579s # _g_variant_equal0 (GVariant *a, GVariant *b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # if (a == NULL && b == NULL) 1579s # { 1579s # ret = TRUE; 1579s # goto out; 1579s # } 1579s # if (a == NULL || b == NULL) 1579s # goto out; 1579s # ret = g_variant_equal (a, b); 1579s # out: 1579s # return ret; 1579s # } 1579s # 1579s # G_GNUC_UNUSED static gboolean 1579s # _g_value_equal (const GValue *a, const GValue *b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1579s # switch (G_VALUE_TYPE (a)) 1579s # { 1579s # case G_TYPE_BOOLEAN: 1579s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1579s # break; 1579s # case G_TYPE_UCHAR: 1579s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1579s # break; 1579s # case G_TYPE_INT: 1579s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1579s # break; 1579s # case G_TYPE_UINT: 1579s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1579s # break; 1579s # case G_TYPE_INT64: 1579s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1579s # break; 1579s # case G_TYPE_UINT64: 1579s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1579s # break; 1579s # case G_TYPE_DOUBLE: 1579s # { 1579s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1579s # gdouble da = g_value_get_double (a); 1579s # gdouble db = g_value_get_double (b); 1579s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1579s # } 1579s # break; 1579s # case G_TYPE_STRING: 1579s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1579s # break; 1579s # case G_TYPE_VARIANT: 1579s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1579s # break; 1579s # default: 1579s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1579s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1579s # else 1579s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1579s # break; 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static void 1579s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1579s # GClosure *closure, 1579s # GValue *return_value, 1579s # unsigned int n_param_values, 1579s # const GValue *param_values, 1579s # void *invocation_hint G_GNUC_UNUSED, 1579s # void *marshal_data) 1579s # { 1579s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1579s # (void *data1, 1579s # GDBusMethodInvocation *arg_method_invocation, 1579s # const gchar *const *arg_arg_aay, 1579s # void *data2); 1579s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1579s # GCClosure *cc = (GCClosure*) closure; 1579s # void *data1, *data2; 1579s # gboolean v_return; 1579s # 1579s # g_return_if_fail (return_value != NULL); 1579s # g_return_if_fail (n_param_values == 3); 1579s # 1579s # if (G_CCLOSURE_SWAP_DATA (closure)) 1579s # { 1579s # data1 = closure->data; 1579s # data2 = g_value_peek_pointer (param_values + 0); 1579s # } 1579s # else 1579s # { 1579s # data1 = g_value_peek_pointer (param_values + 0); 1579s # data2 = closure->data; 1579s # } 1579s # 1579s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1579s # (marshal_data ? marshal_data : cc->callback); 1579s # 1579s # v_return = 1579s # callback (data1, 1579s # g_marshal_value_peek_object (param_values + 1), 1579s # g_marshal_value_peek_boxed (param_values + 2), 1579s # data2); 1579s # 1579s # g_value_set_boolean (return_value, v_return); 1579s # } 1579s # 1579s # /* ------------------------------------------------------------------------ 1579s # * Code for interface org.project.UsefulInterface 1579s # * ------------------------------------------------------------------------ 1579s # */ 1579s # 1579s # /** 1579s # * SECTION:OrgProjectUsefulInterface 1579s # * @title: OrgProjectUsefulInterface 1579s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1579s # * 1579s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1579s # */ 1579s # 1579s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1579s # 1579s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "arg_aay", 1579s # (gchar *) "aay", 1579s # NULL 1579s # }, 1579s # FALSE 1579s # }; 1579s # 1579s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1579s # { 1579s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1579s # NULL 1579s # }; 1579s # 1579s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "SingleArgMethodAay", 1579s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1579s # NULL, 1579s # NULL 1579s # }, 1579s # "handle-single-arg-method-aay", 1579s # FALSE 1579s # }; 1579s # 1579s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1579s # { 1579s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1579s # NULL 1579s # }; 1579s # 1579s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "org.project.UsefulInterface", 1579s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1579s # NULL, 1579s # NULL, 1579s # NULL 1579s # }, 1579s # "org-project-useful-interface", 1579s # }; 1579s # 1579s # 1579s # /** 1579s # * org_project_useful_interface_interface_info: 1579s # * 1579s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1579s # * 1579s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1579s # */ 1579s # GDBusInterfaceInfo * 1579s # org_project_useful_interface_interface_info (void) 1579s # { 1579s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_override_properties: 1579s # * @klass: The class structure for a #GObject derived class. 1579s # * @property_id_begin: The property id to assign to the first overridden property. 1579s # * 1579s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1579s # * The properties are overridden in the order they are defined. 1579s # * 1579s # * Returns: The last property id. 1579s # */ 1579s # guint 1579s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1579s # { 1579s # return property_id_begin - 1; 1579s # } 1579s # 1579s # 1579s # inline static void 1579s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1579s # GClosure *closure, 1579s # GValue *return_value, 1579s # unsigned int n_param_values, 1579s # const GValue *param_values, 1579s # void *invocation_hint, 1579s # void *marshal_data) 1579s # { 1579s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1579s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1579s # } 1579s # 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterface: 1579s # * 1579s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceIface: 1579s # * @parent_iface: The parent interface. 1579s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1579s # * 1579s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1579s # */ 1579s # 1579s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1579s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1579s # 1579s # static void 1579s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1579s # { 1579s # /* GObject signals for incoming D-Bus method calls: */ 1579s # /** 1579s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1579s # * @object: A #OrgProjectUsefulInterface. 1579s # * @invocation: A #GDBusMethodInvocation. 1579s # * @arg_arg_aay: Argument passed by remote caller. 1579s # * 1579s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1579s # * 1579s # * 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. 1579s # * 1579s # * 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. 1579s # */ 1579s # g_signal_new ("handle-single-arg-method-aay", 1579s # G_TYPE_FROM_INTERFACE (iface), 1579s # G_SIGNAL_RUN_LAST, 1579s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1579s # g_signal_accumulator_true_handled, 1579s # NULL, 1579s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1579s # G_TYPE_BOOLEAN, 1579s # 2, 1579s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1579s # 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_aay: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @arg_arg_aay: Argument to pass with the method invocation. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1579s # */ 1579s # void 1579s # org_project_useful_interface_call_single_arg_method_aay ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # const gchar *const *arg_arg_aay, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1579s # "SingleArgMethodAay", 1579s # g_variant_new ("(^aay)", 1579s # arg_arg_aay), 1579s # G_DBUS_CALL_FLAGS_NONE, 1579s # -1, 1579s # cancellable, 1579s # callback, 1579s # user_data); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1579s # * @error: Return location for error or %NULL. 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1579s # * 1579s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1579s # */ 1579s # gboolean 1579s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GVariant *_ret; 1579s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1579s # if (_ret == NULL) 1579s # goto _out; 1579s # g_variant_get (_ret, 1579s # "()"); 1579s # g_variant_unref (_ret); 1579s # _out: 1579s # return _ret != NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @arg_arg_aay: Argument to pass with the method invocation. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL. 1579s # * 1579s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1579s # * 1579s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1579s # */ 1579s # gboolean 1579s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # const gchar *const *arg_arg_aay, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GVariant *_ret; 1579s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1579s # "SingleArgMethodAay", 1579s # g_variant_new ("(^aay)", 1579s # arg_arg_aay), 1579s # G_DBUS_CALL_FLAGS_NONE, 1579s # -1, 1579s # cancellable, 1579s # error); 1579s # if (_ret == NULL) 1579s # goto _out; 1579s # g_variant_get (_ret, 1579s # "()"); 1579s # g_variant_unref (_ret); 1579s # _out: 1579s # return _ret != NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_complete_single_arg_method_aay: 1579s # * @object: A #OrgProjectUsefulInterface. 1579s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1579s # * 1579s # * 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. 1579s # * 1579s # * This method will free @invocation, you cannot use it afterwards. 1579s # */ 1579s # void 1579s # org_project_useful_interface_complete_single_arg_method_aay ( 1579s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1579s # GDBusMethodInvocation *invocation) 1579s # { 1579s # g_dbus_method_invocation_return_value (invocation, 1579s # g_variant_new ("()")); 1579s # } 1579s # 1579s # /* ------------------------------------------------------------------------ */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceProxy: 1579s # * 1579s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceProxyClass: 1579s # * @parent_class: The parent class. 1579s # * 1579s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1579s # */ 1579s # 1579s # struct _OrgProjectUsefulInterfaceProxyPrivate 1579s # { 1579s # GData *qdata; 1579s # }; 1579s # 1579s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1579s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1579s # 1579s # #else 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1579s # 1579s # #endif 1579s # static void 1579s # org_project_useful_interface_proxy_finalize (GObject *object) 1579s # { 1579s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1579s # g_datalist_clear (&proxy->priv->qdata); 1579s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1579s # guint prop_id G_GNUC_UNUSED, 1579s # GValue *value G_GNUC_UNUSED, 1579s # GParamSpec *pspec G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1579s # guint prop_id G_GNUC_UNUSED, 1579s # const GValue *value G_GNUC_UNUSED, 1579s # GParamSpec *pspec G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1579s # const gchar *sender_name G_GNUC_UNUSED, 1579s # const gchar *signal_name, 1579s # GVariant *parameters) 1579s # { 1579s # _ExtendedGDBusSignalInfo *info; 1579s # GVariantIter iter; 1579s # GVariant *child; 1579s # GValue *paramv; 1579s # gsize num_params; 1579s # gsize n; 1579s # guint signal_id; 1579s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1579s # if (info == NULL) 1579s # return; 1579s # num_params = g_variant_n_children (parameters); 1579s # paramv = g_new0 (GValue, num_params + 1); 1579s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_set_object (¶mv[0], proxy); 1579s # g_variant_iter_init (&iter, parameters); 1579s # n = 1; 1579s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1579s # { 1579s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1579s # if (arg_info->use_gvariant) 1579s # { 1579s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1579s # g_value_set_variant (¶mv[n], child); 1579s # n++; 1579s # } 1579s # else 1579s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1579s # g_variant_unref (child); 1579s # } 1579s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_signal_emitv (paramv, signal_id, 0, NULL); 1579s # for (n = 0; n < num_params + 1; n++) 1579s # g_value_unset (¶mv[n]); 1579s # g_free (paramv); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1579s # GVariant *changed_properties, 1579s # const gchar *const *invalidated_properties) 1579s # { 1579s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1579s # guint n; 1579s # const gchar *key; 1579s # GVariantIter *iter; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # g_variant_get (changed_properties, "a{sv}", &iter); 1579s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1579s # { 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1579s # g_datalist_remove_data (&proxy->priv->qdata, key); 1579s # if (info != NULL) 1579s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1579s # } 1579s # g_variant_iter_free (iter); 1579s # for (n = 0; invalidated_properties[n] != NULL; n++) 1579s # { 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1579s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1579s # if (info != NULL) 1579s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1579s # } 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1579s # { 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1579s # #else 1579s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1579s # #endif 1579s # 1579s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1579s # { 1579s # GObjectClass *gobject_class; 1579s # GDBusProxyClass *proxy_class; 1579s # 1579s # gobject_class = G_OBJECT_CLASS (klass); 1579s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1579s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1579s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1579s # 1579s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1579s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1579s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1579s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1579s # #endif 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new: 1579s # * @connection: A #GDBusConnection. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1579s # * 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1579s # */ 1579s # void 1579s # org_project_useful_interface_proxy_new ( 1579s # GDBusConnection *connection, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_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); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_finish: 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_finish ( 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GObject *ret; 1579s # GObject *source_object; 1579s # source_object = g_async_result_get_source_object (res); 1579s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1579s # g_object_unref (source_object); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_sync: 1579s # * @connection: A #GDBusConnection. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1579s # * 1579s # * The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_sync ( 1579s # GDBusConnection *connection, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GInitable *ret; 1579s # 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); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus: 1579s # * @bus_type: A #GBusType. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: A bus name (well-known or unique). 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1579s # * 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1579s # */ 1579s # void 1579s # org_project_useful_interface_proxy_new_for_bus ( 1579s # GBusType bus_type, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_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); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus_finish: 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_for_bus_finish ( 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GObject *ret; 1579s # GObject *source_object; 1579s # source_object = g_async_result_get_source_object (res); 1579s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1579s # g_object_unref (source_object); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus_sync: 1579s # * @bus_type: A #GBusType. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: A bus name (well-known or unique). 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1579s # * 1579s # * The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_for_bus_sync ( 1579s # GBusType bus_type, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GInitable *ret; 1579s # 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); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # 1579s # /* ------------------------------------------------------------------------ */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceSkeleton: 1579s # * 1579s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceSkeletonClass: 1579s # * @parent_class: The parent class. 1579s # * 1579s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1579s # */ 1579s # 1579s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1579s # { 1579s # GValue *properties; 1579s # GList *changed_properties; 1579s # GSource *changed_properties_idle_source; 1579s # GMainContext *context; 1579s # GMutex lock; 1579s # }; 1579s # 1579s # static void 1579s # _org_project_useful_interface_skeleton_handle_method_call ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name, 1579s # const gchar *method_name, 1579s # GVariant *parameters, 1579s # GDBusMethodInvocation *invocation, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # _ExtendedGDBusMethodInfo *info; 1579s # GVariantIter iter; 1579s # GVariant *child; 1579s # GValue *paramv; 1579s # gsize num_params; 1579s # guint num_extra; 1579s # gsize n; 1579s # guint signal_id; 1579s # GValue return_value = G_VALUE_INIT; 1579s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1579s # g_assert (info != NULL); 1579s # num_params = g_variant_n_children (parameters); 1579s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1579s # n = 0; 1579s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_set_object (¶mv[n++], skeleton); 1579s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1579s # g_value_set_object (¶mv[n++], invocation); 1579s # if (info->pass_fdlist) 1579s # { 1579s # #ifdef G_OS_UNIX 1579s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1579s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1579s # #else 1579s # g_assert_not_reached (); 1579s # #endif 1579s # } 1579s # g_variant_iter_init (&iter, parameters); 1579s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1579s # { 1579s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1579s # if (arg_info->use_gvariant) 1579s # { 1579s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1579s # g_value_set_variant (¶mv[n], child); 1579s # n++; 1579s # } 1579s # else 1579s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1579s # g_variant_unref (child); 1579s # } 1579s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1579s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1579s # if (!g_value_get_boolean (&return_value)) 1579s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1579s # g_value_unset (&return_value); 1579s # for (n = 0; n < num_params + num_extra; n++) 1579s # g_value_unset (¶mv[n]); 1579s # g_free (paramv); 1579s # } 1579s # 1579s # static GVariant * 1579s # _org_project_useful_interface_skeleton_handle_get_property ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name G_GNUC_UNUSED, 1579s # const gchar *property_name, 1579s # GError **error, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # GValue value = G_VALUE_INIT; 1579s # GParamSpec *pspec; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # GVariant *ret; 1579s # ret = NULL; 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1579s # g_assert (info != NULL); 1579s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1579s # if (pspec == NULL) 1579s # { 1579s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1579s # } 1579s # else 1579s # { 1579s # g_value_init (&value, pspec->value_type); 1579s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1579s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1579s # g_value_unset (&value); 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static gboolean 1579s # _org_project_useful_interface_skeleton_handle_set_property ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name G_GNUC_UNUSED, 1579s # const gchar *property_name, 1579s # GVariant *variant, 1579s # GError **error, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # GValue value = G_VALUE_INIT; 1579s # GParamSpec *pspec; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # gboolean ret; 1579s # ret = FALSE; 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1579s # g_assert (info != NULL); 1579s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1579s # if (pspec == NULL) 1579s # { 1579s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1579s # } 1579s # else 1579s # { 1579s # if (info->use_gvariant) 1579s # g_value_set_variant (&value, variant); 1579s # else 1579s # g_dbus_gvariant_to_gvalue (variant, &value); 1579s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1579s # g_value_unset (&value); 1579s # ret = TRUE; 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1579s # { 1579s # _org_project_useful_interface_skeleton_handle_method_call, 1579s # _org_project_useful_interface_skeleton_handle_get_property, 1579s # _org_project_useful_interface_skeleton_handle_set_property, 1579s # {NULL} 1579s # }; 1579s # 1579s # static GDBusInterfaceInfo * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1579s # { 1579s # return org_project_useful_interface_interface_info (); 1579s # } 1579s # 1579s # static GDBusInterfaceVTable * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1579s # { 1579s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1579s # } 1579s # 1579s # static GVariant * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1579s # 1579s # GVariantBuilder builder; 1579s # guint n; 1579s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1579s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1579s # goto out; 1579s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1579s # { 1579s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1579s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1579s # { 1579s # GVariant *value; 1579s # 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); 1579s # if (value != NULL) 1579s # { 1579s # g_variant_take_ref (value); 1579s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1579s # g_variant_unref (value); 1579s # } 1579s # } 1579s # } 1579s # out: 1579s # return g_variant_builder_end (&builder); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1579s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1579s # 1579s # #else 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1579s # 1579s # #endif 1579s # static void 1579s # org_project_useful_interface_skeleton_finalize (GObject *object) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1579s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1579s # if (skeleton->priv->changed_properties_idle_source != NULL) 1579s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1579s # g_main_context_unref (skeleton->priv->context); 1579s # g_mutex_clear (&skeleton->priv->lock); 1579s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1579s # { 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1579s # #else 1579s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1579s # #endif 1579s # 1579s # g_mutex_init (&skeleton->priv->lock); 1579s # skeleton->priv->context = g_main_context_ref_thread_default (); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1579s # { 1579s # GObjectClass *gobject_class; 1579s # GDBusInterfaceSkeletonClass *skeleton_class; 1579s # 1579s # gobject_class = G_OBJECT_CLASS (klass); 1579s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1579s # 1579s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1579s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1579s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1579s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1579s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1579s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1579s # #endif 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_skeleton_new: 1579s # * 1579s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_skeleton_new (void) 1579s # { 1579s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1579s # } 1579s # /tmp/tmpv7ru1vhb/tmp4t83wt6z.xml: 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # 1579s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7ru1vhb/tmp4t83wt6z.xml', '--output', '-', '--body'] 1579s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1579s # Output: /* 1579s # * This file is generated by gdbus-codegen, do not modify it. 1579s # * 1579s # * The license of this code is the same as for the D-Bus interface description 1579s # * it was derived from. Note that it links to GLib, so must comply with the 1579s # * LGPL linking clauses. 1579s # */ 1579s # 1579s # #ifdef HAVE_CONFIG_H 1579s # # include "config.h" 1579s # #endif 1579s # 1579s # #include 1579s # #ifdef G_OS_UNIX 1579s # # include 1579s # #endif 1579s # 1579s # #ifdef G_ENABLE_DEBUG 1579s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1579s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1579s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1579s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1579s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1579s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1579s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1579s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1579s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1579s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1579s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1579s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1579s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1579s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1579s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1579s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1579s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1579s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1579s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1579s # #else /* !G_ENABLE_DEBUG */ 1579s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1579s # * Do not access GValues directly in your code. Instead, use the 1579s # * g_value_get_*() functions 1579s # */ 1579s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1579s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1579s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1579s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1579s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1579s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1579s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1579s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1579s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1579s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1579s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1579s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1579s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1579s # #endif /* !G_ENABLE_DEBUG */ 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusArgInfo parent_struct; 1579s # gboolean use_gvariant; 1579s # } _ExtendedGDBusArgInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusMethodInfo parent_struct; 1579s # const gchar *signal_name; 1579s # gboolean pass_fdlist; 1579s # } _ExtendedGDBusMethodInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusSignalInfo parent_struct; 1579s # const gchar *signal_name; 1579s # } _ExtendedGDBusSignalInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusPropertyInfo parent_struct; 1579s # const gchar *hyphen_name; 1579s # guint use_gvariant : 1; 1579s # guint emits_changed_signal : 1; 1579s # } _ExtendedGDBusPropertyInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # GDBusInterfaceInfo parent_struct; 1579s # const gchar *hyphen_name; 1579s # } _ExtendedGDBusInterfaceInfo; 1579s # 1579s # typedef struct 1579s # { 1579s # const _ExtendedGDBusPropertyInfo *info; 1579s # guint prop_id; 1579s # GValue orig_value; /* the value before the change */ 1579s # } ChangedProperty; 1579s # 1579s # static void 1579s # _changed_property_free (ChangedProperty *data) 1579s # { 1579s # g_value_unset (&data->orig_value); 1579s # g_free (data); 1579s # } 1579s # 1579s # static gboolean 1579s # _g_strv_equal0 (gchar **a, gchar **b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # guint n; 1579s # if (a == NULL && b == NULL) 1579s # { 1579s # ret = TRUE; 1579s # goto out; 1579s # } 1579s # if (a == NULL || b == NULL) 1579s # goto out; 1579s # if (g_strv_length (a) != g_strv_length (b)) 1579s # goto out; 1579s # for (n = 0; a[n] != NULL; n++) 1579s # if (g_strcmp0 (a[n], b[n]) != 0) 1579s # goto out; 1579s # ret = TRUE; 1579s # out: 1579s # return ret; 1579s # } 1579s # 1579s # static gboolean 1579s # _g_variant_equal0 (GVariant *a, GVariant *b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # if (a == NULL && b == NULL) 1579s # { 1579s # ret = TRUE; 1579s # goto out; 1579s # } 1579s # if (a == NULL || b == NULL) 1579s # goto out; 1579s # ret = g_variant_equal (a, b); 1579s # out: 1579s # return ret; 1579s # } 1579s # 1579s # G_GNUC_UNUSED static gboolean 1579s # _g_value_equal (const GValue *a, const GValue *b) 1579s # { 1579s # gboolean ret = FALSE; 1579s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1579s # switch (G_VALUE_TYPE (a)) 1579s # { 1579s # case G_TYPE_BOOLEAN: 1579s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1579s # break; 1579s # case G_TYPE_UCHAR: 1579s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1579s # break; 1579s # case G_TYPE_INT: 1579s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1579s # break; 1579s # case G_TYPE_UINT: 1579s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1579s # break; 1579s # case G_TYPE_INT64: 1579s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1579s # break; 1579s # case G_TYPE_UINT64: 1579s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1579s # break; 1579s # case G_TYPE_DOUBLE: 1579s # { 1579s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1579s # gdouble da = g_value_get_double (a); 1579s # gdouble db = g_value_get_double (b); 1579s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1579s # } 1579s # break; 1579s # case G_TYPE_STRING: 1579s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1579s # break; 1579s # case G_TYPE_VARIANT: 1579s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1579s # break; 1579s # default: 1579s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1579s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1579s # else 1579s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1579s # break; 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static void 1579s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1579s # GClosure *closure, 1579s # GValue *return_value, 1579s # unsigned int n_param_values, 1579s # const GValue *param_values, 1579s # void *invocation_hint G_GNUC_UNUSED, 1579s # void *marshal_data) 1579s # { 1579s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1579s # (void *data1, 1579s # GDBusMethodInvocation *arg_method_invocation, 1579s # GVariant *arg_arg_asv, 1579s # void *data2); 1579s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1579s # GCClosure *cc = (GCClosure*) closure; 1579s # void *data1, *data2; 1579s # gboolean v_return; 1579s # 1579s # g_return_if_fail (return_value != NULL); 1579s # g_return_if_fail (n_param_values == 3); 1579s # 1579s # if (G_CCLOSURE_SWAP_DATA (closure)) 1579s # { 1579s # data1 = closure->data; 1579s # data2 = g_value_peek_pointer (param_values + 0); 1579s # } 1579s # else 1579s # { 1579s # data1 = g_value_peek_pointer (param_values + 0); 1579s # data2 = closure->data; 1579s # } 1579s # 1579s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1579s # (marshal_data ? marshal_data : cc->callback); 1579s # 1579s # v_return = 1579s # callback (data1, 1579s # g_marshal_value_peek_object (param_values + 1), 1579s # g_marshal_value_peek_variant (param_values + 2), 1579s # data2); 1579s # 1579s # g_value_set_boolean (return_value, v_return); 1579s # } 1579s # 1579s # /* ------------------------------------------------------------------------ 1579s # * Code for interface org.project.UsefulInterface 1579s # * ------------------------------------------------------------------------ 1579s # */ 1579s # 1579s # /** 1579s # * SECTION:OrgProjectUsefulInterface 1579s # * @title: OrgProjectUsefulInterface 1579s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1579s # * 1579s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1579s # */ 1579s # 1579s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1579s # 1579s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "arg_asv", 1579s # (gchar *) "a{sv}", 1579s # NULL 1579s # }, 1579s # FALSE 1579s # }; 1579s # 1579s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1579s # { 1579s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1579s # NULL 1579s # }; 1579s # 1579s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "SingleArgMethodAsv", 1579s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1579s # NULL, 1579s # NULL 1579s # }, 1579s # "handle-single-arg-method-asv", 1579s # FALSE 1579s # }; 1579s # 1579s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1579s # { 1579s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1579s # NULL 1579s # }; 1579s # 1579s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1579s # { 1579s # { 1579s # -1, 1579s # (gchar *) "org.project.UsefulInterface", 1579s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1579s # NULL, 1579s # NULL, 1579s # NULL 1579s # }, 1579s # "org-project-useful-interface", 1579s # }; 1579s # 1579s # 1579s # /** 1579s # * org_project_useful_interface_interface_info: 1579s # * 1579s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1579s # * 1579s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1579s # */ 1579s # GDBusInterfaceInfo * 1579s # org_project_useful_interface_interface_info (void) 1579s # { 1579s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_override_properties: 1579s # * @klass: The class structure for a #GObject derived class. 1579s # * @property_id_begin: The property id to assign to the first overridden property. 1579s # * 1579s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1579s # * The properties are overridden in the order they are defined. 1579s # * 1579s # * Returns: The last property id. 1579s # */ 1579s # guint 1579s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1579s # { 1579s # return property_id_begin - 1; 1579s # } 1579s # 1579s # 1579s # inline static void 1579s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1579s # GClosure *closure, 1579s # GValue *return_value, 1579s # unsigned int n_param_values, 1579s # const GValue *param_values, 1579s # void *invocation_hint, 1579s # void *marshal_data) 1579s # { 1579s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1579s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1579s # } 1579s # 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterface: 1579s # * 1579s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceIface: 1579s # * @parent_iface: The parent interface. 1579s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1579s # * 1579s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1579s # */ 1579s # 1579s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1579s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1579s # 1579s # static void 1579s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1579s # { 1579s # /* GObject signals for incoming D-Bus method calls: */ 1579s # /** 1579s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1579s # * @object: A #OrgProjectUsefulInterface. 1579s # * @invocation: A #GDBusMethodInvocation. 1579s # * @arg_arg_asv: Argument passed by remote caller. 1579s # * 1579s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1579s # * 1579s # * 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. 1579s # * 1579s # * 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. 1579s # */ 1579s # g_signal_new ("handle-single-arg-method-asv", 1579s # G_TYPE_FROM_INTERFACE (iface), 1579s # G_SIGNAL_RUN_LAST, 1579s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1579s # g_signal_accumulator_true_handled, 1579s # NULL, 1579s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1579s # G_TYPE_BOOLEAN, 1579s # 2, 1579s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1579s # 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_asv: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @arg_arg_asv: Argument to pass with the method invocation. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1579s # */ 1579s # void 1579s # org_project_useful_interface_call_single_arg_method_asv ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # GVariant *arg_arg_asv, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1579s # "SingleArgMethodAsv", 1579s # g_variant_new ("(@a{sv})", 1579s # arg_arg_asv), 1579s # G_DBUS_CALL_FLAGS_NONE, 1579s # -1, 1579s # cancellable, 1579s # callback, 1579s # user_data); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1579s # * @error: Return location for error or %NULL. 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1579s # * 1579s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1579s # */ 1579s # gboolean 1579s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GVariant *_ret; 1579s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1579s # if (_ret == NULL) 1579s # goto _out; 1579s # g_variant_get (_ret, 1579s # "()"); 1579s # g_variant_unref (_ret); 1579s # _out: 1579s # return _ret != NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1579s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1579s # * @arg_arg_asv: Argument to pass with the method invocation. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL. 1579s # * 1579s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1579s # * 1579s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1579s # */ 1579s # gboolean 1579s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1579s # OrgProjectUsefulInterface *proxy, 1579s # GVariant *arg_arg_asv, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GVariant *_ret; 1579s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1579s # "SingleArgMethodAsv", 1579s # g_variant_new ("(@a{sv})", 1579s # arg_arg_asv), 1579s # G_DBUS_CALL_FLAGS_NONE, 1579s # -1, 1579s # cancellable, 1579s # error); 1579s # if (_ret == NULL) 1579s # goto _out; 1579s # g_variant_get (_ret, 1579s # "()"); 1579s # g_variant_unref (_ret); 1579s # _out: 1579s # return _ret != NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_complete_single_arg_method_asv: 1579s # * @object: A #OrgProjectUsefulInterface. 1579s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1579s # * 1579s # * 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. 1579s # * 1579s # * This method will free @invocation, you cannot use it afterwards. 1579s # */ 1579s # void 1579s # org_project_useful_interface_complete_single_arg_method_asv ( 1579s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1579s # GDBusMethodInvocation *invocation) 1579s # { 1579s # g_dbus_method_invocation_return_value (invocation, 1579s # g_variant_new ("()")); 1579s # } 1579s # 1579s # /* ------------------------------------------------------------------------ */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceProxy: 1579s # * 1579s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceProxyClass: 1579s # * @parent_class: The parent class. 1579s # * 1579s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1579s # */ 1579s # 1579s # struct _OrgProjectUsefulInterfaceProxyPrivate 1579s # { 1579s # GData *qdata; 1579s # }; 1579s # 1579s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1579s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1579s # 1579s # #else 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1579s # 1579s # #endif 1579s # static void 1579s # org_project_useful_interface_proxy_finalize (GObject *object) 1579s # { 1579s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1579s # g_datalist_clear (&proxy->priv->qdata); 1579s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1579s # guint prop_id G_GNUC_UNUSED, 1579s # GValue *value G_GNUC_UNUSED, 1579s # GParamSpec *pspec G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1579s # guint prop_id G_GNUC_UNUSED, 1579s # const GValue *value G_GNUC_UNUSED, 1579s # GParamSpec *pspec G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1579s # const gchar *sender_name G_GNUC_UNUSED, 1579s # const gchar *signal_name, 1579s # GVariant *parameters) 1579s # { 1579s # _ExtendedGDBusSignalInfo *info; 1579s # GVariantIter iter; 1579s # GVariant *child; 1579s # GValue *paramv; 1579s # gsize num_params; 1579s # gsize n; 1579s # guint signal_id; 1579s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1579s # if (info == NULL) 1579s # return; 1579s # num_params = g_variant_n_children (parameters); 1579s # paramv = g_new0 (GValue, num_params + 1); 1579s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_set_object (¶mv[0], proxy); 1579s # g_variant_iter_init (&iter, parameters); 1579s # n = 1; 1579s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1579s # { 1579s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1579s # if (arg_info->use_gvariant) 1579s # { 1579s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1579s # g_value_set_variant (¶mv[n], child); 1579s # n++; 1579s # } 1579s # else 1579s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1579s # g_variant_unref (child); 1579s # } 1579s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_signal_emitv (paramv, signal_id, 0, NULL); 1579s # for (n = 0; n < num_params + 1; n++) 1579s # g_value_unset (¶mv[n]); 1579s # g_free (paramv); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1579s # GVariant *changed_properties, 1579s # const gchar *const *invalidated_properties) 1579s # { 1579s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1579s # guint n; 1579s # const gchar *key; 1579s # GVariantIter *iter; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # g_variant_get (changed_properties, "a{sv}", &iter); 1579s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1579s # { 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1579s # g_datalist_remove_data (&proxy->priv->qdata, key); 1579s # if (info != NULL) 1579s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1579s # } 1579s # g_variant_iter_free (iter); 1579s # for (n = 0; invalidated_properties[n] != NULL; n++) 1579s # { 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1579s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1579s # if (info != NULL) 1579s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1579s # } 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1579s # { 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1579s # #else 1579s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1579s # #endif 1579s # 1579s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1579s # { 1579s # GObjectClass *gobject_class; 1579s # GDBusProxyClass *proxy_class; 1579s # 1579s # gobject_class = G_OBJECT_CLASS (klass); 1579s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1579s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1579s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1579s # 1579s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1579s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1579s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1579s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1579s # #endif 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new: 1579s # * @connection: A #GDBusConnection. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1579s # * 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1579s # */ 1579s # void 1579s # org_project_useful_interface_proxy_new ( 1579s # GDBusConnection *connection, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_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); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_finish: 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_finish ( 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GObject *ret; 1579s # GObject *source_object; 1579s # source_object = g_async_result_get_source_object (res); 1579s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1579s # g_object_unref (source_object); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_sync: 1579s # * @connection: A #GDBusConnection. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1579s # * 1579s # * The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_sync ( 1579s # GDBusConnection *connection, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GInitable *ret; 1579s # 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); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus: 1579s # * @bus_type: A #GBusType. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: A bus name (well-known or unique). 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1579s # * @user_data: User data to pass to @callback. 1579s # * 1579s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1579s # * 1579s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1579s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1579s # */ 1579s # void 1579s # org_project_useful_interface_proxy_new_for_bus ( 1579s # GBusType bus_type, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GAsyncReadyCallback callback, 1579s # gpointer user_data) 1579s # { 1579s # g_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); 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus_finish: 1579s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_for_bus_finish ( 1579s # GAsyncResult *res, 1579s # GError **error) 1579s # { 1579s # GObject *ret; 1579s # GObject *source_object; 1579s # source_object = g_async_result_get_source_object (res); 1579s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1579s # g_object_unref (source_object); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_proxy_new_for_bus_sync: 1579s # * @bus_type: A #GBusType. 1579s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1579s # * @name: A bus name (well-known or unique). 1579s # * @object_path: An object path. 1579s # * @cancellable: (nullable): A #GCancellable or %NULL. 1579s # * @error: Return location for error or %NULL 1579s # * 1579s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1579s # * 1579s # * The calling thread is blocked until a reply is received. 1579s # * 1579s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_proxy_new_for_bus_sync ( 1579s # GBusType bus_type, 1579s # GDBusProxyFlags flags, 1579s # const gchar *name, 1579s # const gchar *object_path, 1579s # GCancellable *cancellable, 1579s # GError **error) 1579s # { 1579s # GInitable *ret; 1579s # 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); 1579s # if (ret != NULL) 1579s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1579s # else 1579s # return NULL; 1579s # } 1579s # 1579s # 1579s # /* ------------------------------------------------------------------------ */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceSkeleton: 1579s # * 1579s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1579s # */ 1579s # 1579s # /** 1579s # * OrgProjectUsefulInterfaceSkeletonClass: 1579s # * @parent_class: The parent class. 1579s # * 1579s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1579s # */ 1579s # 1579s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1579s # { 1579s # GValue *properties; 1579s # GList *changed_properties; 1579s # GSource *changed_properties_idle_source; 1579s # GMainContext *context; 1579s # GMutex lock; 1579s # }; 1579s # 1579s # static void 1579s # _org_project_useful_interface_skeleton_handle_method_call ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name, 1579s # const gchar *method_name, 1579s # GVariant *parameters, 1579s # GDBusMethodInvocation *invocation, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # _ExtendedGDBusMethodInfo *info; 1579s # GVariantIter iter; 1579s # GVariant *child; 1579s # GValue *paramv; 1579s # gsize num_params; 1579s # guint num_extra; 1579s # gsize n; 1579s # guint signal_id; 1579s # GValue return_value = G_VALUE_INIT; 1579s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1579s # g_assert (info != NULL); 1579s # num_params = g_variant_n_children (parameters); 1579s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1579s # n = 0; 1579s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_set_object (¶mv[n++], skeleton); 1579s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1579s # g_value_set_object (¶mv[n++], invocation); 1579s # if (info->pass_fdlist) 1579s # { 1579s # #ifdef G_OS_UNIX 1579s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1579s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1579s # #else 1579s # g_assert_not_reached (); 1579s # #endif 1579s # } 1579s # g_variant_iter_init (&iter, parameters); 1579s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1579s # { 1579s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1579s # if (arg_info->use_gvariant) 1579s # { 1579s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1579s # g_value_set_variant (¶mv[n], child); 1579s # n++; 1579s # } 1579s # else 1579s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1579s # g_variant_unref (child); 1579s # } 1579s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1579s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1579s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1579s # if (!g_value_get_boolean (&return_value)) 1579s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1579s # g_value_unset (&return_value); 1579s # for (n = 0; n < num_params + num_extra; n++) 1579s # g_value_unset (¶mv[n]); 1579s # g_free (paramv); 1579s # } 1579s # 1579s # static GVariant * 1579s # _org_project_useful_interface_skeleton_handle_get_property ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name G_GNUC_UNUSED, 1579s # const gchar *property_name, 1579s # GError **error, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # GValue value = G_VALUE_INIT; 1579s # GParamSpec *pspec; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # GVariant *ret; 1579s # ret = NULL; 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1579s # g_assert (info != NULL); 1579s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1579s # if (pspec == NULL) 1579s # { 1579s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1579s # } 1579s # else 1579s # { 1579s # g_value_init (&value, pspec->value_type); 1579s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1579s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1579s # g_value_unset (&value); 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static gboolean 1579s # _org_project_useful_interface_skeleton_handle_set_property ( 1579s # GDBusConnection *connection G_GNUC_UNUSED, 1579s # const gchar *sender G_GNUC_UNUSED, 1579s # const gchar *object_path G_GNUC_UNUSED, 1579s # const gchar *interface_name G_GNUC_UNUSED, 1579s # const gchar *property_name, 1579s # GVariant *variant, 1579s # GError **error, 1579s # gpointer user_data) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1579s # GValue value = G_VALUE_INIT; 1579s # GParamSpec *pspec; 1579s # _ExtendedGDBusPropertyInfo *info; 1579s # gboolean ret; 1579s # ret = FALSE; 1579s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1579s # g_assert (info != NULL); 1579s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1579s # if (pspec == NULL) 1579s # { 1579s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1579s # } 1579s # else 1579s # { 1579s # if (info->use_gvariant) 1579s # g_value_set_variant (&value, variant); 1579s # else 1579s # g_dbus_gvariant_to_gvalue (variant, &value); 1579s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1579s # g_value_unset (&value); 1579s # ret = TRUE; 1579s # } 1579s # return ret; 1579s # } 1579s # 1579s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1579s # { 1579s # _org_project_useful_interface_skeleton_handle_method_call, 1579s # _org_project_useful_interface_skeleton_handle_get_property, 1579s # _org_project_useful_interface_skeleton_handle_set_property, 1579s # {NULL} 1579s # }; 1579s # 1579s # static GDBusInterfaceInfo * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1579s # { 1579s # return org_project_useful_interface_interface_info (); 1579s # } 1579s # 1579s # static GDBusInterfaceVTable * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1579s # { 1579s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1579s # } 1579s # 1579s # static GVariant * 1579s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1579s # 1579s # GVariantBuilder builder; 1579s # guint n; 1579s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1579s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1579s # goto out; 1579s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1579s # { 1579s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1579s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1579s # { 1579s # GVariant *value; 1579s # 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); 1579s # if (value != NULL) 1579s # { 1579s # g_variant_take_ref (value); 1579s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1579s # g_variant_unref (value); 1579s # } 1579s # } 1579s # } 1579s # out: 1579s # return g_variant_builder_end (&builder); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1579s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1579s # 1579s # #else 1579s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1579s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1579s # 1579s # #endif 1579s # static void 1579s # org_project_useful_interface_skeleton_finalize (GObject *object) 1579s # { 1579s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1579s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1579s # if (skeleton->priv->changed_properties_idle_source != NULL) 1579s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1579s # g_main_context_unref (skeleton->priv->context); 1579s # g_mutex_clear (&skeleton->priv->lock); 1579s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1579s # { 1579s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1579s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1579s # #else 1579s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1579s # #endif 1579s # 1579s # g_mutex_init (&skeleton->priv->lock); 1579s # skeleton->priv->context = g_main_context_ref_thread_default (); 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1579s # { 1579s # GObjectClass *gobject_class; 1579s # GDBusInterfaceSkeletonClass *skeleton_class; 1579s # 1579s # gobject_class = G_OBJECT_CLASS (klass); 1579s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1579s # 1579s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1579s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1579s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1579s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1579s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1579s # 1579s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1579s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1579s # #endif 1579s # } 1579s # 1579s # static void 1579s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1579s # { 1579s # } 1579s # 1579s # /** 1579s # * org_project_useful_interface_skeleton_new: 1579s # * 1579s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1579s # * 1579s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1579s # */ 1579s # OrgProjectUsefulInterface * 1579s # org_project_useful_interface_skeleton_new (void) 1579s # { 1579s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1579s # } 1580s # Executing: glib/codegen.py.test 1582s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1582s # tmpdir: /tmp/tmpd6a234ne 1582s # codegen: /usr/bin/gdbus-codegen 1582s # /tmp/tmpd6a234ne/tmpv_ghgrmo.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmpv_ghgrmo.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_b", 1582s # (gchar *) "b", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodB", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-b", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-b", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_b, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_b: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_b ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodB", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_b_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_b_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gboolean *out_arg_b, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(b)", 1582s # out_arg_b); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_b_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_b_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gboolean *out_arg_b, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodB", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(b)", 1582s # out_arg_b); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_b: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_b: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_b ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # gboolean arg_b) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(b)", 1582s # arg_b)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmp6s5vbfhh.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmp6s5vbfhh.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_y", 1582s # (gchar *) "y", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodY", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-y", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-y", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_y, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_y: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_y ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodY", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_y_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_y_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # guchar *out_arg_y, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(y)", 1582s # out_arg_y); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_y_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_y_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # guchar *out_arg_y, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodY", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(y)", 1582s # out_arg_y); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_y: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_y: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_y ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # guchar arg_y) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(y)", 1582s # arg_y)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmphzex9cxg.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmphzex9cxg.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_n", 1582s # (gchar *) "n", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodN", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-n", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-n", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_n, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_n: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_n ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodN", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_n_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_n_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gint16 *out_arg_n, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(n)", 1582s # out_arg_n); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_n_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_n_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gint16 *out_arg_n, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodN", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(n)", 1582s # out_arg_n); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_n: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_n: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_n ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # gint16 arg_n) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(n)", 1582s # arg_n)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmphywyprvi.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmphywyprvi.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_q", 1582s # (gchar *) "q", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodQ", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-q", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-q", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_q, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_q: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_q ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodQ", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_q_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_q_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # guint16 *out_arg_q, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(q)", 1582s # out_arg_q); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_q_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_q_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # guint16 *out_arg_q, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodQ", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(q)", 1582s # out_arg_q); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_q: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_q: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_q ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # guint16 arg_q) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(q)", 1582s # arg_q)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmp8uqeo49i.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmp8uqeo49i.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_i", 1582s # (gchar *) "i", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodI", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-i", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-i", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_i, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_i: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_i ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodI", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_i_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_i_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gint *out_arg_i, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(i)", 1582s # out_arg_i); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_i_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_i_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gint *out_arg_i, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodI", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(i)", 1582s # out_arg_i); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_i: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_i: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_i ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # gint arg_i) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(i)", 1582s # arg_i)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmpbzqp3xyr.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmpbzqp3xyr.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_u", 1582s # (gchar *) "u", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodU", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-u", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-u", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_u, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_u: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_u ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodU", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_u_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_u_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # guint *out_arg_u, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(u)", 1582s # out_arg_u); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_u_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_u_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # guint *out_arg_u, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodU", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(u)", 1582s # out_arg_u); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_u: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_u: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_u ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # guint arg_u) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(u)", 1582s # arg_u)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmp569r6862.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmp569r6862.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_x", 1582s # (gchar *) "x", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodX", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-x", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-x", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_x, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_x: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_x ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodX", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_x_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_x_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gint64 *out_arg_x, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(x)", 1582s # out_arg_x); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_x_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_x_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gint64 *out_arg_x, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodX", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(x)", 1582s # out_arg_x); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_x: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_x: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_x ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # gint64 arg_x) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(x)", 1582s # arg_x)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmp2yal1gad.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmp2yal1gad.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_t", 1582s # (gchar *) "t", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodT", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-t", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-t", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_t, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_t: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_t ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodT", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_t_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_t_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # guint64 *out_arg_t, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(t)", 1582s # out_arg_t); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_t_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_t_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # guint64 *out_arg_t, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodT", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(t)", 1582s # out_arg_t); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_t: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_t: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_t ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # guint64 arg_t) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(t)", 1582s # arg_t)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmp48h1yh5i.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmp48h1yh5i.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_d", 1582s # (gchar *) "d", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodD", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-d", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-d", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_d, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_d: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_d ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodD", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_d_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_d_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gdouble *out_arg_d, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(d)", 1582s # out_arg_d); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_d_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_d_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gdouble *out_arg_d, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodD", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(d)", 1582s # out_arg_d); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_d: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_d: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_d ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # gdouble arg_d) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(d)", 1582s # arg_d)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmpdqdl77qo.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmpdqdl77qo.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_s", 1582s # (gchar *) "s", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodS", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-s", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-s", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_s, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_s: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_s ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodS", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_s_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_s_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar **out_arg_s, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(s)", 1582s # out_arg_s); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_s_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_s_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar **out_arg_s, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodS", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(s)", 1582s # out_arg_s); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_s: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_s: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_s ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # const gchar *arg_s) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(s)", 1582s # arg_s)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmp4thqsqtr.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmp4thqsqtr.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_o", 1582s # (gchar *) "o", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodO", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-o", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-o", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_o, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_o: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_o ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodO", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_o_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_o_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar **out_arg_o, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(o)", 1582s # out_arg_o); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_o_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_o_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar **out_arg_o, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodO", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(o)", 1582s # out_arg_o); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_o: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_o: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_o ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # const gchar *arg_o) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(o)", 1582s # arg_o)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmp_y5z9mbf.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmp_y5z9mbf.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_g", 1582s # (gchar *) "g", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodG", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-g", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-g", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_g, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_g: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_g ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodG", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_g_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_g_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar **out_arg_g, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(g)", 1582s # out_arg_g); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_g_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_g_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar **out_arg_g, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodG", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(g)", 1582s # out_arg_g); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_g: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_g: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_g ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # const gchar *arg_g) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(g)", 1582s # arg_g)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmps0qtkgqe.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmps0qtkgqe.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_h", 1582s # (gchar *) "h", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodH", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-h", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-h", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_h, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_h: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_h ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodH", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_h_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_h_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GVariant **out_arg_h, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(@h)", 1582s # out_arg_h); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_h_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_h_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GVariant **out_arg_h, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodH", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(@h)", 1582s # out_arg_h); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_h: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_h: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_h ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # GVariant *arg_h) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(@h)", 1582s # arg_h)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmpw48qi_7r.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmpw48qi_7r.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_ay", 1582s # (gchar *) "ay", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodAy", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-ay", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-ay", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_ay: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_ay ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodAy", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar **out_arg_ay, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(^ay)", 1582s # out_arg_ay); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar **out_arg_ay, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodAy", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(^ay)", 1582s # out_arg_ay); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_ay: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_ay: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_ay ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # const gchar *arg_ay) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(^ay)", 1582s # arg_ay)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmpyz4bl9gm.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmpyz4bl9gm.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_as", 1582s # (gchar *) "as", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodAs", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-as", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-as", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_as, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_as: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_as ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodAs", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_as_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_as_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar ***out_arg_as, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(^as)", 1582s # out_arg_as); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_as_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_as_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar ***out_arg_as, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodAs", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(^as)", 1582s # out_arg_as); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_as: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_as: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_as ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # const gchar *const *arg_as) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(^as)", 1582s # arg_as)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmp05d38ytz.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmp05d38ytz.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_ao", 1582s # (gchar *) "ao", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodAo", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-ao", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-ao", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_ao: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_ao ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodAo", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar ***out_arg_ao, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(^ao)", 1582s # out_arg_ao); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar ***out_arg_ao, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodAo", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(^ao)", 1582s # out_arg_ao); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_ao: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_ao: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_ao ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # const gchar *const *arg_ao) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(^ao)", 1582s # arg_ao)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmpvuz65xjb.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmpvuz65xjb.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_aay", 1582s # (gchar *) "aay", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodAay", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-aay", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-aay", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_aay: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_aay ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodAay", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar ***out_arg_aay, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(^aay)", 1582s # out_arg_aay); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # gchar ***out_arg_aay, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodAay", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(^aay)", 1582s # out_arg_aay); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_aay: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_aay: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_aay ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # const gchar *const *arg_aay) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(^aay)", 1582s # arg_aay)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s # /tmp/tmpd6a234ne/tmpe0a8ekdy.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd6a234ne/tmpe0a8ekdy.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.UsefulInterface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectUsefulInterface 1582s # * @title: OrgProjectUsefulInterface 1582s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "arg_asv", 1582s # (gchar *) "a{sv}", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SingleArgMethodAsv", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-single-arg-method-asv", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1582s # { 1582s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.UsefulInterface", 1582s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-useful-interface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_useful_interface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1582s # */ 1582s # 1582s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-single-arg-method-asv", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_asv: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_useful_interface_call_single_arg_method_asv ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodAsv", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GVariant **out_arg_asv, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(@a{sv})", 1582s # out_arg_asv); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1582s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1582s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1582s # OrgProjectUsefulInterface *proxy, 1582s # GVariant **out_arg_asv, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SingleArgMethodAsv", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(@a{sv})", 1582s # out_arg_asv); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_complete_single_arg_method_asv: 1582s # * @object: A #OrgProjectUsefulInterface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @arg_asv: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_useful_interface_complete_single_arg_method_asv ( 1582s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # GVariant *arg_asv) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(@a{sv})", 1582s # arg_asv)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxy: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1582s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1582s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_useful_interface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeleton: 1582s # * 1582s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectUsefulInterfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_useful_interface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_useful_interface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_useful_interface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1582s # { 1582s # _org_project_useful_interface_skeleton_handle_method_call, 1582s # _org_project_useful_interface_skeleton_handle_get_property, 1582s # _org_project_useful_interface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_useful_interface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_useful_interface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_useful_interface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectUsefulInterface * 1582s # org_project_useful_interface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1582s # } 1582s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1582s # tmpdir: /tmp/tmpq9shse3i 1582s # codegen: /usr/bin/gdbus-codegen 1582s # /tmp/tmpq9shse3i/tmppyyjj79y.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq9shse3i/tmppyyjj79y.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # gboolean arg_an_b, 1582s # guchar arg_an_y, 1582s # gint16 arg_an_n, 1582s # guint16 arg_an_q, 1582s # gint arg_an_i, 1582s # guint arg_an_u, 1582s # gint64 arg_an_x, 1582s # guint64 arg_an_t, 1582s # gdouble arg_an_d, 1582s # const gchar *arg_an_s, 1582s # const gchar *arg_an_o, 1582s # const gchar *arg_an_g, 1582s # GVariant *arg_an_h, 1582s # const gchar *arg_an_ay, 1582s # const gchar *const *arg_an_as, 1582s # const gchar *const *arg_an_ao, 1582s # const gchar *const *arg_an_aay, 1582s # GVariant *arg_an_asv, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 20); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # g_marshal_value_peek_boolean (param_values + 2), 1582s # g_marshal_value_peek_uchar (param_values + 3), 1582s # g_marshal_value_peek_int (param_values + 4), 1582s # g_marshal_value_peek_uint (param_values + 5), 1582s # g_marshal_value_peek_int (param_values + 6), 1582s # g_marshal_value_peek_uint (param_values + 7), 1582s # g_marshal_value_peek_int64 (param_values + 8), 1582s # g_marshal_value_peek_uint64 (param_values + 9), 1582s # g_marshal_value_peek_double (param_values + 10), 1582s # g_marshal_value_peek_string (param_values + 11), 1582s # g_marshal_value_peek_string (param_values + 12), 1582s # g_marshal_value_peek_string (param_values + 13), 1582s # g_marshal_value_peek_variant (param_values + 14), 1582s # g_marshal_value_peek_string (param_values + 15), 1582s # g_marshal_value_peek_boxed (param_values + 16), 1582s # g_marshal_value_peek_boxed (param_values + 17), 1582s # g_marshal_value_peek_boxed (param_values + 18), 1582s # g_marshal_value_peek_variant (param_values + 19), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.CallableIface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectCallableIface 1582s # * @title: OrgProjectCallableIface 1582s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.CallableIface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_b", 1582s # (gchar *) "b", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_y", 1582s # (gchar *) "y", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_n", 1582s # (gchar *) "n", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_q", 1582s # (gchar *) "q", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_i", 1582s # (gchar *) "i", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_u", 1582s # (gchar *) "u", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_x", 1582s # (gchar *) "x", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_t", 1582s # (gchar *) "t", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_d", 1582s # (gchar *) "d", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_s", 1582s # (gchar *) "s", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_o", 1582s # (gchar *) "o", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_g", 1582s # (gchar *) "g", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_h", 1582s # (gchar *) "h", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_ay", 1582s # (gchar *) "ay", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_as", 1582s # (gchar *) "as", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_ao", 1582s # (gchar *) "ao", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_aay", 1582s # (gchar *) "aay", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_asv", 1582s # (gchar *) "a{sv}", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1582s # { 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "MethodWithManyArgs", 1582s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "handle-method-with-many-args", 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_b", 1582s # (gchar *) "b", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_y", 1582s # (gchar *) "y", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_n", 1582s # (gchar *) "n", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_q", 1582s # (gchar *) "q", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_i", 1582s # (gchar *) "i", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_u", 1582s # (gchar *) "u", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_x", 1582s # (gchar *) "x", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_t", 1582s # (gchar *) "t", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_d", 1582s # (gchar *) "d", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_s", 1582s # (gchar *) "s", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_o", 1582s # (gchar *) "o", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_g", 1582s # (gchar *) "g", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_h", 1582s # (gchar *) "h", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_ay", 1582s # (gchar *) "ay", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_as", 1582s # (gchar *) "as", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_ao", 1582s # (gchar *) "ao", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_aay", 1582s # (gchar *) "aay", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_asv", 1582s # (gchar *) "a{sv}", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1582s # { 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "SameMethodWithManyArgs", 1582s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "handle-same-method-with-many-args", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1582s # { 1582s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1582s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.CallableIface", 1582s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-callable-iface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_callable_iface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_callable_iface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_callable_iface_method_marshal_method_with_many_args ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _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, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # inline static void 1582s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _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, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectCallableIface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectCallableIfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1582s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.CallableIface. 1582s # */ 1582s # 1582s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectCallableIface::handle-method-with-many-args: 1582s # * @object: A #OrgProjectCallableIface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * @arg_an_b: Argument passed by remote caller. 1582s # * @arg_an_y: Argument passed by remote caller. 1582s # * @arg_an_n: Argument passed by remote caller. 1582s # * @arg_an_q: Argument passed by remote caller. 1582s # * @arg_an_i: Argument passed by remote caller. 1582s # * @arg_an_u: Argument passed by remote caller. 1582s # * @arg_an_x: Argument passed by remote caller. 1582s # * @arg_an_t: Argument passed by remote caller. 1582s # * @arg_an_d: Argument passed by remote caller. 1582s # * @arg_an_s: Argument passed by remote caller. 1582s # * @arg_an_o: Argument passed by remote caller. 1582s # * @arg_an_g: Argument passed by remote caller. 1582s # * @arg_an_h: Argument passed by remote caller. 1582s # * @arg_an_ay: Argument passed by remote caller. 1582s # * @arg_an_as: Argument passed by remote caller. 1582s # * @arg_an_ao: Argument passed by remote caller. 1582s # * @arg_an_aay: Argument passed by remote caller. 1582s # * @arg_an_asv: Argument passed by remote caller. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-method-with-many-args", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_callable_iface_method_marshal_method_with_many_args, 1582s # G_TYPE_BOOLEAN, 1582s # 19, 1582s # 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); 1582s # 1582s # /** 1582s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1582s # * @object: A #OrgProjectCallableIface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * @arg_an_b: Argument passed by remote caller. 1582s # * @arg_an_y: Argument passed by remote caller. 1582s # * @arg_an_n: Argument passed by remote caller. 1582s # * @arg_an_q: Argument passed by remote caller. 1582s # * @arg_an_i: Argument passed by remote caller. 1582s # * @arg_an_u: Argument passed by remote caller. 1582s # * @arg_an_x: Argument passed by remote caller. 1582s # * @arg_an_t: Argument passed by remote caller. 1582s # * @arg_an_d: Argument passed by remote caller. 1582s # * @arg_an_s: Argument passed by remote caller. 1582s # * @arg_an_o: Argument passed by remote caller. 1582s # * @arg_an_g: Argument passed by remote caller. 1582s # * @arg_an_h: Argument passed by remote caller. 1582s # * @arg_an_ay: Argument passed by remote caller. 1582s # * @arg_an_as: Argument passed by remote caller. 1582s # * @arg_an_ao: Argument passed by remote caller. 1582s # * @arg_an_aay: Argument passed by remote caller. 1582s # * @arg_an_asv: Argument passed by remote caller. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-same-method-with-many-args", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1582s # G_TYPE_BOOLEAN, 1582s # 19, 1582s # 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); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_call_method_with_many_args: 1582s # * @proxy: A #OrgProjectCallableIfaceProxy. 1582s # * @arg_an_b: Argument to pass with the method invocation. 1582s # * @arg_an_y: Argument to pass with the method invocation. 1582s # * @arg_an_n: Argument to pass with the method invocation. 1582s # * @arg_an_q: Argument to pass with the method invocation. 1582s # * @arg_an_i: Argument to pass with the method invocation. 1582s # * @arg_an_u: Argument to pass with the method invocation. 1582s # * @arg_an_x: Argument to pass with the method invocation. 1582s # * @arg_an_t: Argument to pass with the method invocation. 1582s # * @arg_an_d: Argument to pass with the method invocation. 1582s # * @arg_an_s: Argument to pass with the method invocation. 1582s # * @arg_an_o: Argument to pass with the method invocation. 1582s # * @arg_an_g: Argument to pass with the method invocation. 1582s # * @arg_an_h: Argument to pass with the method invocation. 1582s # * @arg_an_ay: Argument to pass with the method invocation. 1582s # * @arg_an_as: Argument to pass with the method invocation. 1582s # * @arg_an_ao: Argument to pass with the method invocation. 1582s # * @arg_an_aay: Argument to pass with the method invocation. 1582s # * @arg_an_asv: Argument to pass with the method invocation. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_callable_iface_call_method_with_many_args ( 1582s # OrgProjectCallableIface *proxy, 1582s # gboolean arg_an_b, 1582s # guchar arg_an_y, 1582s # gint16 arg_an_n, 1582s # guint16 arg_an_q, 1582s # gint arg_an_i, 1582s # guint arg_an_u, 1582s # gint64 arg_an_x, 1582s # guint64 arg_an_t, 1582s # gdouble arg_an_d, 1582s # const gchar *arg_an_s, 1582s # const gchar *arg_an_o, 1582s # const gchar *arg_an_g, 1582s # GVariant *arg_an_h, 1582s # const gchar *arg_an_ay, 1582s # const gchar *const *arg_an_as, 1582s # const gchar *const *arg_an_ao, 1582s # const gchar *const *arg_an_aay, 1582s # GVariant *arg_an_asv, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "MethodWithManyArgs", 1582s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1582s # arg_an_b, 1582s # arg_an_y, 1582s # arg_an_n, 1582s # arg_an_q, 1582s # arg_an_i, 1582s # arg_an_u, 1582s # arg_an_x, 1582s # arg_an_t, 1582s # arg_an_d, 1582s # arg_an_s, 1582s # arg_an_o, 1582s # arg_an_g, 1582s # arg_an_h, 1582s # arg_an_ay, 1582s # arg_an_as, 1582s # arg_an_ao, 1582s # arg_an_aay, 1582s # arg_an_asv), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_call_method_with_many_args_finish: 1582s # * @proxy: A #OrgProjectCallableIfaceProxy. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_callable_iface_call_method_with_many_args_finish ( 1582s # OrgProjectCallableIface *proxy, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "()"); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_call_method_with_many_args_sync: 1582s # * @proxy: A #OrgProjectCallableIfaceProxy. 1582s # * @arg_an_b: Argument to pass with the method invocation. 1582s # * @arg_an_y: Argument to pass with the method invocation. 1582s # * @arg_an_n: Argument to pass with the method invocation. 1582s # * @arg_an_q: Argument to pass with the method invocation. 1582s # * @arg_an_i: Argument to pass with the method invocation. 1582s # * @arg_an_u: Argument to pass with the method invocation. 1582s # * @arg_an_x: Argument to pass with the method invocation. 1582s # * @arg_an_t: Argument to pass with the method invocation. 1582s # * @arg_an_d: Argument to pass with the method invocation. 1582s # * @arg_an_s: Argument to pass with the method invocation. 1582s # * @arg_an_o: Argument to pass with the method invocation. 1582s # * @arg_an_g: Argument to pass with the method invocation. 1582s # * @arg_an_h: Argument to pass with the method invocation. 1582s # * @arg_an_ay: Argument to pass with the method invocation. 1582s # * @arg_an_as: Argument to pass with the method invocation. 1582s # * @arg_an_ao: Argument to pass with the method invocation. 1582s # * @arg_an_aay: Argument to pass with the method invocation. 1582s # * @arg_an_asv: Argument to pass with the method invocation. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_callable_iface_call_method_with_many_args_sync ( 1582s # OrgProjectCallableIface *proxy, 1582s # gboolean arg_an_b, 1582s # guchar arg_an_y, 1582s # gint16 arg_an_n, 1582s # guint16 arg_an_q, 1582s # gint arg_an_i, 1582s # guint arg_an_u, 1582s # gint64 arg_an_x, 1582s # guint64 arg_an_t, 1582s # gdouble arg_an_d, 1582s # const gchar *arg_an_s, 1582s # const gchar *arg_an_o, 1582s # const gchar *arg_an_g, 1582s # GVariant *arg_an_h, 1582s # const gchar *arg_an_ay, 1582s # const gchar *const *arg_an_as, 1582s # const gchar *const *arg_an_ao, 1582s # const gchar *const *arg_an_aay, 1582s # GVariant *arg_an_asv, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "MethodWithManyArgs", 1582s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1582s # arg_an_b, 1582s # arg_an_y, 1582s # arg_an_n, 1582s # arg_an_q, 1582s # arg_an_i, 1582s # arg_an_u, 1582s # arg_an_x, 1582s # arg_an_t, 1582s # arg_an_d, 1582s # arg_an_s, 1582s # arg_an_o, 1582s # arg_an_g, 1582s # arg_an_h, 1582s # arg_an_ay, 1582s # arg_an_as, 1582s # arg_an_ao, 1582s # arg_an_aay, 1582s # arg_an_asv), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "()"); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_call_same_method_with_many_args: 1582s # * @proxy: A #OrgProjectCallableIfaceProxy. 1582s # * @arg_an_b: Argument to pass with the method invocation. 1582s # * @arg_an_y: Argument to pass with the method invocation. 1582s # * @arg_an_n: Argument to pass with the method invocation. 1582s # * @arg_an_q: Argument to pass with the method invocation. 1582s # * @arg_an_i: Argument to pass with the method invocation. 1582s # * @arg_an_u: Argument to pass with the method invocation. 1582s # * @arg_an_x: Argument to pass with the method invocation. 1582s # * @arg_an_t: Argument to pass with the method invocation. 1582s # * @arg_an_d: Argument to pass with the method invocation. 1582s # * @arg_an_s: Argument to pass with the method invocation. 1582s # * @arg_an_o: Argument to pass with the method invocation. 1582s # * @arg_an_g: Argument to pass with the method invocation. 1582s # * @arg_an_h: Argument to pass with the method invocation. 1582s # * @arg_an_ay: Argument to pass with the method invocation. 1582s # * @arg_an_as: Argument to pass with the method invocation. 1582s # * @arg_an_ao: Argument to pass with the method invocation. 1582s # * @arg_an_aay: Argument to pass with the method invocation. 1582s # * @arg_an_asv: Argument to pass with the method invocation. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_callable_iface_call_same_method_with_many_args ( 1582s # OrgProjectCallableIface *proxy, 1582s # gboolean arg_an_b, 1582s # guchar arg_an_y, 1582s # gint16 arg_an_n, 1582s # guint16 arg_an_q, 1582s # gint arg_an_i, 1582s # guint arg_an_u, 1582s # gint64 arg_an_x, 1582s # guint64 arg_an_t, 1582s # gdouble arg_an_d, 1582s # const gchar *arg_an_s, 1582s # const gchar *arg_an_o, 1582s # const gchar *arg_an_g, 1582s # GVariant *arg_an_h, 1582s # const gchar *arg_an_ay, 1582s # const gchar *const *arg_an_as, 1582s # const gchar *const *arg_an_ao, 1582s # const gchar *const *arg_an_aay, 1582s # GVariant *arg_an_asv, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "SameMethodWithManyArgs", 1582s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1582s # arg_an_b, 1582s # arg_an_y, 1582s # arg_an_n, 1582s # arg_an_q, 1582s # arg_an_i, 1582s # arg_an_u, 1582s # arg_an_x, 1582s # arg_an_t, 1582s # arg_an_d, 1582s # arg_an_s, 1582s # arg_an_o, 1582s # arg_an_g, 1582s # arg_an_h, 1582s # arg_an_ay, 1582s # arg_an_as, 1582s # arg_an_ao, 1582s # arg_an_aay, 1582s # arg_an_asv), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1582s # * @proxy: A #OrgProjectCallableIfaceProxy. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1582s # OrgProjectCallableIface *proxy, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "()"); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1582s # * @proxy: A #OrgProjectCallableIfaceProxy. 1582s # * @arg_an_b: Argument to pass with the method invocation. 1582s # * @arg_an_y: Argument to pass with the method invocation. 1582s # * @arg_an_n: Argument to pass with the method invocation. 1582s # * @arg_an_q: Argument to pass with the method invocation. 1582s # * @arg_an_i: Argument to pass with the method invocation. 1582s # * @arg_an_u: Argument to pass with the method invocation. 1582s # * @arg_an_x: Argument to pass with the method invocation. 1582s # * @arg_an_t: Argument to pass with the method invocation. 1582s # * @arg_an_d: Argument to pass with the method invocation. 1582s # * @arg_an_s: Argument to pass with the method invocation. 1582s # * @arg_an_o: Argument to pass with the method invocation. 1582s # * @arg_an_g: Argument to pass with the method invocation. 1582s # * @arg_an_h: Argument to pass with the method invocation. 1582s # * @arg_an_ay: Argument to pass with the method invocation. 1582s # * @arg_an_as: Argument to pass with the method invocation. 1582s # * @arg_an_ao: Argument to pass with the method invocation. 1582s # * @arg_an_aay: Argument to pass with the method invocation. 1582s # * @arg_an_asv: Argument to pass with the method invocation. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1582s # OrgProjectCallableIface *proxy, 1582s # gboolean arg_an_b, 1582s # guchar arg_an_y, 1582s # gint16 arg_an_n, 1582s # guint16 arg_an_q, 1582s # gint arg_an_i, 1582s # guint arg_an_u, 1582s # gint64 arg_an_x, 1582s # guint64 arg_an_t, 1582s # gdouble arg_an_d, 1582s # const gchar *arg_an_s, 1582s # const gchar *arg_an_o, 1582s # const gchar *arg_an_g, 1582s # GVariant *arg_an_h, 1582s # const gchar *arg_an_ay, 1582s # const gchar *const *arg_an_as, 1582s # const gchar *const *arg_an_ao, 1582s # const gchar *const *arg_an_aay, 1582s # GVariant *arg_an_asv, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "SameMethodWithManyArgs", 1582s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1582s # arg_an_b, 1582s # arg_an_y, 1582s # arg_an_n, 1582s # arg_an_q, 1582s # arg_an_i, 1582s # arg_an_u, 1582s # arg_an_x, 1582s # arg_an_t, 1582s # arg_an_d, 1582s # arg_an_s, 1582s # arg_an_o, 1582s # arg_an_g, 1582s # arg_an_h, 1582s # arg_an_ay, 1582s # arg_an_as, 1582s # arg_an_ao, 1582s # arg_an_aay, 1582s # arg_an_asv), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "()"); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_complete_method_with_many_args: 1582s # * @object: A #OrgProjectCallableIface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_callable_iface_complete_method_with_many_args ( 1582s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("()")); 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_complete_same_method_with_many_args: 1582s # * @object: A #OrgProjectCallableIface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_callable_iface_complete_same_method_with_many_args ( 1582s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("()")); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectCallableIfaceProxy: 1582s # * 1582s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectCallableIfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectCallableIfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectCallableIfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_callable_iface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1582s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1582s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_callable_iface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # 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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectCallableIface * 1582s # org_project_callable_iface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectCallableIface * 1582s # org_project_callable_iface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_callable_iface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_callable_iface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # 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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectCallableIface * 1582s # org_project_callable_iface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectCallableIface * 1582s # org_project_callable_iface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectCallableIfaceSkeleton: 1582s # * 1582s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectCallableIfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectCallableIfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_callable_iface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_callable_iface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_callable_iface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1582s # { 1582s # _org_project_callable_iface_skeleton_handle_method_call, 1582s # _org_project_callable_iface_skeleton_handle_get_property, 1582s # _org_project_callable_iface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_callable_iface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_callable_iface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectCallableIface * 1582s # org_project_callable_iface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.OtherCallableIface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectOtherCallableIface 1582s # * @title: OrgProjectOtherCallableIface 1582s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_b", 1582s # (gchar *) "b", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_y", 1582s # (gchar *) "y", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_n", 1582s # (gchar *) "n", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_q", 1582s # (gchar *) "q", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_i", 1582s # (gchar *) "i", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_u", 1582s # (gchar *) "u", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_x", 1582s # (gchar *) "x", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_t", 1582s # (gchar *) "t", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_d", 1582s # (gchar *) "d", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_s", 1582s # (gchar *) "s", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_o", 1582s # (gchar *) "o", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_g", 1582s # (gchar *) "g", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_h", 1582s # (gchar *) "h", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_ay", 1582s # (gchar *) "ay", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_as", 1582s # (gchar *) "as", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_ao", 1582s # (gchar *) "ao", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_aay", 1582s # (gchar *) "aay", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_asv", 1582s # (gchar *) "a{sv}", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1582s # { 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "MethodWithManyArgs", 1582s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "handle-method-with-many-args", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1582s # { 1582s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.OtherCallableIface", 1582s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-other-callable-iface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_other_callable_iface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_other_callable_iface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_other_callable_iface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _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, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectOtherCallableIface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectOtherCallableIfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1582s # */ 1582s # 1582s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1582s # * @object: A #OrgProjectOtherCallableIface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * @arg_an_b: Argument passed by remote caller. 1582s # * @arg_an_y: Argument passed by remote caller. 1582s # * @arg_an_n: Argument passed by remote caller. 1582s # * @arg_an_q: Argument passed by remote caller. 1582s # * @arg_an_i: Argument passed by remote caller. 1582s # * @arg_an_u: Argument passed by remote caller. 1582s # * @arg_an_x: Argument passed by remote caller. 1582s # * @arg_an_t: Argument passed by remote caller. 1582s # * @arg_an_d: Argument passed by remote caller. 1582s # * @arg_an_s: Argument passed by remote caller. 1582s # * @arg_an_o: Argument passed by remote caller. 1582s # * @arg_an_g: Argument passed by remote caller. 1582s # * @arg_an_h: Argument passed by remote caller. 1582s # * @arg_an_ay: Argument passed by remote caller. 1582s # * @arg_an_as: Argument passed by remote caller. 1582s # * @arg_an_ao: Argument passed by remote caller. 1582s # * @arg_an_aay: Argument passed by remote caller. 1582s # * @arg_an_asv: Argument passed by remote caller. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-method-with-many-args", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1582s # G_TYPE_BOOLEAN, 1582s # 19, 1582s # 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); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_other_callable_iface_call_method_with_many_args: 1582s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1582s # * @arg_an_b: Argument to pass with the method invocation. 1582s # * @arg_an_y: Argument to pass with the method invocation. 1582s # * @arg_an_n: Argument to pass with the method invocation. 1582s # * @arg_an_q: Argument to pass with the method invocation. 1582s # * @arg_an_i: Argument to pass with the method invocation. 1582s # * @arg_an_u: Argument to pass with the method invocation. 1582s # * @arg_an_x: Argument to pass with the method invocation. 1582s # * @arg_an_t: Argument to pass with the method invocation. 1582s # * @arg_an_d: Argument to pass with the method invocation. 1582s # * @arg_an_s: Argument to pass with the method invocation. 1582s # * @arg_an_o: Argument to pass with the method invocation. 1582s # * @arg_an_g: Argument to pass with the method invocation. 1582s # * @arg_an_h: Argument to pass with the method invocation. 1582s # * @arg_an_ay: Argument to pass with the method invocation. 1582s # * @arg_an_as: Argument to pass with the method invocation. 1582s # * @arg_an_ao: Argument to pass with the method invocation. 1582s # * @arg_an_aay: Argument to pass with the method invocation. 1582s # * @arg_an_asv: Argument to pass with the method invocation. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_other_callable_iface_call_method_with_many_args ( 1582s # OrgProjectOtherCallableIface *proxy, 1582s # gboolean arg_an_b, 1582s # guchar arg_an_y, 1582s # gint16 arg_an_n, 1582s # guint16 arg_an_q, 1582s # gint arg_an_i, 1582s # guint arg_an_u, 1582s # gint64 arg_an_x, 1582s # guint64 arg_an_t, 1582s # gdouble arg_an_d, 1582s # const gchar *arg_an_s, 1582s # const gchar *arg_an_o, 1582s # const gchar *arg_an_g, 1582s # GVariant *arg_an_h, 1582s # const gchar *arg_an_ay, 1582s # const gchar *const *arg_an_as, 1582s # const gchar *const *arg_an_ao, 1582s # const gchar *const *arg_an_aay, 1582s # GVariant *arg_an_asv, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "MethodWithManyArgs", 1582s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1582s # arg_an_b, 1582s # arg_an_y, 1582s # arg_an_n, 1582s # arg_an_q, 1582s # arg_an_i, 1582s # arg_an_u, 1582s # arg_an_x, 1582s # arg_an_t, 1582s # arg_an_d, 1582s # arg_an_s, 1582s # arg_an_o, 1582s # arg_an_g, 1582s # arg_an_h, 1582s # arg_an_ay, 1582s # arg_an_as, 1582s # arg_an_ao, 1582s # arg_an_aay, 1582s # arg_an_asv), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1582s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1582s # OrgProjectOtherCallableIface *proxy, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "()"); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1582s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1582s # * @arg_an_b: Argument to pass with the method invocation. 1582s # * @arg_an_y: Argument to pass with the method invocation. 1582s # * @arg_an_n: Argument to pass with the method invocation. 1582s # * @arg_an_q: Argument to pass with the method invocation. 1582s # * @arg_an_i: Argument to pass with the method invocation. 1582s # * @arg_an_u: Argument to pass with the method invocation. 1582s # * @arg_an_x: Argument to pass with the method invocation. 1582s # * @arg_an_t: Argument to pass with the method invocation. 1582s # * @arg_an_d: Argument to pass with the method invocation. 1582s # * @arg_an_s: Argument to pass with the method invocation. 1582s # * @arg_an_o: Argument to pass with the method invocation. 1582s # * @arg_an_g: Argument to pass with the method invocation. 1582s # * @arg_an_h: Argument to pass with the method invocation. 1582s # * @arg_an_ay: Argument to pass with the method invocation. 1582s # * @arg_an_as: Argument to pass with the method invocation. 1582s # * @arg_an_ao: Argument to pass with the method invocation. 1582s # * @arg_an_aay: Argument to pass with the method invocation. 1582s # * @arg_an_asv: Argument to pass with the method invocation. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1582s # OrgProjectOtherCallableIface *proxy, 1582s # gboolean arg_an_b, 1582s # guchar arg_an_y, 1582s # gint16 arg_an_n, 1582s # guint16 arg_an_q, 1582s # gint arg_an_i, 1582s # guint arg_an_u, 1582s # gint64 arg_an_x, 1582s # guint64 arg_an_t, 1582s # gdouble arg_an_d, 1582s # const gchar *arg_an_s, 1582s # const gchar *arg_an_o, 1582s # const gchar *arg_an_g, 1582s # GVariant *arg_an_h, 1582s # const gchar *arg_an_ay, 1582s # const gchar *const *arg_an_as, 1582s # const gchar *const *arg_an_ao, 1582s # const gchar *const *arg_an_aay, 1582s # GVariant *arg_an_asv, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "MethodWithManyArgs", 1582s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1582s # arg_an_b, 1582s # arg_an_y, 1582s # arg_an_n, 1582s # arg_an_q, 1582s # arg_an_i, 1582s # arg_an_u, 1582s # arg_an_x, 1582s # arg_an_t, 1582s # arg_an_d, 1582s # arg_an_s, 1582s # arg_an_o, 1582s # arg_an_g, 1582s # arg_an_h, 1582s # arg_an_ay, 1582s # arg_an_as, 1582s # arg_an_ao, 1582s # arg_an_aay, 1582s # arg_an_asv), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "()"); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_other_callable_iface_complete_method_with_many_args: 1582s # * @object: A #OrgProjectOtherCallableIface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_other_callable_iface_complete_method_with_many_args ( 1582s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("()")); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectOtherCallableIfaceProxy: 1582s # * 1582s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectOtherCallableIfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1582s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1582s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_other_callable_iface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_other_callable_iface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # 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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_other_callable_iface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectOtherCallableIface * 1582s # org_project_other_callable_iface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_other_callable_iface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectOtherCallableIface * 1582s # org_project_other_callable_iface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_other_callable_iface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_other_callable_iface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # 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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectOtherCallableIface * 1582s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectOtherCallableIface * 1582s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectOtherCallableIfaceSkeleton: 1582s # * 1582s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectOtherCallableIfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1582s # { 1582s # _org_project_other_callable_iface_skeleton_handle_method_call, 1582s # _org_project_other_callable_iface_skeleton_handle_get_property, 1582s # _org_project_other_callable_iface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_other_callable_iface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_other_callable_iface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectOtherCallableIface * 1582s # org_project_other_callable_iface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1582s # } 1582s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1582s # tmpdir: /tmp/tmp_d051naa 1582s # codegen: /usr/bin/gdbus-codegen 1582s # /tmp/tmp_d051naa/tmpnho3o6lg.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_d051naa/tmpnho3o6lg.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (void *data1, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 2); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface org.project.CallableIface 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:OrgProjectCallableIface 1582s # * @title: OrgProjectCallableIface 1582s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1582s # * 1582s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for org.project.CallableIface ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_b", 1582s # (gchar *) "b", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_y", 1582s # (gchar *) "y", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_n", 1582s # (gchar *) "n", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_q", 1582s # (gchar *) "q", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_i", 1582s # (gchar *) "i", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_u", 1582s # (gchar *) "u", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_x", 1582s # (gchar *) "x", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_t", 1582s # (gchar *) "t", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_d", 1582s # (gchar *) "d", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_s", 1582s # (gchar *) "s", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_o", 1582s # (gchar *) "o", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_g", 1582s # (gchar *) "g", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_h", 1582s # (gchar *) "h", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_ay", 1582s # (gchar *) "ay", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_as", 1582s # (gchar *) "as", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_ao", 1582s # (gchar *) "ao", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_aay", 1582s # (gchar *) "aay", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "an_asv", 1582s # (gchar *) "a{sv}", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1582s # { 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1582s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "MethodWithManyArgs", 1582s # NULL, 1582s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-method-with-many-args", 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1582s # { 1582s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "org.project.CallableIface", 1582s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "org-project-callable-iface", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * org_project_callable_iface_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # org_project_callable_iface_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # org_project_callable_iface_method_marshal_method_with_many_args ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * OrgProjectCallableIface: 1582s # * 1582s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectCallableIfaceIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1582s # * 1582s # * Virtual table for the D-Bus interface org.project.CallableIface. 1582s # */ 1582s # 1582s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1582s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * OrgProjectCallableIface::handle-method-with-many-args: 1582s # * @object: A #OrgProjectCallableIface. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-method-with-many-args", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # org_project_callable_iface_method_marshal_method_with_many_args, 1582s # G_TYPE_BOOLEAN, 1582s # 1, 1582s # G_TYPE_DBUS_METHOD_INVOCATION); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_call_method_with_many_args: 1582s # * @proxy: A #OrgProjectCallableIfaceProxy. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # org_project_callable_iface_call_method_with_many_args ( 1582s # OrgProjectCallableIface *proxy, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1582s # "MethodWithManyArgs", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_call_method_with_many_args_finish: 1582s # * @proxy: A #OrgProjectCallableIfaceProxy. 1582s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_callable_iface_call_method_with_many_args_finish ( 1582s # OrgProjectCallableIface *proxy, 1582s # gboolean *out_an_b, 1582s # guchar *out_an_y, 1582s # gint16 *out_an_n, 1582s # guint16 *out_an_q, 1582s # gint *out_an_i, 1582s # guint *out_an_u, 1582s # gint64 *out_an_x, 1582s # guint64 *out_an_t, 1582s # gdouble *out_an_d, 1582s # gchar **out_an_s, 1582s # gchar **out_an_o, 1582s # gchar **out_an_g, 1582s # GVariant **out_an_h, 1582s # gchar **out_an_ay, 1582s # gchar ***out_an_as, 1582s # gchar ***out_an_ao, 1582s # gchar ***out_an_aay, 1582s # GVariant **out_an_asv, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1582s # out_an_b, 1582s # out_an_y, 1582s # out_an_n, 1582s # out_an_q, 1582s # out_an_i, 1582s # out_an_u, 1582s # out_an_x, 1582s # out_an_t, 1582s # out_an_d, 1582s # out_an_s, 1582s # out_an_o, 1582s # out_an_g, 1582s # out_an_h, 1582s # out_an_ay, 1582s # out_an_as, 1582s # out_an_ao, 1582s # out_an_aay, 1582s # out_an_asv); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_call_method_with_many_args_sync: 1582s # * @proxy: A #OrgProjectCallableIfaceProxy. 1582s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1582s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # org_project_callable_iface_call_method_with_many_args_sync ( 1582s # OrgProjectCallableIface *proxy, 1582s # gboolean *out_an_b, 1582s # guchar *out_an_y, 1582s # gint16 *out_an_n, 1582s # guint16 *out_an_q, 1582s # gint *out_an_i, 1582s # guint *out_an_u, 1582s # gint64 *out_an_x, 1582s # guint64 *out_an_t, 1582s # gdouble *out_an_d, 1582s # gchar **out_an_s, 1582s # gchar **out_an_o, 1582s # gchar **out_an_g, 1582s # GVariant **out_an_h, 1582s # gchar **out_an_ay, 1582s # gchar ***out_an_as, 1582s # gchar ***out_an_ao, 1582s # gchar ***out_an_aay, 1582s # GVariant **out_an_asv, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1582s # "MethodWithManyArgs", 1582s # g_variant_new ("()"), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1582s # out_an_b, 1582s # out_an_y, 1582s # out_an_n, 1582s # out_an_q, 1582s # out_an_i, 1582s # out_an_u, 1582s # out_an_x, 1582s # out_an_t, 1582s # out_an_d, 1582s # out_an_s, 1582s # out_an_o, 1582s # out_an_g, 1582s # out_an_h, 1582s # out_an_ay, 1582s # out_an_as, 1582s # out_an_ao, 1582s # out_an_aay, 1582s # out_an_asv); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_complete_method_with_many_args: 1582s # * @object: A #OrgProjectCallableIface. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @an_b: Parameter to return. 1582s # * @an_y: Parameter to return. 1582s # * @an_n: Parameter to return. 1582s # * @an_q: Parameter to return. 1582s # * @an_i: Parameter to return. 1582s # * @an_u: Parameter to return. 1582s # * @an_x: Parameter to return. 1582s # * @an_t: Parameter to return. 1582s # * @an_d: Parameter to return. 1582s # * @an_s: Parameter to return. 1582s # * @an_o: Parameter to return. 1582s # * @an_g: Parameter to return. 1582s # * @an_h: Parameter to return. 1582s # * @an_ay: Parameter to return. 1582s # * @an_as: Parameter to return. 1582s # * @an_ao: Parameter to return. 1582s # * @an_aay: Parameter to return. 1582s # * @an_asv: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # org_project_callable_iface_complete_method_with_many_args ( 1582s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # gboolean an_b, 1582s # guchar an_y, 1582s # gint16 an_n, 1582s # guint16 an_q, 1582s # gint an_i, 1582s # guint an_u, 1582s # gint64 an_x, 1582s # guint64 an_t, 1582s # gdouble an_d, 1582s # const gchar *an_s, 1582s # const gchar *an_o, 1582s # const gchar *an_g, 1582s # GVariant *an_h, 1582s # const gchar *an_ay, 1582s # const gchar *const *an_as, 1582s # const gchar *const *an_ao, 1582s # const gchar *const *an_aay, 1582s # GVariant *an_asv) 1582s # { 1582s # g_dbus_method_invocation_return_value (invocation, 1582s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1582s # an_b, 1582s # an_y, 1582s # an_n, 1582s # an_q, 1582s # an_i, 1582s # an_u, 1582s # an_x, 1582s # an_t, 1582s # an_d, 1582s # an_s, 1582s # an_o, 1582s # an_g, 1582s # an_h, 1582s # an_ay, 1582s # an_as, 1582s # an_ao, 1582s # an_aay, 1582s # an_asv)); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectCallableIfaceProxy: 1582s # * 1582s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectCallableIfaceProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectCallableIfaceProxy. 1582s # */ 1582s # 1582s # struct _OrgProjectCallableIfaceProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_callable_iface_proxy_finalize (GObject *object) 1582s # { 1582s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1582s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1582s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1582s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_callable_iface_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # 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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectCallableIface * 1582s # org_project_callable_iface_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectCallableIface * 1582s # org_project_callable_iface_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * org_project_callable_iface_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # org_project_callable_iface_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # 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); 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectCallableIface * 1582s # org_project_callable_iface_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # OrgProjectCallableIface * 1582s # org_project_callable_iface_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * OrgProjectCallableIfaceSkeleton: 1582s # * 1582s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * OrgProjectCallableIfaceSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1582s # */ 1582s # 1582s # struct _OrgProjectCallableIfaceSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _org_project_callable_iface_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _org_project_callable_iface_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _org_project_callable_iface_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1582s # { 1582s # _org_project_callable_iface_skeleton_handle_method_call, 1582s # _org_project_callable_iface_skeleton_handle_get_property, 1582s # _org_project_callable_iface_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return org_project_callable_iface_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # org_project_callable_iface_skeleton_finalize (GObject *object) 1582s # { 1582s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * org_project_callable_iface_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1582s # * 1582s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1582s # */ 1582s # OrgProjectCallableIface * 1582s # org_project_callable_iface_skeleton_new (void) 1582s # { 1582s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1582s # } 1582s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1582s # tmpdir: /tmp/tmpayurv44h 1582s # codegen: /usr/bin/gdbus-codegen 1582s # /tmp/tmpayurv44h/tmp4a824ui4.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpayurv44h/tmp4a824ui4.xml', '--output', '-', '--body'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: /* 1582s # * This file is generated by gdbus-codegen, do not modify it. 1582s # * 1582s # * The license of this code is the same as for the D-Bus interface description 1582s # * it was derived from. Note that it links to GLib, so must comply with the 1582s # * LGPL linking clauses. 1582s # */ 1582s # 1582s # #ifdef HAVE_CONFIG_H 1582s # # include "config.h" 1582s # #endif 1582s # 1582s # #include 1582s # #ifdef G_OS_UNIX 1582s # # include 1582s # #endif 1582s # 1582s # #ifdef G_ENABLE_DEBUG 1582s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1582s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1582s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1582s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1582s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1582s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1582s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1582s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1582s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1582s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1582s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1582s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1582s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1582s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1582s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1582s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1582s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1582s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1582s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1582s # #else /* !G_ENABLE_DEBUG */ 1582s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1582s # * Do not access GValues directly in your code. Instead, use the 1582s # * g_value_get_*() functions 1582s # */ 1582s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1582s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1582s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1582s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1582s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1582s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1582s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1582s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1582s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1582s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1582s # #endif /* !G_ENABLE_DEBUG */ 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusArgInfo parent_struct; 1582s # gboolean use_gvariant; 1582s # } _ExtendedGDBusArgInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusMethodInfo parent_struct; 1582s # const gchar *signal_name; 1582s # gboolean pass_fdlist; 1582s # } _ExtendedGDBusMethodInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusSignalInfo parent_struct; 1582s # const gchar *signal_name; 1582s # } _ExtendedGDBusSignalInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusPropertyInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # guint use_gvariant : 1; 1582s # guint emits_changed_signal : 1; 1582s # } _ExtendedGDBusPropertyInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # GDBusInterfaceInfo parent_struct; 1582s # const gchar *hyphen_name; 1582s # } _ExtendedGDBusInterfaceInfo; 1582s # 1582s # typedef struct 1582s # { 1582s # const _ExtendedGDBusPropertyInfo *info; 1582s # guint prop_id; 1582s # GValue orig_value; /* the value before the change */ 1582s # } ChangedProperty; 1582s # 1582s # static void 1582s # _changed_property_free (ChangedProperty *data) 1582s # { 1582s # g_value_unset (&data->orig_value); 1582s # g_free (data); 1582s # } 1582s # 1582s # static gboolean 1582s # _g_strv_equal0 (gchar **a, gchar **b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # guint n; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # if (g_strv_length (a) != g_strv_length (b)) 1582s # goto out; 1582s # for (n = 0; a[n] != NULL; n++) 1582s # if (g_strcmp0 (a[n], b[n]) != 0) 1582s # goto out; 1582s # ret = TRUE; 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _g_variant_equal0 (GVariant *a, GVariant *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # if (a == NULL && b == NULL) 1582s # { 1582s # ret = TRUE; 1582s # goto out; 1582s # } 1582s # if (a == NULL || b == NULL) 1582s # goto out; 1582s # ret = g_variant_equal (a, b); 1582s # out: 1582s # return ret; 1582s # } 1582s # 1582s # G_GNUC_UNUSED static gboolean 1582s # _g_value_equal (const GValue *a, const GValue *b) 1582s # { 1582s # gboolean ret = FALSE; 1582s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1582s # switch (G_VALUE_TYPE (a)) 1582s # { 1582s # case G_TYPE_BOOLEAN: 1582s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1582s # break; 1582s # case G_TYPE_UCHAR: 1582s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1582s # break; 1582s # case G_TYPE_INT: 1582s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1582s # break; 1582s # case G_TYPE_UINT: 1582s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1582s # break; 1582s # case G_TYPE_INT64: 1582s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1582s # break; 1582s # case G_TYPE_UINT64: 1582s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1582s # break; 1582s # case G_TYPE_DOUBLE: 1582s # { 1582s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1582s # gdouble da = g_value_get_double (a); 1582s # gdouble db = g_value_get_double (b); 1582s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1582s # } 1582s # break; 1582s # case G_TYPE_STRING: 1582s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1582s # break; 1582s # case G_TYPE_VARIANT: 1582s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1582s # break; 1582s # default: 1582s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1582s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1582s # else 1582s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1582s # break; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static void 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint G_GNUC_UNUSED, 1582s # void *marshal_data) 1582s # { 1582s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1582s # (void *data1, 1582s # GUnixFDList *arg_fd_list, 1582s # GDBusMethodInvocation *arg_method_invocation, 1582s # const gchar *arg_greeting, 1582s # void *data2); 1582s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1582s # GCClosure *cc = (GCClosure*) closure; 1582s # void *data1, *data2; 1582s # gboolean v_return; 1582s # 1582s # g_return_if_fail (return_value != NULL); 1582s # g_return_if_fail (n_param_values == 4); 1582s # 1582s # if (G_CCLOSURE_SWAP_DATA (closure)) 1582s # { 1582s # data1 = closure->data; 1582s # data2 = g_value_peek_pointer (param_values + 0); 1582s # } 1582s # else 1582s # { 1582s # data1 = g_value_peek_pointer (param_values + 0); 1582s # data2 = closure->data; 1582s # } 1582s # 1582s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1582s # (marshal_data ? marshal_data : cc->callback); 1582s # 1582s # v_return = 1582s # callback (data1, 1582s # g_marshal_value_peek_object (param_values + 1), 1582s # g_marshal_value_peek_object (param_values + 2), 1582s # g_marshal_value_peek_string (param_values + 3), 1582s # data2); 1582s # 1582s # g_value_set_boolean (return_value, v_return); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ 1582s # * Code for interface test.FDPassing 1582s # * ------------------------------------------------------------------------ 1582s # */ 1582s # 1582s # /** 1582s # * SECTION:TestFDPassing 1582s # * @title: TestFDPassing 1582s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1582s # * 1582s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1582s # */ 1582s # 1582s # /* ---- Introspection data for test.FDPassing ---- */ 1582s # 1582s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "greeting", 1582s # (gchar *) "s", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1582s # { 1582s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "response", 1582s # (gchar *) "s", 1582s # NULL 1582s # }, 1582s # FALSE 1582s # }; 1582s # 1582s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1582s # { 1582s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "HelloFD", 1582s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1582s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1582s # NULL 1582s # }, 1582s # "handle-hello-fd", 1582s # TRUE 1582s # }; 1582s # 1582s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1582s # { 1582s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1582s # NULL 1582s # }; 1582s # 1582s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1582s # { 1582s # { 1582s # -1, 1582s # (gchar *) "test.FDPassing", 1582s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1582s # NULL, 1582s # NULL, 1582s # NULL 1582s # }, 1582s # "test-fdpassing", 1582s # }; 1582s # 1582s # 1582s # /** 1582s # * test_fdpassing_interface_info: 1582s # * 1582s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1582s # * 1582s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1582s # */ 1582s # GDBusInterfaceInfo * 1582s # test_fdpassing_interface_info (void) 1582s # { 1582s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1582s # } 1582s # 1582s # /** 1582s # * test_fdpassing_override_properties: 1582s # * @klass: The class structure for a #GObject derived class. 1582s # * @property_id_begin: The property id to assign to the first overridden property. 1582s # * 1582s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1582s # * The properties are overridden in the order they are defined. 1582s # * 1582s # * Returns: The last property id. 1582s # */ 1582s # guint 1582s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1582s # { 1582s # return property_id_begin - 1; 1582s # } 1582s # 1582s # 1582s # inline static void 1582s # test_fdpassing_method_marshal_hello_fd ( 1582s # GClosure *closure, 1582s # GValue *return_value, 1582s # unsigned int n_param_values, 1582s # const GValue *param_values, 1582s # void *invocation_hint, 1582s # void *marshal_data) 1582s # { 1582s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1582s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1582s # } 1582s # 1582s # 1582s # /** 1582s # * TestFDPassing: 1582s # * 1582s # * Abstract interface type for the D-Bus interface test.FDPassing. 1582s # */ 1582s # 1582s # /** 1582s # * TestFDPassingIface: 1582s # * @parent_iface: The parent interface. 1582s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1582s # * 1582s # * Virtual table for the D-Bus interface test.FDPassing. 1582s # */ 1582s # 1582s # typedef TestFDPassingIface TestFDPassingInterface; 1582s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1582s # 1582s # static void 1582s # test_fdpassing_default_init (TestFDPassingIface *iface) 1582s # { 1582s # /* GObject signals for incoming D-Bus method calls: */ 1582s # /** 1582s # * TestFDPassing::handle-hello-fd: 1582s # * @object: A #TestFDPassing. 1582s # * @invocation: A #GDBusMethodInvocation. 1582s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1582s # * @arg_greeting: Argument passed by remote caller. 1582s # * 1582s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1582s # * 1582s # * 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. 1582s # * 1582s # * 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. 1582s # */ 1582s # g_signal_new ("handle-hello-fd", 1582s # G_TYPE_FROM_INTERFACE (iface), 1582s # G_SIGNAL_RUN_LAST, 1582s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1582s # g_signal_accumulator_true_handled, 1582s # NULL, 1582s # test_fdpassing_method_marshal_hello_fd, 1582s # G_TYPE_BOOLEAN, 1582s # 3, 1582s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1582s # 1582s # } 1582s # 1582s # /** 1582s # * test_fdpassing_call_hello_fd: 1582s # * @proxy: A #TestFDPassingProxy. 1582s # * @arg_greeting: Argument to pass with the method invocation. 1582s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1582s # * 1582s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1582s # */ 1582s # void 1582s # test_fdpassing_call_hello_fd ( 1582s # TestFDPassing *proxy, 1582s # const gchar *arg_greeting, 1582s # GUnixFDList *fd_list, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1582s # "HelloFD", 1582s # g_variant_new ("(s)", 1582s # arg_greeting), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # fd_list, 1582s # cancellable, 1582s # callback, 1582s # user_data); 1582s # } 1582s # 1582s # /** 1582s # * test_fdpassing_call_hello_fd_finish: 1582s # * @proxy: A #TestFDPassingProxy. 1582s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # test_fdpassing_call_hello_fd_finish ( 1582s # TestFDPassing *proxy, 1582s # gchar **out_response, 1582s # GUnixFDList **out_fd_list, 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(s)", 1582s # out_response); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * test_fdpassing_call_hello_fd_sync: 1582s # * @proxy: A #TestFDPassingProxy. 1582s # * @arg_greeting: Argument to pass with the method invocation. 1582s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1582s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1582s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL. 1582s # * 1582s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1582s # * 1582s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1582s # * 1582s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1582s # */ 1582s # gboolean 1582s # test_fdpassing_call_hello_fd_sync ( 1582s # TestFDPassing *proxy, 1582s # const gchar *arg_greeting, 1582s # GUnixFDList *fd_list, 1582s # gchar **out_response, 1582s # GUnixFDList **out_fd_list, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GVariant *_ret; 1582s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1582s # "HelloFD", 1582s # g_variant_new ("(s)", 1582s # arg_greeting), 1582s # G_DBUS_CALL_FLAGS_NONE, 1582s # -1, 1582s # fd_list, 1582s # out_fd_list, 1582s # cancellable, 1582s # error); 1582s # if (_ret == NULL) 1582s # goto _out; 1582s # g_variant_get (_ret, 1582s # "(s)", 1582s # out_response); 1582s # g_variant_unref (_ret); 1582s # _out: 1582s # return _ret != NULL; 1582s # } 1582s # 1582s # /** 1582s # * test_fdpassing_complete_hello_fd: 1582s # * @object: A #TestFDPassing. 1582s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1582s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1582s # * @response: Parameter to return. 1582s # * 1582s # * 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. 1582s # * 1582s # * This method will free @invocation, you cannot use it afterwards. 1582s # */ 1582s # void 1582s # test_fdpassing_complete_hello_fd ( 1582s # TestFDPassing *object G_GNUC_UNUSED, 1582s # GDBusMethodInvocation *invocation, 1582s # GUnixFDList *fd_list, 1582s # const gchar *response) 1582s # { 1582s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1582s # g_variant_new ("(s)", 1582s # response), 1582s # fd_list); 1582s # } 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * TestFDPassingProxy: 1582s # * 1582s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * TestFDPassingProxyClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #TestFDPassingProxy. 1582s # */ 1582s # 1582s # struct _TestFDPassingProxyPrivate 1582s # { 1582s # GData *qdata; 1582s # }; 1582s # 1582s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1582s # G_ADD_PRIVATE (TestFDPassingProxy) 1582s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1582s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # test_fdpassing_proxy_finalize (GObject *object) 1582s # { 1582s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1582s # g_datalist_clear (&proxy->priv->qdata); 1582s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1582s # guint prop_id G_GNUC_UNUSED, 1582s # const GValue *value G_GNUC_UNUSED, 1582s # GParamSpec *pspec G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void 1582s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1582s # const gchar *sender_name G_GNUC_UNUSED, 1582s # const gchar *signal_name, 1582s # GVariant *parameters) 1582s # { 1582s # _ExtendedGDBusSignalInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # gsize n; 1582s # guint signal_id; 1582s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1582s # if (info == NULL) 1582s # return; 1582s # num_params = g_variant_n_children (parameters); 1582s # paramv = g_new0 (GValue, num_params + 1); 1582s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1582s # g_value_set_object (¶mv[0], proxy); 1582s # g_variant_iter_init (&iter, parameters); 1582s # n = 1; 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1582s # g_signal_emitv (paramv, signal_id, 0, NULL); 1582s # for (n = 0; n < num_params + 1; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static void 1582s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1582s # GVariant *changed_properties, 1582s # const gchar *const *invalidated_properties) 1582s # { 1582s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1582s # guint n; 1582s # const gchar *key; 1582s # GVariantIter *iter; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # g_variant_get (changed_properties, "a{sv}", &iter); 1582s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1582s # g_datalist_remove_data (&proxy->priv->qdata, key); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # g_variant_iter_free (iter); 1582s # for (n = 0; invalidated_properties[n] != NULL; n++) 1582s # { 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1582s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1582s # if (info != NULL) 1582s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1582s # } 1582s # } 1582s # 1582s # static void 1582s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1582s # #else 1582s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1582s # #endif 1582s # 1582s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1582s # } 1582s # 1582s # static void 1582s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusProxyClass *proxy_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1582s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1582s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1582s # 1582s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1582s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1582s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * test_fdpassing_proxy_new: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1582s # * 1582s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # test_fdpassing_proxy_new ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # 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); 1582s # } 1582s # 1582s # /** 1582s # * test_fdpassing_proxy_new_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with test_fdpassing_proxy_new(). 1582s # * 1582s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # TestFDPassing * 1582s # test_fdpassing_proxy_new_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return TEST_FDPASSING (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * test_fdpassing_proxy_new_sync: 1582s # * @connection: A #GDBusConnection. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # TestFDPassing * 1582s # test_fdpassing_proxy_new_sync ( 1582s # GDBusConnection *connection, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return TEST_FDPASSING (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /** 1582s # * test_fdpassing_proxy_new_for_bus: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1582s # * @user_data: User data to pass to @callback. 1582s # * 1582s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1582s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1582s # * 1582s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1582s # */ 1582s # void 1582s # test_fdpassing_proxy_new_for_bus ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GAsyncReadyCallback callback, 1582s # gpointer user_data) 1582s # { 1582s # 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); 1582s # } 1582s # 1582s # /** 1582s # * test_fdpassing_proxy_new_for_bus_finish: 1582s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1582s # * 1582s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # TestFDPassing * 1582s # test_fdpassing_proxy_new_for_bus_finish ( 1582s # GAsyncResult *res, 1582s # GError **error) 1582s # { 1582s # GObject *ret; 1582s # GObject *source_object; 1582s # source_object = g_async_result_get_source_object (res); 1582s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1582s # g_object_unref (source_object); 1582s # if (ret != NULL) 1582s # return TEST_FDPASSING (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # /** 1582s # * test_fdpassing_proxy_new_for_bus_sync: 1582s # * @bus_type: A #GBusType. 1582s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1582s # * @name: A bus name (well-known or unique). 1582s # * @object_path: An object path. 1582s # * @cancellable: (nullable): A #GCancellable or %NULL. 1582s # * @error: Return location for error or %NULL 1582s # * 1582s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1582s # * 1582s # * The calling thread is blocked until a reply is received. 1582s # * 1582s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1582s # * 1582s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1582s # */ 1582s # TestFDPassing * 1582s # test_fdpassing_proxy_new_for_bus_sync ( 1582s # GBusType bus_type, 1582s # GDBusProxyFlags flags, 1582s # const gchar *name, 1582s # const gchar *object_path, 1582s # GCancellable *cancellable, 1582s # GError **error) 1582s # { 1582s # GInitable *ret; 1582s # 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); 1582s # if (ret != NULL) 1582s # return TEST_FDPASSING (ret); 1582s # else 1582s # return NULL; 1582s # } 1582s # 1582s # 1582s # /* ------------------------------------------------------------------------ */ 1582s # 1582s # /** 1582s # * TestFDPassingSkeleton: 1582s # * 1582s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1582s # */ 1582s # 1582s # /** 1582s # * TestFDPassingSkeletonClass: 1582s # * @parent_class: The parent class. 1582s # * 1582s # * Class structure for #TestFDPassingSkeleton. 1582s # */ 1582s # 1582s # struct _TestFDPassingSkeletonPrivate 1582s # { 1582s # GValue *properties; 1582s # GList *changed_properties; 1582s # GSource *changed_properties_idle_source; 1582s # GMainContext *context; 1582s # GMutex lock; 1582s # }; 1582s # 1582s # static void 1582s # _test_fdpassing_skeleton_handle_method_call ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name, 1582s # const gchar *method_name, 1582s # GVariant *parameters, 1582s # GDBusMethodInvocation *invocation, 1582s # gpointer user_data) 1582s # { 1582s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1582s # _ExtendedGDBusMethodInfo *info; 1582s # GVariantIter iter; 1582s # GVariant *child; 1582s # GValue *paramv; 1582s # gsize num_params; 1582s # guint num_extra; 1582s # gsize n; 1582s # guint signal_id; 1582s # GValue return_value = G_VALUE_INIT; 1582s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1582s # g_assert (info != NULL); 1582s # num_params = g_variant_n_children (parameters); 1582s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1582s # n = 0; 1582s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1582s # g_value_set_object (¶mv[n++], skeleton); 1582s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1582s # g_value_set_object (¶mv[n++], invocation); 1582s # if (info->pass_fdlist) 1582s # { 1582s # #ifdef G_OS_UNIX 1582s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1582s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1582s # #else 1582s # g_assert_not_reached (); 1582s # #endif 1582s # } 1582s # g_variant_iter_init (&iter, parameters); 1582s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1582s # { 1582s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1582s # if (arg_info->use_gvariant) 1582s # { 1582s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1582s # g_value_set_variant (¶mv[n], child); 1582s # n++; 1582s # } 1582s # else 1582s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1582s # g_variant_unref (child); 1582s # } 1582s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1582s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1582s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1582s # if (!g_value_get_boolean (&return_value)) 1582s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1582s # g_value_unset (&return_value); 1582s # for (n = 0; n < num_params + num_extra; n++) 1582s # g_value_unset (¶mv[n]); 1582s # g_free (paramv); 1582s # } 1582s # 1582s # static GVariant * 1582s # _test_fdpassing_skeleton_handle_get_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # GVariant *ret; 1582s # ret = NULL; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # g_value_init (&value, pspec->value_type); 1582s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1582s # g_value_unset (&value); 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static gboolean 1582s # _test_fdpassing_skeleton_handle_set_property ( 1582s # GDBusConnection *connection G_GNUC_UNUSED, 1582s # const gchar *sender G_GNUC_UNUSED, 1582s # const gchar *object_path G_GNUC_UNUSED, 1582s # const gchar *interface_name G_GNUC_UNUSED, 1582s # const gchar *property_name, 1582s # GVariant *variant, 1582s # GError **error, 1582s # gpointer user_data) 1582s # { 1582s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1582s # GValue value = G_VALUE_INIT; 1582s # GParamSpec *pspec; 1582s # _ExtendedGDBusPropertyInfo *info; 1582s # gboolean ret; 1582s # ret = FALSE; 1582s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1582s # g_assert (info != NULL); 1582s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1582s # if (pspec == NULL) 1582s # { 1582s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1582s # } 1582s # else 1582s # { 1582s # if (info->use_gvariant) 1582s # g_value_set_variant (&value, variant); 1582s # else 1582s # g_dbus_gvariant_to_gvalue (variant, &value); 1582s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1582s # g_value_unset (&value); 1582s # ret = TRUE; 1582s # } 1582s # return ret; 1582s # } 1582s # 1582s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1582s # { 1582s # _test_fdpassing_skeleton_handle_method_call, 1582s # _test_fdpassing_skeleton_handle_get_property, 1582s # _test_fdpassing_skeleton_handle_set_property, 1582s # {NULL} 1582s # }; 1582s # 1582s # static GDBusInterfaceInfo * 1582s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return test_fdpassing_interface_info (); 1582s # } 1582s # 1582s # static GDBusInterfaceVTable * 1582s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1582s # { 1582s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1582s # } 1582s # 1582s # static GVariant * 1582s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1582s # { 1582s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1582s # 1582s # GVariantBuilder builder; 1582s # guint n; 1582s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1582s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1582s # goto out; 1582s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1582s # { 1582s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1582s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1582s # { 1582s # GVariant *value; 1582s # 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); 1582s # if (value != NULL) 1582s # { 1582s # g_variant_take_ref (value); 1582s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1582s # g_variant_unref (value); 1582s # } 1582s # } 1582s # } 1582s # out: 1582s # return g_variant_builder_end (&builder); 1582s # } 1582s # 1582s # static void 1582s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1582s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1582s # 1582s # #else 1582s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1582s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1582s # 1582s # #endif 1582s # static void 1582s # test_fdpassing_skeleton_finalize (GObject *object) 1582s # { 1582s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1582s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1582s # if (skeleton->priv->changed_properties_idle_source != NULL) 1582s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1582s # g_main_context_unref (skeleton->priv->context); 1582s # g_mutex_clear (&skeleton->priv->lock); 1582s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1582s # } 1582s # 1582s # static void 1582s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1582s # { 1582s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1582s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1582s # #else 1582s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1582s # #endif 1582s # 1582s # g_mutex_init (&skeleton->priv->lock); 1582s # skeleton->priv->context = g_main_context_ref_thread_default (); 1582s # } 1582s # 1582s # static void 1582s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1582s # { 1582s # GObjectClass *gobject_class; 1582s # GDBusInterfaceSkeletonClass *skeleton_class; 1582s # 1582s # gobject_class = G_OBJECT_CLASS (klass); 1582s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1582s # 1582s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1582s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1582s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1582s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1582s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1582s # 1582s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1582s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1582s # #endif 1582s # } 1582s # 1582s # static void 1582s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1582s # { 1582s # } 1582s # 1582s # /** 1582s # * test_fdpassing_skeleton_new: 1582s # * 1582s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1582s # * 1582s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1582s # */ 1582s # TestFDPassing * 1582s # test_fdpassing_skeleton_new (void) 1582s # { 1582s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1582s # } 1582s ok 15 __main__.TestCodegen.test_generate_rst 1582s # tmpdir: /tmp/tmpybs_qopy 1582s # codegen: /usr/bin/gdbus-codegen 1582s # /tmp/tmpybs_qopy/tmptnfnpxef.xml: 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # 1582s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpybs_qopy/tmptnfnpxef.xml', '--generate-rst', 'test'] 1582s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1582s # Output: 1583s ok 16 __main__.TestCodegen.test_generate_rst_method 1583s # tmpdir: /tmp/tmp3odtcmbs 1583s # codegen: /usr/bin/gdbus-codegen 1583s # /tmp/tmp3odtcmbs/tmp5t1gr0om.xml: 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3odtcmbs/tmp5t1gr0om.xml', '--generate-rst', 'test'] 1583s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1583s # Output: 1583s ok 17 __main__.TestCodegen.test_generate_rst_property 1583s # tmpdir: /tmp/tmp_z_6gsv5 1583s # codegen: /usr/bin/gdbus-codegen 1583s # /tmp/tmp_z_6gsv5/tmphkojmgs0.xml: 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_z_6gsv5/tmphkojmgs0.xml', '--generate-rst', 'test'] 1583s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1583s # Output: 1583s ok 18 __main__.TestCodegen.test_generate_rst_signal 1583s # tmpdir: /tmp/tmpxuce77ts 1583s # codegen: /usr/bin/gdbus-codegen 1583s # /tmp/tmpxuce77ts/tmpswklzbff.xml: 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxuce77ts/tmpswklzbff.xml', '--generate-rst', 'test'] 1583s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1583s # Output: 1583s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1583s # tmpdir: /tmp/tmp7ezqrejr 1583s # codegen: /usr/bin/gdbus-codegen 1583s # /tmp/tmp7ezqrejr/tmpc0hsf854.xml: 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7ezqrejr/tmpc0hsf854.xml', '--output', '-', '--body'] 1583s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1583s # Output: /* 1583s # * This file is generated by gdbus-codegen, do not modify it. 1583s # * 1583s # * The license of this code is the same as for the D-Bus interface description 1583s # * it was derived from. Note that it links to GLib, so must comply with the 1583s # * LGPL linking clauses. 1583s # */ 1583s # 1583s # #ifdef HAVE_CONFIG_H 1583s # # include "config.h" 1583s # #endif 1583s # 1583s # #include 1583s # #ifdef G_OS_UNIX 1583s # # include 1583s # #endif 1583s # 1583s # #ifdef G_ENABLE_DEBUG 1583s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1583s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1583s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1583s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1583s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1583s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1583s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1583s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1583s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1583s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1583s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1583s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1583s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1583s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1583s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1583s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1583s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1583s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1583s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1583s # #else /* !G_ENABLE_DEBUG */ 1583s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1583s # * Do not access GValues directly in your code. Instead, use the 1583s # * g_value_get_*() functions 1583s # */ 1583s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1583s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1583s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1583s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1583s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1583s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1583s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1583s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1583s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1583s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1583s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1583s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1583s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1583s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1583s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1583s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1583s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1583s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1583s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1583s # #endif /* !G_ENABLE_DEBUG */ 1583s # 1583s # typedef struct 1583s # { 1583s # GDBusArgInfo parent_struct; 1583s # gboolean use_gvariant; 1583s # } _ExtendedGDBusArgInfo; 1583s # 1583s # typedef struct 1583s # { 1583s # GDBusMethodInfo parent_struct; 1583s # const gchar *signal_name; 1583s # gboolean pass_fdlist; 1583s # } _ExtendedGDBusMethodInfo; 1583s # 1583s # typedef struct 1583s # { 1583s # GDBusSignalInfo parent_struct; 1583s # const gchar *signal_name; 1583s # } _ExtendedGDBusSignalInfo; 1583s # 1583s # typedef struct 1583s # { 1583s # GDBusPropertyInfo parent_struct; 1583s # const gchar *hyphen_name; 1583s # guint use_gvariant : 1; 1583s # guint emits_changed_signal : 1; 1583s # } _ExtendedGDBusPropertyInfo; 1583s # 1583s # typedef struct 1583s # { 1583s # GDBusInterfaceInfo parent_struct; 1583s # const gchar *hyphen_name; 1583s # } _ExtendedGDBusInterfaceInfo; 1583s # 1583s # typedef struct 1583s # { 1583s # const _ExtendedGDBusPropertyInfo *info; 1583s # guint prop_id; 1583s # GValue orig_value; /* the value before the change */ 1583s # } ChangedProperty; 1583s # 1583s # static void 1583s # _changed_property_free (ChangedProperty *data) 1583s # { 1583s # g_value_unset (&data->orig_value); 1583s # g_free (data); 1583s # } 1583s # 1583s # static gboolean 1583s # _g_strv_equal0 (gchar **a, gchar **b) 1583s # { 1583s # gboolean ret = FALSE; 1583s # guint n; 1583s # if (a == NULL && b == NULL) 1583s # { 1583s # ret = TRUE; 1583s # goto out; 1583s # } 1583s # if (a == NULL || b == NULL) 1583s # goto out; 1583s # if (g_strv_length (a) != g_strv_length (b)) 1583s # goto out; 1583s # for (n = 0; a[n] != NULL; n++) 1583s # if (g_strcmp0 (a[n], b[n]) != 0) 1583s # goto out; 1583s # ret = TRUE; 1583s # out: 1583s # return ret; 1583s # } 1583s # 1583s # static gboolean 1583s # _g_variant_equal0 (GVariant *a, GVariant *b) 1583s # { 1583s # gboolean ret = FALSE; 1583s # if (a == NULL && b == NULL) 1583s # { 1583s # ret = TRUE; 1583s # goto out; 1583s # } 1583s # if (a == NULL || b == NULL) 1583s # goto out; 1583s # ret = g_variant_equal (a, b); 1583s # out: 1583s # return ret; 1583s # } 1583s # 1583s # G_GNUC_UNUSED static gboolean 1583s # _g_value_equal (const GValue *a, const GValue *b) 1583s # { 1583s # gboolean ret = FALSE; 1583s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1583s # switch (G_VALUE_TYPE (a)) 1583s # { 1583s # case G_TYPE_BOOLEAN: 1583s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1583s # break; 1583s # case G_TYPE_UCHAR: 1583s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1583s # break; 1583s # case G_TYPE_INT: 1583s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1583s # break; 1583s # case G_TYPE_UINT: 1583s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1583s # break; 1583s # case G_TYPE_INT64: 1583s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1583s # break; 1583s # case G_TYPE_UINT64: 1583s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1583s # break; 1583s # case G_TYPE_DOUBLE: 1583s # { 1583s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1583s # gdouble da = g_value_get_double (a); 1583s # gdouble db = g_value_get_double (b); 1583s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1583s # } 1583s # break; 1583s # case G_TYPE_STRING: 1583s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1583s # break; 1583s # case G_TYPE_VARIANT: 1583s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1583s # break; 1583s # default: 1583s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1583s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1583s # else 1583s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1583s # break; 1583s # } 1583s # return ret; 1583s # } 1583s # 1583s # static void 1583s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1583s # GClosure *closure, 1583s # GValue *return_value G_GNUC_UNUSED, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint G_GNUC_UNUSED, 1583s # void *marshal_data) 1583s # { 1583s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1583s # (void *data1, 1583s # gboolean arg_an_b, 1583s # guchar arg_an_y, 1583s # gint16 arg_an_n, 1583s # guint16 arg_an_q, 1583s # gint arg_an_i, 1583s # guint arg_an_u, 1583s # gint64 arg_an_x, 1583s # guint64 arg_an_t, 1583s # gdouble arg_an_d, 1583s # const gchar *arg_an_s, 1583s # const gchar *arg_an_o, 1583s # const gchar *arg_an_g, 1583s # GVariant *arg_an_h, 1583s # const gchar *arg_an_ay, 1583s # const gchar *const *arg_an_as, 1583s # const gchar *const *arg_an_ao, 1583s # const gchar *const *arg_an_aay, 1583s # GVariant *arg_an_asv, 1583s # void *data2); 1583s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1583s # GCClosure *cc = (GCClosure*) closure; 1583s # void *data1, *data2; 1583s # 1583s # g_return_if_fail (n_param_values == 19); 1583s # 1583s # if (G_CCLOSURE_SWAP_DATA (closure)) 1583s # { 1583s # data1 = closure->data; 1583s # data2 = g_value_peek_pointer (param_values + 0); 1583s # } 1583s # else 1583s # { 1583s # data1 = g_value_peek_pointer (param_values + 0); 1583s # data2 = closure->data; 1583s # } 1583s # 1583s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1583s # (marshal_data ? marshal_data : cc->callback); 1583s # 1583s # callback (data1, 1583s # g_marshal_value_peek_boolean (param_values + 1), 1583s # g_marshal_value_peek_uchar (param_values + 2), 1583s # g_marshal_value_peek_int (param_values + 3), 1583s # g_marshal_value_peek_uint (param_values + 4), 1583s # g_marshal_value_peek_int (param_values + 5), 1583s # g_marshal_value_peek_uint (param_values + 6), 1583s # g_marshal_value_peek_int64 (param_values + 7), 1583s # g_marshal_value_peek_uint64 (param_values + 8), 1583s # g_marshal_value_peek_double (param_values + 9), 1583s # g_marshal_value_peek_string (param_values + 10), 1583s # g_marshal_value_peek_string (param_values + 11), 1583s # g_marshal_value_peek_string (param_values + 12), 1583s # g_marshal_value_peek_variant (param_values + 13), 1583s # g_marshal_value_peek_string (param_values + 14), 1583s # g_marshal_value_peek_boxed (param_values + 15), 1583s # g_marshal_value_peek_boxed (param_values + 16), 1583s # g_marshal_value_peek_boxed (param_values + 17), 1583s # g_marshal_value_peek_variant (param_values + 18), 1583s # data2); 1583s # } 1583s # 1583s # /* ------------------------------------------------------------------------ 1583s # * Code for interface org.project.SignalingIface 1583s # * ------------------------------------------------------------------------ 1583s # */ 1583s # 1583s # /** 1583s # * SECTION:OrgProjectSignalingIface 1583s # * @title: OrgProjectSignalingIface 1583s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1583s # * 1583s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1583s # */ 1583s # 1583s # enum 1583s # { 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1583s # }; 1583s # 1583s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1583s # 1583s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_b", 1583s # (gchar *) "b", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_y", 1583s # (gchar *) "y", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_n", 1583s # (gchar *) "n", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_q", 1583s # (gchar *) "q", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_i", 1583s # (gchar *) "i", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_u", 1583s # (gchar *) "u", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_x", 1583s # (gchar *) "x", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_t", 1583s # (gchar *) "t", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_d", 1583s # (gchar *) "d", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_s", 1583s # (gchar *) "s", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_o", 1583s # (gchar *) "o", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_g", 1583s # (gchar *) "g", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_h", 1583s # (gchar *) "h", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_ay", 1583s # (gchar *) "ay", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_as", 1583s # (gchar *) "as", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_ao", 1583s # (gchar *) "ao", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_aay", 1583s # (gchar *) "aay", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_asv", 1583s # (gchar *) "a{sv}", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SignalWithManyArgs", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "signal-with-many-args" 1583s # }; 1583s # 1583s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "org.project.SignalingIface", 1583s # NULL, 1583s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1583s # NULL, 1583s # NULL 1583s # }, 1583s # "org-project-signaling-iface", 1583s # }; 1583s # 1583s # 1583s # /** 1583s # * org_project_signaling_iface_interface_info: 1583s # * 1583s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1583s # * 1583s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1583s # */ 1583s # GDBusInterfaceInfo * 1583s # org_project_signaling_iface_interface_info (void) 1583s # { 1583s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_override_properties: 1583s # * @klass: The class structure for a #GObject derived class. 1583s # * @property_id_begin: The property id to assign to the first overridden property. 1583s # * 1583s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1583s # * The properties are overridden in the order they are defined. 1583s # * 1583s # * Returns: The last property id. 1583s # */ 1583s # guint 1583s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1583s # { 1583s # return property_id_begin - 1; 1583s # } 1583s # 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface: 1583s # * 1583s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1583s # */ 1583s # 1583s # /** 1583s # * OrgProjectSignalingIfaceIface: 1583s # * @parent_iface: The parent interface. 1583s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1583s # * 1583s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1583s # */ 1583s # 1583s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1583s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1583s # 1583s # static void 1583s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1583s # { 1583s # /* GObject signals for received D-Bus signals: */ 1583s # /** 1583s # * OrgProjectSignalingIface::signal-with-many-args: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_b: Argument. 1583s # * @arg_an_y: Argument. 1583s # * @arg_an_n: Argument. 1583s # * @arg_an_q: Argument. 1583s # * @arg_an_i: Argument. 1583s # * @arg_an_u: Argument. 1583s # * @arg_an_x: Argument. 1583s # * @arg_an_t: Argument. 1583s # * @arg_an_d: Argument. 1583s # * @arg_an_s: Argument. 1583s # * @arg_an_o: Argument. 1583s # * @arg_an_g: Argument. 1583s # * @arg_an_h: Argument. 1583s # * @arg_an_ay: Argument. 1583s # * @arg_an_as: Argument. 1583s # * @arg_an_ao: Argument. 1583s # * @arg_an_aay: Argument. 1583s # * @arg_an_asv: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1583s # g_signal_new ("signal-with-many-args", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1583s # G_TYPE_NONE, 1583s # 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); 1583s # 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_signal_with_many_args: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_b: Argument to pass with the signal. 1583s # * @arg_an_y: Argument to pass with the signal. 1583s # * @arg_an_n: Argument to pass with the signal. 1583s # * @arg_an_q: Argument to pass with the signal. 1583s # * @arg_an_i: Argument to pass with the signal. 1583s # * @arg_an_u: Argument to pass with the signal. 1583s # * @arg_an_x: Argument to pass with the signal. 1583s # * @arg_an_t: Argument to pass with the signal. 1583s # * @arg_an_d: Argument to pass with the signal. 1583s # * @arg_an_s: Argument to pass with the signal. 1583s # * @arg_an_o: Argument to pass with the signal. 1583s # * @arg_an_g: Argument to pass with the signal. 1583s # * @arg_an_h: Argument to pass with the signal. 1583s # * @arg_an_ay: Argument to pass with the signal. 1583s # * @arg_an_as: Argument to pass with the signal. 1583s # * @arg_an_ao: Argument to pass with the signal. 1583s # * @arg_an_aay: Argument to pass with the signal. 1583s # * @arg_an_asv: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SignalWithManyArgs" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_signal_with_many_args ( 1583s # OrgProjectSignalingIface *object, 1583s # gboolean arg_an_b, 1583s # guchar arg_an_y, 1583s # gint16 arg_an_n, 1583s # guint16 arg_an_q, 1583s # gint arg_an_i, 1583s # guint arg_an_u, 1583s # gint64 arg_an_x, 1583s # guint64 arg_an_t, 1583s # gdouble arg_an_d, 1583s # const gchar *arg_an_s, 1583s # const gchar *arg_an_o, 1583s # const gchar *arg_an_g, 1583s # GVariant *arg_an_h, 1583s # const gchar *arg_an_ay, 1583s # const gchar *const *arg_an_as, 1583s # const gchar *const *arg_an_ao, 1583s # const gchar *const *arg_an_aay, 1583s # GVariant *arg_an_asv) 1583s # { 1583s # 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); 1583s # } 1583s # 1583s # /* ------------------------------------------------------------------------ */ 1583s # 1583s # /** 1583s # * OrgProjectSignalingIfaceProxy: 1583s # * 1583s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1583s # */ 1583s # 1583s # /** 1583s # * OrgProjectSignalingIfaceProxyClass: 1583s # * @parent_class: The parent class. 1583s # * 1583s # * Class structure for #OrgProjectSignalingIfaceProxy. 1583s # */ 1583s # 1583s # struct _OrgProjectSignalingIfaceProxyPrivate 1583s # { 1583s # GData *qdata; 1583s # }; 1583s # 1583s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1583s # 1583s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1583s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1583s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1583s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1583s # 1583s # #else 1583s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1583s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1583s # 1583s # #endif 1583s # static void 1583s # org_project_signaling_iface_proxy_finalize (GObject *object) 1583s # { 1583s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1583s # g_datalist_clear (&proxy->priv->qdata); 1583s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1583s # guint prop_id G_GNUC_UNUSED, 1583s # GValue *value G_GNUC_UNUSED, 1583s # GParamSpec *pspec G_GNUC_UNUSED) 1583s # { 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1583s # guint prop_id G_GNUC_UNUSED, 1583s # const GValue *value G_GNUC_UNUSED, 1583s # GParamSpec *pspec G_GNUC_UNUSED) 1583s # { 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1583s # const gchar *sender_name G_GNUC_UNUSED, 1583s # const gchar *signal_name, 1583s # GVariant *parameters) 1583s # { 1583s # _ExtendedGDBusSignalInfo *info; 1583s # GVariantIter iter; 1583s # GVariant *child; 1583s # GValue *paramv; 1583s # gsize num_params; 1583s # gsize n; 1583s # guint signal_id; 1583s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1583s # if (info == NULL) 1583s # return; 1583s # num_params = g_variant_n_children (parameters); 1583s # paramv = g_new0 (GValue, num_params + 1); 1583s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1583s # g_value_set_object (¶mv[0], proxy); 1583s # g_variant_iter_init (&iter, parameters); 1583s # n = 1; 1583s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1583s # { 1583s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1583s # if (arg_info->use_gvariant) 1583s # { 1583s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1583s # g_value_set_variant (¶mv[n], child); 1583s # n++; 1583s # } 1583s # else 1583s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1583s # g_variant_unref (child); 1583s # } 1583s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1583s # g_signal_emitv (paramv, signal_id, 0, NULL); 1583s # for (n = 0; n < num_params + 1; n++) 1583s # g_value_unset (¶mv[n]); 1583s # g_free (paramv); 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1583s # GVariant *changed_properties, 1583s # const gchar *const *invalidated_properties) 1583s # { 1583s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1583s # guint n; 1583s # const gchar *key; 1583s # GVariantIter *iter; 1583s # _ExtendedGDBusPropertyInfo *info; 1583s # g_variant_get (changed_properties, "a{sv}", &iter); 1583s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1583s # { 1583s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1583s # g_datalist_remove_data (&proxy->priv->qdata, key); 1583s # if (info != NULL) 1583s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1583s # } 1583s # g_variant_iter_free (iter); 1583s # for (n = 0; invalidated_properties[n] != NULL; n++) 1583s # { 1583s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1583s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1583s # if (info != NULL) 1583s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1583s # } 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1583s # { 1583s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1583s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1583s # #else 1583s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1583s # #endif 1583s # 1583s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1583s # { 1583s # GObjectClass *gobject_class; 1583s # GDBusProxyClass *proxy_class; 1583s # 1583s # gobject_class = G_OBJECT_CLASS (klass); 1583s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1583s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1583s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1583s # 1583s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1583s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1583s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1583s # 1583s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1583s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1583s # #endif 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1583s # { 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_proxy_new: 1583s # * @connection: A #GDBusConnection. 1583s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1583s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1583s # * @object_path: An object path. 1583s # * @cancellable: (nullable): A #GCancellable or %NULL. 1583s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1583s # * @user_data: User data to pass to @callback. 1583s # * 1583s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1583s # * 1583s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1583s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1583s # * 1583s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_proxy_new ( 1583s # GDBusConnection *connection, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GAsyncReadyCallback callback, 1583s # gpointer user_data) 1583s # { 1583s # 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); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_proxy_new_finish: 1583s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1583s # * @error: Return location for error or %NULL 1583s # * 1583s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1583s # * 1583s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1583s # */ 1583s # OrgProjectSignalingIface * 1583s # org_project_signaling_iface_proxy_new_finish ( 1583s # GAsyncResult *res, 1583s # GError **error) 1583s # { 1583s # GObject *ret; 1583s # GObject *source_object; 1583s # source_object = g_async_result_get_source_object (res); 1583s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1583s # g_object_unref (source_object); 1583s # if (ret != NULL) 1583s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1583s # else 1583s # return NULL; 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_proxy_new_sync: 1583s # * @connection: A #GDBusConnection. 1583s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1583s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1583s # * @object_path: An object path. 1583s # * @cancellable: (nullable): A #GCancellable or %NULL. 1583s # * @error: Return location for error or %NULL 1583s # * 1583s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1583s # * 1583s # * The calling thread is blocked until a reply is received. 1583s # * 1583s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1583s # * 1583s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1583s # */ 1583s # OrgProjectSignalingIface * 1583s # org_project_signaling_iface_proxy_new_sync ( 1583s # GDBusConnection *connection, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GError **error) 1583s # { 1583s # GInitable *ret; 1583s # 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); 1583s # if (ret != NULL) 1583s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1583s # else 1583s # return NULL; 1583s # } 1583s # 1583s # 1583s # /** 1583s # * org_project_signaling_iface_proxy_new_for_bus: 1583s # * @bus_type: A #GBusType. 1583s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1583s # * @name: A bus name (well-known or unique). 1583s # * @object_path: An object path. 1583s # * @cancellable: (nullable): A #GCancellable or %NULL. 1583s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1583s # * @user_data: User data to pass to @callback. 1583s # * 1583s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1583s # * 1583s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1583s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1583s # * 1583s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_proxy_new_for_bus ( 1583s # GBusType bus_type, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GAsyncReadyCallback callback, 1583s # gpointer user_data) 1583s # { 1583s # 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); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1583s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1583s # * @error: Return location for error or %NULL 1583s # * 1583s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1583s # * 1583s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1583s # */ 1583s # OrgProjectSignalingIface * 1583s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1583s # GAsyncResult *res, 1583s # GError **error) 1583s # { 1583s # GObject *ret; 1583s # GObject *source_object; 1583s # source_object = g_async_result_get_source_object (res); 1583s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1583s # g_object_unref (source_object); 1583s # if (ret != NULL) 1583s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1583s # else 1583s # return NULL; 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1583s # * @bus_type: A #GBusType. 1583s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1583s # * @name: A bus name (well-known or unique). 1583s # * @object_path: An object path. 1583s # * @cancellable: (nullable): A #GCancellable or %NULL. 1583s # * @error: Return location for error or %NULL 1583s # * 1583s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1583s # * 1583s # * The calling thread is blocked until a reply is received. 1583s # * 1583s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1583s # * 1583s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1583s # */ 1583s # OrgProjectSignalingIface * 1583s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1583s # GBusType bus_type, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GError **error) 1583s # { 1583s # GInitable *ret; 1583s # 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); 1583s # if (ret != NULL) 1583s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1583s # else 1583s # return NULL; 1583s # } 1583s # 1583s # 1583s # /* ------------------------------------------------------------------------ */ 1583s # 1583s # /** 1583s # * OrgProjectSignalingIfaceSkeleton: 1583s # * 1583s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1583s # */ 1583s # 1583s # /** 1583s # * OrgProjectSignalingIfaceSkeletonClass: 1583s # * @parent_class: The parent class. 1583s # * 1583s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1583s # */ 1583s # 1583s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1583s # { 1583s # GValue *properties; 1583s # GList *changed_properties; 1583s # GSource *changed_properties_idle_source; 1583s # GMainContext *context; 1583s # GMutex lock; 1583s # }; 1583s # 1583s # static void 1583s # _org_project_signaling_iface_skeleton_handle_method_call ( 1583s # GDBusConnection *connection G_GNUC_UNUSED, 1583s # const gchar *sender G_GNUC_UNUSED, 1583s # const gchar *object_path G_GNUC_UNUSED, 1583s # const gchar *interface_name, 1583s # const gchar *method_name, 1583s # GVariant *parameters, 1583s # GDBusMethodInvocation *invocation, 1583s # gpointer user_data) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1583s # _ExtendedGDBusMethodInfo *info; 1583s # GVariantIter iter; 1583s # GVariant *child; 1583s # GValue *paramv; 1583s # gsize num_params; 1583s # guint num_extra; 1583s # gsize n; 1583s # guint signal_id; 1583s # GValue return_value = G_VALUE_INIT; 1583s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1583s # g_assert (info != NULL); 1583s # num_params = g_variant_n_children (parameters); 1583s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1583s # n = 0; 1583s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1583s # g_value_set_object (¶mv[n++], skeleton); 1583s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1583s # g_value_set_object (¶mv[n++], invocation); 1583s # if (info->pass_fdlist) 1583s # { 1583s # #ifdef G_OS_UNIX 1583s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1583s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1583s # #else 1583s # g_assert_not_reached (); 1583s # #endif 1583s # } 1583s # g_variant_iter_init (&iter, parameters); 1583s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1583s # { 1583s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1583s # if (arg_info->use_gvariant) 1583s # { 1583s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1583s # g_value_set_variant (¶mv[n], child); 1583s # n++; 1583s # } 1583s # else 1583s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1583s # g_variant_unref (child); 1583s # } 1583s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1583s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1583s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1583s # if (!g_value_get_boolean (&return_value)) 1583s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1583s # g_value_unset (&return_value); 1583s # for (n = 0; n < num_params + num_extra; n++) 1583s # g_value_unset (¶mv[n]); 1583s # g_free (paramv); 1583s # } 1583s # 1583s # static GVariant * 1583s # _org_project_signaling_iface_skeleton_handle_get_property ( 1583s # GDBusConnection *connection G_GNUC_UNUSED, 1583s # const gchar *sender G_GNUC_UNUSED, 1583s # const gchar *object_path G_GNUC_UNUSED, 1583s # const gchar *interface_name G_GNUC_UNUSED, 1583s # const gchar *property_name, 1583s # GError **error, 1583s # gpointer user_data) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1583s # GValue value = G_VALUE_INIT; 1583s # GParamSpec *pspec; 1583s # _ExtendedGDBusPropertyInfo *info; 1583s # GVariant *ret; 1583s # ret = NULL; 1583s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1583s # g_assert (info != NULL); 1583s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1583s # if (pspec == NULL) 1583s # { 1583s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1583s # } 1583s # else 1583s # { 1583s # g_value_init (&value, pspec->value_type); 1583s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1583s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1583s # g_value_unset (&value); 1583s # } 1583s # return ret; 1583s # } 1583s # 1583s # static gboolean 1583s # _org_project_signaling_iface_skeleton_handle_set_property ( 1583s # GDBusConnection *connection G_GNUC_UNUSED, 1583s # const gchar *sender G_GNUC_UNUSED, 1583s # const gchar *object_path G_GNUC_UNUSED, 1583s # const gchar *interface_name G_GNUC_UNUSED, 1583s # const gchar *property_name, 1583s # GVariant *variant, 1583s # GError **error, 1583s # gpointer user_data) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1583s # GValue value = G_VALUE_INIT; 1583s # GParamSpec *pspec; 1583s # _ExtendedGDBusPropertyInfo *info; 1583s # gboolean ret; 1583s # ret = FALSE; 1583s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1583s # g_assert (info != NULL); 1583s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1583s # if (pspec == NULL) 1583s # { 1583s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1583s # } 1583s # else 1583s # { 1583s # if (info->use_gvariant) 1583s # g_value_set_variant (&value, variant); 1583s # else 1583s # g_dbus_gvariant_to_gvalue (variant, &value); 1583s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1583s # g_value_unset (&value); 1583s # ret = TRUE; 1583s # } 1583s # return ret; 1583s # } 1583s # 1583s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1583s # { 1583s # _org_project_signaling_iface_skeleton_handle_method_call, 1583s # _org_project_signaling_iface_skeleton_handle_get_property, 1583s # _org_project_signaling_iface_skeleton_handle_set_property, 1583s # {NULL} 1583s # }; 1583s # 1583s # static GDBusInterfaceInfo * 1583s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1583s # { 1583s # return org_project_signaling_iface_interface_info (); 1583s # } 1583s # 1583s # static GDBusInterfaceVTable * 1583s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1583s # { 1583s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1583s # } 1583s # 1583s # static GVariant * 1583s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1583s # 1583s # GVariantBuilder builder; 1583s # guint n; 1583s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1583s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1583s # goto out; 1583s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1583s # { 1583s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1583s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1583s # { 1583s # GVariant *value; 1583s # 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); 1583s # if (value != NULL) 1583s # { 1583s # g_variant_take_ref (value); 1583s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1583s # g_variant_unref (value); 1583s # } 1583s # } 1583s # } 1583s # out: 1583s # return g_variant_builder_end (&builder); 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1583s # { 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1583s # OrgProjectSignalingIface *object, 1583s # gboolean arg_an_b, 1583s # guchar arg_an_y, 1583s # gint16 arg_an_n, 1583s # guint16 arg_an_q, 1583s # gint arg_an_i, 1583s # guint arg_an_u, 1583s # gint64 arg_an_x, 1583s # guint64 arg_an_t, 1583s # gdouble arg_an_d, 1583s # const gchar *arg_an_s, 1583s # const gchar *arg_an_o, 1583s # const gchar *arg_an_g, 1583s # GVariant *arg_an_h, 1583s # const gchar *arg_an_ay, 1583s # const gchar *const *arg_an_as, 1583s # const gchar *const *arg_an_ao, 1583s # const gchar *const *arg_an_aay, 1583s # GVariant *arg_an_asv) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1583s # arg_an_b, 1583s # arg_an_y, 1583s # arg_an_n, 1583s # arg_an_q, 1583s # arg_an_i, 1583s # arg_an_u, 1583s # arg_an_x, 1583s # arg_an_t, 1583s # arg_an_d, 1583s # arg_an_s, 1583s # arg_an_o, 1583s # arg_an_g, 1583s # arg_an_h, 1583s # arg_an_ay, 1583s # arg_an_as, 1583s # arg_an_ao, 1583s # arg_an_aay, 1583s # arg_an_asv)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1583s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1583s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1583s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1583s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1583s # 1583s # #else 1583s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1583s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1583s # 1583s # #endif 1583s # static void 1583s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1583s # if (skeleton->priv->changed_properties_idle_source != NULL) 1583s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1583s # g_main_context_unref (skeleton->priv->context); 1583s # g_mutex_clear (&skeleton->priv->lock); 1583s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1583s # { 1583s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1583s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1583s # #else 1583s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1583s # #endif 1583s # 1583s # g_mutex_init (&skeleton->priv->lock); 1583s # skeleton->priv->context = g_main_context_ref_thread_default (); 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1583s # { 1583s # GObjectClass *gobject_class; 1583s # GDBusInterfaceSkeletonClass *skeleton_class; 1583s # 1583s # gobject_class = G_OBJECT_CLASS (klass); 1583s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1583s # 1583s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1583s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1583s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1583s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1583s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1583s # 1583s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1583s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1583s # #endif 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1583s # { 1583s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_skeleton_new: 1583s # * 1583s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1583s # * 1583s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1583s # */ 1583s # OrgProjectSignalingIface * 1583s # org_project_signaling_iface_skeleton_new (void) 1583s # { 1583s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1583s # } 1583s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1583s # tmpdir: /tmp/tmpuw500ors 1583s # codegen: /usr/bin/gdbus-codegen 1583s # /tmp/tmpuw500ors/tmplb7mremo.xml: 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuw500ors/tmplb7mremo.xml', '--output', '-', '--body'] 1583s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1583s # Output: /* 1583s # * This file is generated by gdbus-codegen, do not modify it. 1583s # * 1583s # * The license of this code is the same as for the D-Bus interface description 1583s # * it was derived from. Note that it links to GLib, so must comply with the 1583s # * LGPL linking clauses. 1583s # */ 1583s # 1583s # #ifdef HAVE_CONFIG_H 1583s # # include "config.h" 1583s # #endif 1583s # 1583s # #include 1583s # #ifdef G_OS_UNIX 1583s # # include 1583s # #endif 1583s # 1583s # #ifdef G_ENABLE_DEBUG 1583s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1583s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1583s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1583s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1583s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1583s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1583s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1583s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1583s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1583s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1583s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1583s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1583s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1583s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1583s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1583s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1583s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1583s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1583s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1583s # #else /* !G_ENABLE_DEBUG */ 1583s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1583s # * Do not access GValues directly in your code. Instead, use the 1583s # * g_value_get_*() functions 1583s # */ 1583s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1583s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1583s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1583s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1583s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1583s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1583s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1583s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1583s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1583s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1583s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1583s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1583s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1583s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1583s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1583s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1583s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1583s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1583s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1583s # #endif /* !G_ENABLE_DEBUG */ 1583s # 1583s # typedef struct 1583s # { 1583s # GDBusArgInfo parent_struct; 1583s # gboolean use_gvariant; 1583s # } _ExtendedGDBusArgInfo; 1583s # 1583s # typedef struct 1583s # { 1583s # GDBusMethodInfo parent_struct; 1583s # const gchar *signal_name; 1583s # gboolean pass_fdlist; 1583s # } _ExtendedGDBusMethodInfo; 1583s # 1583s # typedef struct 1583s # { 1583s # GDBusSignalInfo parent_struct; 1583s # const gchar *signal_name; 1583s # } _ExtendedGDBusSignalInfo; 1583s # 1583s # typedef struct 1583s # { 1583s # GDBusPropertyInfo parent_struct; 1583s # const gchar *hyphen_name; 1583s # guint use_gvariant : 1; 1583s # guint emits_changed_signal : 1; 1583s # } _ExtendedGDBusPropertyInfo; 1583s # 1583s # typedef struct 1583s # { 1583s # GDBusInterfaceInfo parent_struct; 1583s # const gchar *hyphen_name; 1583s # } _ExtendedGDBusInterfaceInfo; 1583s # 1583s # typedef struct 1583s # { 1583s # const _ExtendedGDBusPropertyInfo *info; 1583s # guint prop_id; 1583s # GValue orig_value; /* the value before the change */ 1583s # } ChangedProperty; 1583s # 1583s # static void 1583s # _changed_property_free (ChangedProperty *data) 1583s # { 1583s # g_value_unset (&data->orig_value); 1583s # g_free (data); 1583s # } 1583s # 1583s # static gboolean 1583s # _g_strv_equal0 (gchar **a, gchar **b) 1583s # { 1583s # gboolean ret = FALSE; 1583s # guint n; 1583s # if (a == NULL && b == NULL) 1583s # { 1583s # ret = TRUE; 1583s # goto out; 1583s # } 1583s # if (a == NULL || b == NULL) 1583s # goto out; 1583s # if (g_strv_length (a) != g_strv_length (b)) 1583s # goto out; 1583s # for (n = 0; a[n] != NULL; n++) 1583s # if (g_strcmp0 (a[n], b[n]) != 0) 1583s # goto out; 1583s # ret = TRUE; 1583s # out: 1583s # return ret; 1583s # } 1583s # 1583s # static gboolean 1583s # _g_variant_equal0 (GVariant *a, GVariant *b) 1583s # { 1583s # gboolean ret = FALSE; 1583s # if (a == NULL && b == NULL) 1583s # { 1583s # ret = TRUE; 1583s # goto out; 1583s # } 1583s # if (a == NULL || b == NULL) 1583s # goto out; 1583s # ret = g_variant_equal (a, b); 1583s # out: 1583s # return ret; 1583s # } 1583s # 1583s # G_GNUC_UNUSED static gboolean 1583s # _g_value_equal (const GValue *a, const GValue *b) 1583s # { 1583s # gboolean ret = FALSE; 1583s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1583s # switch (G_VALUE_TYPE (a)) 1583s # { 1583s # case G_TYPE_BOOLEAN: 1583s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1583s # break; 1583s # case G_TYPE_UCHAR: 1583s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1583s # break; 1583s # case G_TYPE_INT: 1583s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1583s # break; 1583s # case G_TYPE_UINT: 1583s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1583s # break; 1583s # case G_TYPE_INT64: 1583s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1583s # break; 1583s # case G_TYPE_UINT64: 1583s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1583s # break; 1583s # case G_TYPE_DOUBLE: 1583s # { 1583s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1583s # gdouble da = g_value_get_double (a); 1583s # gdouble db = g_value_get_double (b); 1583s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1583s # } 1583s # break; 1583s # case G_TYPE_STRING: 1583s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1583s # break; 1583s # case G_TYPE_VARIANT: 1583s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1583s # break; 1583s # default: 1583s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1583s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1583s # else 1583s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1583s # break; 1583s # } 1583s # return ret; 1583s # } 1583s # 1583s # static void 1583s # _g_dbus_codegen_marshal_VOID__INT64 ( 1583s # GClosure *closure, 1583s # GValue *return_value G_GNUC_UNUSED, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint G_GNUC_UNUSED, 1583s # void *marshal_data) 1583s # { 1583s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1583s # (void *data1, 1583s # gint64 arg_an_x, 1583s # void *data2); 1583s # _GDbusCodegenMarshalVoid_Int64Func callback; 1583s # GCClosure *cc = (GCClosure*) closure; 1583s # void *data1, *data2; 1583s # 1583s # g_return_if_fail (n_param_values == 2); 1583s # 1583s # if (G_CCLOSURE_SWAP_DATA (closure)) 1583s # { 1583s # data1 = closure->data; 1583s # data2 = g_value_peek_pointer (param_values + 0); 1583s # } 1583s # else 1583s # { 1583s # data1 = g_value_peek_pointer (param_values + 0); 1583s # data2 = closure->data; 1583s # } 1583s # 1583s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1583s # (marshal_data ? marshal_data : cc->callback); 1583s # 1583s # callback (data1, 1583s # g_marshal_value_peek_int64 (param_values + 1), 1583s # data2); 1583s # } 1583s # 1583s # static void 1583s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1583s # GClosure *closure, 1583s # GValue *return_value G_GNUC_UNUSED, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint G_GNUC_UNUSED, 1583s # void *marshal_data) 1583s # { 1583s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1583s # (void *data1, 1583s # guint64 arg_an_t, 1583s # void *data2); 1583s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1583s # GCClosure *cc = (GCClosure*) closure; 1583s # void *data1, *data2; 1583s # 1583s # g_return_if_fail (n_param_values == 2); 1583s # 1583s # if (G_CCLOSURE_SWAP_DATA (closure)) 1583s # { 1583s # data1 = closure->data; 1583s # data2 = g_value_peek_pointer (param_values + 0); 1583s # } 1583s # else 1583s # { 1583s # data1 = g_value_peek_pointer (param_values + 0); 1583s # data2 = closure->data; 1583s # } 1583s # 1583s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1583s # (marshal_data ? marshal_data : cc->callback); 1583s # 1583s # callback (data1, 1583s # g_marshal_value_peek_uint64 (param_values + 1), 1583s # data2); 1583s # } 1583s # 1583s # /* ------------------------------------------------------------------------ 1583s # * Code for interface org.project.SignalingIface 1583s # * ------------------------------------------------------------------------ 1583s # */ 1583s # 1583s # /** 1583s # * SECTION:OrgProjectSignalingIface 1583s # * @title: OrgProjectSignalingIface 1583s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1583s # * 1583s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1583s # */ 1583s # 1583s # enum 1583s # { 1583s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1583s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1583s # }; 1583s # 1583s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1583s # 1583s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "NoArgSignal", 1583s # NULL, 1583s # NULL 1583s # }, 1583s # "no-arg-signal" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_b", 1583s # (gchar *) "b", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalB", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-b" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_y", 1583s # (gchar *) "y", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalY", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-y" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_n", 1583s # (gchar *) "n", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalN", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-n" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_q", 1583s # (gchar *) "q", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalQ", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-q" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_i", 1583s # (gchar *) "i", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalI", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-i" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_u", 1583s # (gchar *) "u", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalU", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-u" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_x", 1583s # (gchar *) "x", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalX", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-x" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_t", 1583s # (gchar *) "t", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalT", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-t" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_d", 1583s # (gchar *) "d", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalD", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-d" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_s", 1583s # (gchar *) "s", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalS", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-s" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_o", 1583s # (gchar *) "o", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalO", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-o" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_g", 1583s # (gchar *) "g", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalG", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-g" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_h", 1583s # (gchar *) "h", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalH", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-h" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_ay", 1583s # (gchar *) "ay", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalAY", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-ay" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_as", 1583s # (gchar *) "as", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalAS", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-as" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_ao", 1583s # (gchar *) "ao", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalAO", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-ao" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_aay", 1583s # (gchar *) "aay", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalAAY", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-aay" 1583s # }; 1583s # 1583s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "an_asv", 1583s # (gchar *) "a{sv}", 1583s # NULL 1583s # }, 1583s # FALSE 1583s # }; 1583s # 1583s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "SingleArgSignalASV", 1583s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1583s # NULL 1583s # }, 1583s # "single-arg-signal-asv" 1583s # }; 1583s # 1583s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1583s # { 1583s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1583s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1583s # NULL 1583s # }; 1583s # 1583s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1583s # { 1583s # { 1583s # -1, 1583s # (gchar *) "org.project.SignalingIface", 1583s # NULL, 1583s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1583s # NULL, 1583s # NULL 1583s # }, 1583s # "org-project-signaling-iface", 1583s # }; 1583s # 1583s # 1583s # /** 1583s # * org_project_signaling_iface_interface_info: 1583s # * 1583s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1583s # * 1583s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1583s # */ 1583s # GDBusInterfaceInfo * 1583s # org_project_signaling_iface_interface_info (void) 1583s # { 1583s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_override_properties: 1583s # * @klass: The class structure for a #GObject derived class. 1583s # * @property_id_begin: The property id to assign to the first overridden property. 1583s # * 1583s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1583s # * The properties are overridden in the order they are defined. 1583s # * 1583s # * Returns: The last property id. 1583s # */ 1583s # guint 1583s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1583s # { 1583s # return property_id_begin - 1; 1583s # } 1583s # 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__VOID (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__UCHAR (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__INT (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__UINT (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__INT (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__UINT (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__DOUBLE (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__STRING (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__STRING (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__STRING (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__VARIANT (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__STRING (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__BOXED (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__BOXED (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__BOXED (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # inline static void 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1583s # GClosure *closure, 1583s # GValue *return_value, 1583s # unsigned int n_param_values, 1583s # const GValue *param_values, 1583s # void *invocation_hint, 1583s # void *marshal_data) 1583s # { 1583s # g_cclosure_marshal_VOID__VARIANT (closure, 1583s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1583s # } 1583s # 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface: 1583s # * 1583s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1583s # */ 1583s # 1583s # /** 1583s # * OrgProjectSignalingIfaceIface: 1583s # * @parent_iface: The parent interface. 1583s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1583s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1583s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1583s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1583s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1583s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1583s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1583s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1583s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1583s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1583s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1583s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1583s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1583s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1583s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1583s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1583s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1583s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1583s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1583s # * 1583s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1583s # */ 1583s # 1583s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1583s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1583s # 1583s # static void 1583s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1583s # { 1583s # /* GObject signals for received D-Bus signals: */ 1583s # /** 1583s # * OrgProjectSignalingIface::no-arg-signal: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1583s # g_signal_new ("no-arg-signal", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1583s # G_TYPE_NONE, 1583s # 0); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-b: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_b: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1583s # g_signal_new ("single-arg-signal-b", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_BOOLEAN); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-y: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_y: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1583s # g_signal_new ("single-arg-signal-y", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_UCHAR); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-n: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_n: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1583s # g_signal_new ("single-arg-signal-n", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_INT); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-q: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_q: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1583s # g_signal_new ("single-arg-signal-q", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_UINT); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-i: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_i: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1583s # g_signal_new ("single-arg-signal-i", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_INT); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-u: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_u: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1583s # g_signal_new ("single-arg-signal-u", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_UINT); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-x: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_x: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1583s # g_signal_new ("single-arg-signal-x", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_INT64); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-t: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_t: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1583s # g_signal_new ("single-arg-signal-t", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_UINT64); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-d: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_d: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1583s # g_signal_new ("single-arg-signal-d", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_DOUBLE); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-s: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_s: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1583s # g_signal_new ("single-arg-signal-s", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_STRING); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-o: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_o: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1583s # g_signal_new ("single-arg-signal-o", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_STRING); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-g: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_g: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1583s # g_signal_new ("single-arg-signal-g", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_STRING); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-h: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_h: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1583s # g_signal_new ("single-arg-signal-h", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_VARIANT); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-ay: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_ay: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1583s # g_signal_new ("single-arg-signal-ay", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_STRING); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-as: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_as: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1583s # g_signal_new ("single-arg-signal-as", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_STRV); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-ao: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_ao: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1583s # g_signal_new ("single-arg-signal-ao", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_STRV); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-aay: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_aay: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1583s # g_signal_new ("single-arg-signal-aay", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_STRV); 1583s # 1583s # /** 1583s # * OrgProjectSignalingIface::single-arg-signal-asv: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_asv: Argument. 1583s # * 1583s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1583s # * 1583s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1583s # */ 1583s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1583s # g_signal_new ("single-arg-signal-asv", 1583s # G_TYPE_FROM_INTERFACE (iface), 1583s # G_SIGNAL_RUN_LAST, 1583s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1583s # NULL, 1583s # NULL, 1583s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1583s # G_TYPE_NONE, 1583s # 1, G_TYPE_VARIANT); 1583s # 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_no_arg_signal: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * 1583s # * Emits the "NoArgSignal" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_no_arg_signal ( 1583s # OrgProjectSignalingIface *object) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_b: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_b: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalB" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_b ( 1583s # OrgProjectSignalingIface *object, 1583s # gboolean arg_an_b) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_y: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_y: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalY" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_y ( 1583s # OrgProjectSignalingIface *object, 1583s # guchar arg_an_y) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_n: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_n: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalN" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_n ( 1583s # OrgProjectSignalingIface *object, 1583s # gint16 arg_an_n) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_q: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_q: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalQ" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_q ( 1583s # OrgProjectSignalingIface *object, 1583s # guint16 arg_an_q) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_i: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_i: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalI" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_i ( 1583s # OrgProjectSignalingIface *object, 1583s # gint arg_an_i) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_u: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_u: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalU" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_u ( 1583s # OrgProjectSignalingIface *object, 1583s # guint arg_an_u) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_x: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_x: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalX" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_x ( 1583s # OrgProjectSignalingIface *object, 1583s # gint64 arg_an_x) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_t: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_t: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalT" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_t ( 1583s # OrgProjectSignalingIface *object, 1583s # guint64 arg_an_t) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_d: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_d: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalD" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_d ( 1583s # OrgProjectSignalingIface *object, 1583s # gdouble arg_an_d) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_s: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_s: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalS" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_s ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *arg_an_s) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_o: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_o: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalO" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_o ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *arg_an_o) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_g: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_g: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalG" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_g ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *arg_an_g) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_h: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_h: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalH" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_h ( 1583s # OrgProjectSignalingIface *object, 1583s # GVariant *arg_an_h) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_ay: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalAY" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *arg_an_ay) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_as: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_as: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalAS" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_as ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *const *arg_an_as) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_ao: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalAO" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *const *arg_an_ao) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_aay: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *const *arg_an_aay) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1583s # * @object: A #OrgProjectSignalingIface. 1583s # * @arg_an_asv: Argument to pass with the signal. 1583s # * 1583s # * Emits the "SingleArgSignalASV" D-Bus signal. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1583s # OrgProjectSignalingIface *object, 1583s # GVariant *arg_an_asv) 1583s # { 1583s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1583s # } 1583s # 1583s # /* ------------------------------------------------------------------------ */ 1583s # 1583s # /** 1583s # * OrgProjectSignalingIfaceProxy: 1583s # * 1583s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1583s # */ 1583s # 1583s # /** 1583s # * OrgProjectSignalingIfaceProxyClass: 1583s # * @parent_class: The parent class. 1583s # * 1583s # * Class structure for #OrgProjectSignalingIfaceProxy. 1583s # */ 1583s # 1583s # struct _OrgProjectSignalingIfaceProxyPrivate 1583s # { 1583s # GData *qdata; 1583s # }; 1583s # 1583s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1583s # 1583s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1583s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1583s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1583s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1583s # 1583s # #else 1583s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1583s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1583s # 1583s # #endif 1583s # static void 1583s # org_project_signaling_iface_proxy_finalize (GObject *object) 1583s # { 1583s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1583s # g_datalist_clear (&proxy->priv->qdata); 1583s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1583s # guint prop_id G_GNUC_UNUSED, 1583s # GValue *value G_GNUC_UNUSED, 1583s # GParamSpec *pspec G_GNUC_UNUSED) 1583s # { 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1583s # guint prop_id G_GNUC_UNUSED, 1583s # const GValue *value G_GNUC_UNUSED, 1583s # GParamSpec *pspec G_GNUC_UNUSED) 1583s # { 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1583s # const gchar *sender_name G_GNUC_UNUSED, 1583s # const gchar *signal_name, 1583s # GVariant *parameters) 1583s # { 1583s # _ExtendedGDBusSignalInfo *info; 1583s # GVariantIter iter; 1583s # GVariant *child; 1583s # GValue *paramv; 1583s # gsize num_params; 1583s # gsize n; 1583s # guint signal_id; 1583s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1583s # if (info == NULL) 1583s # return; 1583s # num_params = g_variant_n_children (parameters); 1583s # paramv = g_new0 (GValue, num_params + 1); 1583s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1583s # g_value_set_object (¶mv[0], proxy); 1583s # g_variant_iter_init (&iter, parameters); 1583s # n = 1; 1583s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1583s # { 1583s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1583s # if (arg_info->use_gvariant) 1583s # { 1583s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1583s # g_value_set_variant (¶mv[n], child); 1583s # n++; 1583s # } 1583s # else 1583s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1583s # g_variant_unref (child); 1583s # } 1583s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1583s # g_signal_emitv (paramv, signal_id, 0, NULL); 1583s # for (n = 0; n < num_params + 1; n++) 1583s # g_value_unset (¶mv[n]); 1583s # g_free (paramv); 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1583s # GVariant *changed_properties, 1583s # const gchar *const *invalidated_properties) 1583s # { 1583s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1583s # guint n; 1583s # const gchar *key; 1583s # GVariantIter *iter; 1583s # _ExtendedGDBusPropertyInfo *info; 1583s # g_variant_get (changed_properties, "a{sv}", &iter); 1583s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1583s # { 1583s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1583s # g_datalist_remove_data (&proxy->priv->qdata, key); 1583s # if (info != NULL) 1583s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1583s # } 1583s # g_variant_iter_free (iter); 1583s # for (n = 0; invalidated_properties[n] != NULL; n++) 1583s # { 1583s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1583s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1583s # if (info != NULL) 1583s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1583s # } 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1583s # { 1583s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1583s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1583s # #else 1583s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1583s # #endif 1583s # 1583s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1583s # { 1583s # GObjectClass *gobject_class; 1583s # GDBusProxyClass *proxy_class; 1583s # 1583s # gobject_class = G_OBJECT_CLASS (klass); 1583s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1583s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1583s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1583s # 1583s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1583s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1583s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1583s # 1583s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1583s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1583s # #endif 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1583s # { 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_proxy_new: 1583s # * @connection: A #GDBusConnection. 1583s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1583s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1583s # * @object_path: An object path. 1583s # * @cancellable: (nullable): A #GCancellable or %NULL. 1583s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1583s # * @user_data: User data to pass to @callback. 1583s # * 1583s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1583s # * 1583s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1583s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1583s # * 1583s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_proxy_new ( 1583s # GDBusConnection *connection, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GAsyncReadyCallback callback, 1583s # gpointer user_data) 1583s # { 1583s # 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); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_proxy_new_finish: 1583s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1583s # * @error: Return location for error or %NULL 1583s # * 1583s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1583s # * 1583s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1583s # */ 1583s # OrgProjectSignalingIface * 1583s # org_project_signaling_iface_proxy_new_finish ( 1583s # GAsyncResult *res, 1583s # GError **error) 1583s # { 1583s # GObject *ret; 1583s # GObject *source_object; 1583s # source_object = g_async_result_get_source_object (res); 1583s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1583s # g_object_unref (source_object); 1583s # if (ret != NULL) 1583s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1583s # else 1583s # return NULL; 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_proxy_new_sync: 1583s # * @connection: A #GDBusConnection. 1583s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1583s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1583s # * @object_path: An object path. 1583s # * @cancellable: (nullable): A #GCancellable or %NULL. 1583s # * @error: Return location for error or %NULL 1583s # * 1583s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1583s # * 1583s # * The calling thread is blocked until a reply is received. 1583s # * 1583s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1583s # * 1583s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1583s # */ 1583s # OrgProjectSignalingIface * 1583s # org_project_signaling_iface_proxy_new_sync ( 1583s # GDBusConnection *connection, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GError **error) 1583s # { 1583s # GInitable *ret; 1583s # 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); 1583s # if (ret != NULL) 1583s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1583s # else 1583s # return NULL; 1583s # } 1583s # 1583s # 1583s # /** 1583s # * org_project_signaling_iface_proxy_new_for_bus: 1583s # * @bus_type: A #GBusType. 1583s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1583s # * @name: A bus name (well-known or unique). 1583s # * @object_path: An object path. 1583s # * @cancellable: (nullable): A #GCancellable or %NULL. 1583s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1583s # * @user_data: User data to pass to @callback. 1583s # * 1583s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1583s # * 1583s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1583s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1583s # * 1583s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1583s # */ 1583s # void 1583s # org_project_signaling_iface_proxy_new_for_bus ( 1583s # GBusType bus_type, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GAsyncReadyCallback callback, 1583s # gpointer user_data) 1583s # { 1583s # 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); 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1583s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1583s # * @error: Return location for error or %NULL 1583s # * 1583s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1583s # * 1583s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1583s # */ 1583s # OrgProjectSignalingIface * 1583s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1583s # GAsyncResult *res, 1583s # GError **error) 1583s # { 1583s # GObject *ret; 1583s # GObject *source_object; 1583s # source_object = g_async_result_get_source_object (res); 1583s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1583s # g_object_unref (source_object); 1583s # if (ret != NULL) 1583s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1583s # else 1583s # return NULL; 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1583s # * @bus_type: A #GBusType. 1583s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1583s # * @name: A bus name (well-known or unique). 1583s # * @object_path: An object path. 1583s # * @cancellable: (nullable): A #GCancellable or %NULL. 1583s # * @error: Return location for error or %NULL 1583s # * 1583s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1583s # * 1583s # * The calling thread is blocked until a reply is received. 1583s # * 1583s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1583s # * 1583s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1583s # */ 1583s # OrgProjectSignalingIface * 1583s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1583s # GBusType bus_type, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GError **error) 1583s # { 1583s # GInitable *ret; 1583s # 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); 1583s # if (ret != NULL) 1583s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1583s # else 1583s # return NULL; 1583s # } 1583s # 1583s # 1583s # /* ------------------------------------------------------------------------ */ 1583s # 1583s # /** 1583s # * OrgProjectSignalingIfaceSkeleton: 1583s # * 1583s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1583s # */ 1583s # 1583s # /** 1583s # * OrgProjectSignalingIfaceSkeletonClass: 1583s # * @parent_class: The parent class. 1583s # * 1583s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1583s # */ 1583s # 1583s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1583s # { 1583s # GValue *properties; 1583s # GList *changed_properties; 1583s # GSource *changed_properties_idle_source; 1583s # GMainContext *context; 1583s # GMutex lock; 1583s # }; 1583s # 1583s # static void 1583s # _org_project_signaling_iface_skeleton_handle_method_call ( 1583s # GDBusConnection *connection G_GNUC_UNUSED, 1583s # const gchar *sender G_GNUC_UNUSED, 1583s # const gchar *object_path G_GNUC_UNUSED, 1583s # const gchar *interface_name, 1583s # const gchar *method_name, 1583s # GVariant *parameters, 1583s # GDBusMethodInvocation *invocation, 1583s # gpointer user_data) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1583s # _ExtendedGDBusMethodInfo *info; 1583s # GVariantIter iter; 1583s # GVariant *child; 1583s # GValue *paramv; 1583s # gsize num_params; 1583s # guint num_extra; 1583s # gsize n; 1583s # guint signal_id; 1583s # GValue return_value = G_VALUE_INIT; 1583s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1583s # g_assert (info != NULL); 1583s # num_params = g_variant_n_children (parameters); 1583s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1583s # n = 0; 1583s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1583s # g_value_set_object (¶mv[n++], skeleton); 1583s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1583s # g_value_set_object (¶mv[n++], invocation); 1583s # if (info->pass_fdlist) 1583s # { 1583s # #ifdef G_OS_UNIX 1583s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1583s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1583s # #else 1583s # g_assert_not_reached (); 1583s # #endif 1583s # } 1583s # g_variant_iter_init (&iter, parameters); 1583s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1583s # { 1583s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1583s # if (arg_info->use_gvariant) 1583s # { 1583s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1583s # g_value_set_variant (¶mv[n], child); 1583s # n++; 1583s # } 1583s # else 1583s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1583s # g_variant_unref (child); 1583s # } 1583s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1583s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1583s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1583s # if (!g_value_get_boolean (&return_value)) 1583s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1583s # g_value_unset (&return_value); 1583s # for (n = 0; n < num_params + num_extra; n++) 1583s # g_value_unset (¶mv[n]); 1583s # g_free (paramv); 1583s # } 1583s # 1583s # static GVariant * 1583s # _org_project_signaling_iface_skeleton_handle_get_property ( 1583s # GDBusConnection *connection G_GNUC_UNUSED, 1583s # const gchar *sender G_GNUC_UNUSED, 1583s # const gchar *object_path G_GNUC_UNUSED, 1583s # const gchar *interface_name G_GNUC_UNUSED, 1583s # const gchar *property_name, 1583s # GError **error, 1583s # gpointer user_data) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1583s # GValue value = G_VALUE_INIT; 1583s # GParamSpec *pspec; 1583s # _ExtendedGDBusPropertyInfo *info; 1583s # GVariant *ret; 1583s # ret = NULL; 1583s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1583s # g_assert (info != NULL); 1583s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1583s # if (pspec == NULL) 1583s # { 1583s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1583s # } 1583s # else 1583s # { 1583s # g_value_init (&value, pspec->value_type); 1583s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1583s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1583s # g_value_unset (&value); 1583s # } 1583s # return ret; 1583s # } 1583s # 1583s # static gboolean 1583s # _org_project_signaling_iface_skeleton_handle_set_property ( 1583s # GDBusConnection *connection G_GNUC_UNUSED, 1583s # const gchar *sender G_GNUC_UNUSED, 1583s # const gchar *object_path G_GNUC_UNUSED, 1583s # const gchar *interface_name G_GNUC_UNUSED, 1583s # const gchar *property_name, 1583s # GVariant *variant, 1583s # GError **error, 1583s # gpointer user_data) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1583s # GValue value = G_VALUE_INIT; 1583s # GParamSpec *pspec; 1583s # _ExtendedGDBusPropertyInfo *info; 1583s # gboolean ret; 1583s # ret = FALSE; 1583s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1583s # g_assert (info != NULL); 1583s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1583s # if (pspec == NULL) 1583s # { 1583s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1583s # } 1583s # else 1583s # { 1583s # if (info->use_gvariant) 1583s # g_value_set_variant (&value, variant); 1583s # else 1583s # g_dbus_gvariant_to_gvalue (variant, &value); 1583s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1583s # g_value_unset (&value); 1583s # ret = TRUE; 1583s # } 1583s # return ret; 1583s # } 1583s # 1583s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1583s # { 1583s # _org_project_signaling_iface_skeleton_handle_method_call, 1583s # _org_project_signaling_iface_skeleton_handle_get_property, 1583s # _org_project_signaling_iface_skeleton_handle_set_property, 1583s # {NULL} 1583s # }; 1583s # 1583s # static GDBusInterfaceInfo * 1583s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1583s # { 1583s # return org_project_signaling_iface_interface_info (); 1583s # } 1583s # 1583s # static GDBusInterfaceVTable * 1583s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1583s # { 1583s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1583s # } 1583s # 1583s # static GVariant * 1583s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1583s # 1583s # GVariantBuilder builder; 1583s # guint n; 1583s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1583s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1583s # goto out; 1583s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1583s # { 1583s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1583s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1583s # { 1583s # GVariant *value; 1583s # 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); 1583s # if (value != NULL) 1583s # { 1583s # g_variant_take_ref (value); 1583s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1583s # g_variant_unref (value); 1583s # } 1583s # } 1583s # } 1583s # out: 1583s # return g_variant_builder_end (&builder); 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1583s # { 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1583s # OrgProjectSignalingIface *object) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1583s # OrgProjectSignalingIface *object, 1583s # gboolean arg_an_b) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1583s # arg_an_b)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1583s # OrgProjectSignalingIface *object, 1583s # guchar arg_an_y) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1583s # arg_an_y)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1583s # OrgProjectSignalingIface *object, 1583s # gint16 arg_an_n) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1583s # arg_an_n)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1583s # OrgProjectSignalingIface *object, 1583s # guint16 arg_an_q) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1583s # arg_an_q)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1583s # OrgProjectSignalingIface *object, 1583s # gint arg_an_i) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1583s # arg_an_i)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1583s # OrgProjectSignalingIface *object, 1583s # guint arg_an_u) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1583s # arg_an_u)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1583s # OrgProjectSignalingIface *object, 1583s # gint64 arg_an_x) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1583s # arg_an_x)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1583s # OrgProjectSignalingIface *object, 1583s # guint64 arg_an_t) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1583s # arg_an_t)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1583s # OrgProjectSignalingIface *object, 1583s # gdouble arg_an_d) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1583s # arg_an_d)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *arg_an_s) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1583s # arg_an_s)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *arg_an_o) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1583s # arg_an_o)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *arg_an_g) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1583s # arg_an_g)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1583s # OrgProjectSignalingIface *object, 1583s # GVariant *arg_an_h) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1583s # arg_an_h)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *arg_an_ay) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1583s # arg_an_ay)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *const *arg_an_as) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1583s # arg_an_as)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *const *arg_an_ao) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1583s # arg_an_ao)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1583s # OrgProjectSignalingIface *object, 1583s # const gchar *const *arg_an_aay) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1583s # arg_an_aay)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void 1583s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1583s # OrgProjectSignalingIface *object, 1583s # GVariant *arg_an_asv) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # 1583s # GList *connections, *l; 1583s # GVariant *signal_variant; 1583s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1583s # 1583s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1583s # arg_an_asv)); 1583s # for (l = connections; l != NULL; l = l->next) 1583s # { 1583s # GDBusConnection *connection = l->data; 1583s # g_dbus_connection_emit_signal (connection, 1583s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1583s # signal_variant, NULL); 1583s # } 1583s # g_variant_unref (signal_variant); 1583s # g_list_free_full (connections, g_object_unref); 1583s # } 1583s # 1583s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1583s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1583s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1583s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1583s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1583s # 1583s # #else 1583s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1583s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1583s # 1583s # #endif 1583s # static void 1583s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1583s # { 1583s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1583s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1583s # if (skeleton->priv->changed_properties_idle_source != NULL) 1583s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1583s # g_main_context_unref (skeleton->priv->context); 1583s # g_mutex_clear (&skeleton->priv->lock); 1583s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1583s # { 1583s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1583s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1583s # #else 1583s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1583s # #endif 1583s # 1583s # g_mutex_init (&skeleton->priv->lock); 1583s # skeleton->priv->context = g_main_context_ref_thread_default (); 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1583s # { 1583s # GObjectClass *gobject_class; 1583s # GDBusInterfaceSkeletonClass *skeleton_class; 1583s # 1583s # gobject_class = G_OBJECT_CLASS (klass); 1583s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1583s # 1583s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1583s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1583s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1583s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1583s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1583s # 1583s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1583s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1583s # #endif 1583s # } 1583s # 1583s # static void 1583s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1583s # { 1583s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1583s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1583s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1583s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1583s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1583s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1583s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1583s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1583s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1583s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1583s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1583s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1583s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1583s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1583s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1583s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1583s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1583s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1583s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1583s # } 1583s # 1583s # /** 1583s # * org_project_signaling_iface_skeleton_new: 1583s # * 1583s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1583s # * 1583s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1583s # */ 1583s # OrgProjectSignalingIface * 1583s # org_project_signaling_iface_skeleton_new (void) 1583s # { 1583s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1583s # } 1584s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1584s # tmpdir: /tmp/tmpnykyu3q1 1584s # codegen: /usr/bin/gdbus-codegen 1584s # /tmp/tmpnykyu3q1/tmpkb4f4o8c.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnykyu3q1/tmpkb4f4o8c.xml', '--output', '-', '--body'] 1584s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # Output: /* 1584s # * This file is generated by gdbus-codegen, do not modify it. 1584s # * 1584s # * The license of this code is the same as for the D-Bus interface description 1584s # * it was derived from. Note that it links to GLib, so must comply with the 1584s # * LGPL linking clauses. 1584s # */ 1584s # 1584s # #ifdef HAVE_CONFIG_H 1584s # # include "config.h" 1584s # #endif 1584s # 1584s # #include 1584s # #ifdef G_OS_UNIX 1584s # # include 1584s # #endif 1584s # 1584s # #ifdef G_ENABLE_DEBUG 1584s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1584s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1584s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1584s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1584s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1584s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1584s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1584s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1584s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1584s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1584s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1584s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1584s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1584s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1584s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1584s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1584s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1584s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1584s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1584s # #else /* !G_ENABLE_DEBUG */ 1584s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1584s # * Do not access GValues directly in your code. Instead, use the 1584s # * g_value_get_*() functions 1584s # */ 1584s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1584s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1584s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1584s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1584s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1584s # #endif /* !G_ENABLE_DEBUG */ 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusArgInfo parent_struct; 1584s # gboolean use_gvariant; 1584s # } _ExtendedGDBusArgInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusMethodInfo parent_struct; 1584s # const gchar *signal_name; 1584s # gboolean pass_fdlist; 1584s # } _ExtendedGDBusMethodInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusSignalInfo parent_struct; 1584s # const gchar *signal_name; 1584s # } _ExtendedGDBusSignalInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusPropertyInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # guint use_gvariant : 1; 1584s # guint emits_changed_signal : 1; 1584s # } _ExtendedGDBusPropertyInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusInterfaceInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # } _ExtendedGDBusInterfaceInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # guint prop_id; 1584s # GValue orig_value; /* the value before the change */ 1584s # } ChangedProperty; 1584s # 1584s # static void 1584s # _changed_property_free (ChangedProperty *data) 1584s # { 1584s # g_value_unset (&data->orig_value); 1584s # g_free (data); 1584s # } 1584s # 1584s # static gboolean 1584s # _g_strv_equal0 (gchar **a, gchar **b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # guint n; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # if (g_strv_length (a) != g_strv_length (b)) 1584s # goto out; 1584s # for (n = 0; a[n] != NULL; n++) 1584s # if (g_strcmp0 (a[n], b[n]) != 0) 1584s # goto out; 1584s # ret = TRUE; 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _g_variant_equal0 (GVariant *a, GVariant *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # ret = g_variant_equal (a, b); 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # G_GNUC_UNUSED static gboolean 1584s # _g_value_equal (const GValue *a, const GValue *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1584s # switch (G_VALUE_TYPE (a)) 1584s # { 1584s # case G_TYPE_BOOLEAN: 1584s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1584s # break; 1584s # case G_TYPE_UCHAR: 1584s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1584s # break; 1584s # case G_TYPE_INT: 1584s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1584s # break; 1584s # case G_TYPE_UINT: 1584s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1584s # break; 1584s # case G_TYPE_INT64: 1584s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1584s # break; 1584s # case G_TYPE_UINT64: 1584s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1584s # break; 1584s # case G_TYPE_DOUBLE: 1584s # { 1584s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1584s # gdouble da = g_value_get_double (a); 1584s # gdouble db = g_value_get_double (b); 1584s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1584s # } 1584s # break; 1584s # case G_TYPE_STRING: 1584s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1584s # break; 1584s # case G_TYPE_VARIANT: 1584s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1584s # break; 1584s # default: 1584s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1584s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1584s # else 1584s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1584s # break; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ 1584s # * Code for interface org.project.UsefulInterface 1584s # * ------------------------------------------------------------------------ 1584s # */ 1584s # 1584s # /** 1584s # * SECTION:OrgProjectUsefulInterface 1584s # * @title: OrgProjectUsefulInterface 1584s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1584s # * 1584s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1584s # */ 1584s # 1584s # enum 1584s # { 1584s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1584s # }; 1584s # 1584s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1584s # 1584s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1584s # 1584s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "SimpleSignal", 1584s # NULL, 1584s # NULL 1584s # }, 1584s # "simple-signal" 1584s # }; 1584s # 1584s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1584s # { 1584s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1584s # NULL 1584s # }; 1584s # 1584s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "org.project.UsefulInterface", 1584s # NULL, 1584s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1584s # NULL, 1584s # NULL 1584s # }, 1584s # "org-project-useful-interface", 1584s # }; 1584s # 1584s # 1584s # /** 1584s # * org_project_useful_interface_interface_info: 1584s # * 1584s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1584s # * 1584s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1584s # */ 1584s # GDBusInterfaceInfo * 1584s # org_project_useful_interface_interface_info (void) 1584s # { 1584s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1584s # } 1584s # 1584s # /** 1584s # * org_project_useful_interface_override_properties: 1584s # * @klass: The class structure for a #GObject derived class. 1584s # * @property_id_begin: The property id to assign to the first overridden property. 1584s # * 1584s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1584s # * The properties are overridden in the order they are defined. 1584s # * 1584s # * Returns: The last property id. 1584s # */ 1584s # guint 1584s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1584s # { 1584s # return property_id_begin - 1; 1584s # } 1584s # 1584s # 1584s # inline static void 1584s # org_project_useful_interface_signal_marshal_simple_signal ( 1584s # GClosure *closure, 1584s # GValue *return_value, 1584s # unsigned int n_param_values, 1584s # const GValue *param_values, 1584s # void *invocation_hint, 1584s # void *marshal_data) 1584s # { 1584s # g_cclosure_marshal_VOID__VOID (closure, 1584s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1584s # } 1584s # 1584s # 1584s # /** 1584s # * OrgProjectUsefulInterface: 1584s # * 1584s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectUsefulInterfaceIface: 1584s # * @parent_iface: The parent interface. 1584s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1584s # * 1584s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1584s # */ 1584s # 1584s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1584s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1584s # 1584s # static void 1584s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1584s # { 1584s # /* GObject signals for received D-Bus signals: */ 1584s # /** 1584s # * OrgProjectUsefulInterface::simple-signal: 1584s # * @object: A #OrgProjectUsefulInterface. 1584s # * 1584s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1584s # * 1584s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1584s # */ 1584s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1584s # g_signal_new ("simple-signal", 1584s # G_TYPE_FROM_INTERFACE (iface), 1584s # G_SIGNAL_RUN_LAST, 1584s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1584s # NULL, 1584s # NULL, 1584s # org_project_useful_interface_signal_marshal_simple_signal, 1584s # G_TYPE_NONE, 1584s # 0); 1584s # 1584s # } 1584s # 1584s # /** 1584s # * org_project_useful_interface_emit_simple_signal: 1584s # * @object: A #OrgProjectUsefulInterface. 1584s # * 1584s # * Emits the "SimpleSignal" D-Bus signal. 1584s # */ 1584s # void 1584s # org_project_useful_interface_emit_simple_signal ( 1584s # OrgProjectUsefulInterface *object) 1584s # { 1584s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * OrgProjectUsefulInterfaceProxy: 1584s # * 1584s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectUsefulInterfaceProxyClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1584s # */ 1584s # 1584s # struct _OrgProjectUsefulInterfaceProxyPrivate 1584s # { 1584s # GData *qdata; 1584s # }; 1584s # 1584s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1584s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # org_project_useful_interface_proxy_finalize (GObject *object) 1584s # { 1584s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1584s # g_datalist_clear (&proxy->priv->qdata); 1584s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1584s # guint prop_id G_GNUC_UNUSED, 1584s # GValue *value G_GNUC_UNUSED, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1584s # guint prop_id G_GNUC_UNUSED, 1584s # const GValue *value G_GNUC_UNUSED, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1584s # const gchar *sender_name G_GNUC_UNUSED, 1584s # const gchar *signal_name, 1584s # GVariant *parameters) 1584s # { 1584s # _ExtendedGDBusSignalInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # gsize n; 1584s # guint signal_id; 1584s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1584s # if (info == NULL) 1584s # return; 1584s # num_params = g_variant_n_children (parameters); 1584s # paramv = g_new0 (GValue, num_params + 1); 1584s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1584s # g_value_set_object (¶mv[0], proxy); 1584s # g_variant_iter_init (&iter, parameters); 1584s # n = 1; 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1584s # g_signal_emitv (paramv, signal_id, 0, NULL); 1584s # for (n = 0; n < num_params + 1; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static void 1584s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1584s # GVariant *changed_properties, 1584s # const gchar *const *invalidated_properties) 1584s # { 1584s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1584s # guint n; 1584s # const gchar *key; 1584s # GVariantIter *iter; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # g_variant_get (changed_properties, "a{sv}", &iter); 1584s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1584s # g_datalist_remove_data (&proxy->priv->qdata, key); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # g_variant_iter_free (iter); 1584s # for (n = 0; invalidated_properties[n] != NULL; n++) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1584s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # } 1584s # 1584s # static void 1584s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1584s # #else 1584s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1584s # #endif 1584s # 1584s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1584s # } 1584s # 1584s # static void 1584s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusProxyClass *proxy_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1584s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1584s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1584s # 1584s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1584s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1584s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # /** 1584s # * org_project_useful_interface_proxy_new: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # org_project_useful_interface_proxy_new ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # g_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); 1584s # } 1584s # 1584s # /** 1584s # * org_project_useful_interface_proxy_new_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectUsefulInterface * 1584s # org_project_useful_interface_proxy_new_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_useful_interface_proxy_new_sync: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectUsefulInterface * 1584s # org_project_useful_interface_proxy_new_sync ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /** 1584s # * org_project_useful_interface_proxy_new_for_bus: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # org_project_useful_interface_proxy_new_for_bus ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # g_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); 1584s # } 1584s # 1584s # /** 1584s # * org_project_useful_interface_proxy_new_for_bus_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectUsefulInterface * 1584s # org_project_useful_interface_proxy_new_for_bus_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_useful_interface_proxy_new_for_bus_sync: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectUsefulInterface * 1584s # org_project_useful_interface_proxy_new_for_bus_sync ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * OrgProjectUsefulInterfaceSkeleton: 1584s # * 1584s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectUsefulInterfaceSkeletonClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1584s # */ 1584s # 1584s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1584s # { 1584s # GValue *properties; 1584s # GList *changed_properties; 1584s # GSource *changed_properties_idle_source; 1584s # GMainContext *context; 1584s # GMutex lock; 1584s # }; 1584s # 1584s # static void 1584s # _org_project_useful_interface_skeleton_handle_method_call ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name, 1584s # const gchar *method_name, 1584s # GVariant *parameters, 1584s # GDBusMethodInvocation *invocation, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1584s # _ExtendedGDBusMethodInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # guint num_extra; 1584s # gsize n; 1584s # guint signal_id; 1584s # GValue return_value = G_VALUE_INIT; 1584s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1584s # g_assert (info != NULL); 1584s # num_params = g_variant_n_children (parameters); 1584s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1584s # n = 0; 1584s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1584s # g_value_set_object (¶mv[n++], skeleton); 1584s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1584s # g_value_set_object (¶mv[n++], invocation); 1584s # if (info->pass_fdlist) 1584s # { 1584s # #ifdef G_OS_UNIX 1584s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1584s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1584s # #else 1584s # g_assert_not_reached (); 1584s # #endif 1584s # } 1584s # g_variant_iter_init (&iter, parameters); 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1584s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1584s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1584s # if (!g_value_get_boolean (&return_value)) 1584s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1584s # g_value_unset (&return_value); 1584s # for (n = 0; n < num_params + num_extra; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static GVariant * 1584s # _org_project_useful_interface_skeleton_handle_get_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *ret; 1584s # ret = NULL; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # g_value_init (&value, pspec->value_type); 1584s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1584s # g_value_unset (&value); 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _org_project_useful_interface_skeleton_handle_set_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GVariant *variant, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # gboolean ret; 1584s # ret = FALSE; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # if (info->use_gvariant) 1584s # g_value_set_variant (&value, variant); 1584s # else 1584s # g_dbus_gvariant_to_gvalue (variant, &value); 1584s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # g_value_unset (&value); 1584s # ret = TRUE; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1584s # { 1584s # _org_project_useful_interface_skeleton_handle_method_call, 1584s # _org_project_useful_interface_skeleton_handle_get_property, 1584s # _org_project_useful_interface_skeleton_handle_set_property, 1584s # {NULL} 1584s # }; 1584s # 1584s # static GDBusInterfaceInfo * 1584s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return org_project_useful_interface_interface_info (); 1584s # } 1584s # 1584s # static GDBusInterfaceVTable * 1584s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1584s # } 1584s # 1584s # static GVariant * 1584s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1584s # { 1584s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1584s # 1584s # GVariantBuilder builder; 1584s # guint n; 1584s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1584s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1584s # goto out; 1584s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1584s # { 1584s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1584s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1584s # { 1584s # GVariant *value; 1584s # 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); 1584s # if (value != NULL) 1584s # { 1584s # g_variant_take_ref (value); 1584s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1584s # g_variant_unref (value); 1584s # } 1584s # } 1584s # } 1584s # out: 1584s # return g_variant_builder_end (&builder); 1584s # } 1584s # 1584s # static void 1584s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # _org_project_useful_interface_on_signal_simple_signal ( 1584s # OrgProjectUsefulInterface *object) 1584s # { 1584s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1584s # 1584s # GList *connections, *l; 1584s # GVariant *signal_variant; 1584s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1584s # 1584s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1584s # for (l = connections; l != NULL; l = l->next) 1584s # { 1584s # GDBusConnection *connection = l->data; 1584s # g_dbus_connection_emit_signal (connection, 1584s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1584s # signal_variant, NULL); 1584s # } 1584s # g_variant_unref (signal_variant); 1584s # g_list_free_full (connections, g_object_unref); 1584s # } 1584s # 1584s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # org_project_useful_interface_skeleton_finalize (GObject *object) 1584s # { 1584s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1584s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1584s # if (skeleton->priv->changed_properties_idle_source != NULL) 1584s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1584s # g_main_context_unref (skeleton->priv->context); 1584s # g_mutex_clear (&skeleton->priv->lock); 1584s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1584s # #else 1584s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1584s # #endif 1584s # 1584s # g_mutex_init (&skeleton->priv->lock); 1584s # skeleton->priv->context = g_main_context_ref_thread_default (); 1584s # } 1584s # 1584s # static void 1584s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusInterfaceSkeletonClass *skeleton_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1584s # 1584s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1584s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1584s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1584s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1584s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1584s # { 1584s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1584s # } 1584s # 1584s # /** 1584s # * org_project_useful_interface_skeleton_new: 1584s # * 1584s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1584s # */ 1584s # OrgProjectUsefulInterface * 1584s # org_project_useful_interface_skeleton_new (void) 1584s # { 1584s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ 1584s # * Code for interface org.project.OtherIface 1584s # * ------------------------------------------------------------------------ 1584s # */ 1584s # 1584s # /** 1584s # * SECTION:OrgProjectOtherIface 1584s # * @title: OrgProjectOtherIface 1584s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1584s # * 1584s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1584s # */ 1584s # 1584s # enum 1584s # { 1584s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1584s # }; 1584s # 1584s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1584s # 1584s # /* ---- Introspection data for org.project.OtherIface ---- */ 1584s # 1584s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "SimpleSignal", 1584s # NULL, 1584s # NULL 1584s # }, 1584s # "simple-signal" 1584s # }; 1584s # 1584s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1584s # { 1584s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1584s # NULL 1584s # }; 1584s # 1584s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "org.project.OtherIface", 1584s # NULL, 1584s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1584s # NULL, 1584s # NULL 1584s # }, 1584s # "org-project-other-iface", 1584s # }; 1584s # 1584s # 1584s # /** 1584s # * org_project_other_iface_interface_info: 1584s # * 1584s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1584s # * 1584s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1584s # */ 1584s # GDBusInterfaceInfo * 1584s # org_project_other_iface_interface_info (void) 1584s # { 1584s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_iface_override_properties: 1584s # * @klass: The class structure for a #GObject derived class. 1584s # * @property_id_begin: The property id to assign to the first overridden property. 1584s # * 1584s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1584s # * The properties are overridden in the order they are defined. 1584s # * 1584s # * Returns: The last property id. 1584s # */ 1584s # guint 1584s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1584s # { 1584s # return property_id_begin - 1; 1584s # } 1584s # 1584s # 1584s # inline static void 1584s # org_project_other_iface_signal_marshal_simple_signal ( 1584s # GClosure *closure, 1584s # GValue *return_value, 1584s # unsigned int n_param_values, 1584s # const GValue *param_values, 1584s # void *invocation_hint, 1584s # void *marshal_data) 1584s # { 1584s # g_cclosure_marshal_VOID__VOID (closure, 1584s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1584s # } 1584s # 1584s # 1584s # /** 1584s # * OrgProjectOtherIface: 1584s # * 1584s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectOtherIfaceIface: 1584s # * @parent_iface: The parent interface. 1584s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1584s # * 1584s # * Virtual table for the D-Bus interface org.project.OtherIface. 1584s # */ 1584s # 1584s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1584s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1584s # 1584s # static void 1584s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1584s # { 1584s # /* GObject signals for received D-Bus signals: */ 1584s # /** 1584s # * OrgProjectOtherIface::simple-signal: 1584s # * @object: A #OrgProjectOtherIface. 1584s # * 1584s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1584s # * 1584s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1584s # */ 1584s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1584s # g_signal_new ("simple-signal", 1584s # G_TYPE_FROM_INTERFACE (iface), 1584s # G_SIGNAL_RUN_LAST, 1584s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1584s # NULL, 1584s # NULL, 1584s # org_project_other_iface_signal_marshal_simple_signal, 1584s # G_TYPE_NONE, 1584s # 0); 1584s # 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_iface_emit_simple_signal: 1584s # * @object: A #OrgProjectOtherIface. 1584s # * 1584s # * Emits the "SimpleSignal" D-Bus signal. 1584s # */ 1584s # void 1584s # org_project_other_iface_emit_simple_signal ( 1584s # OrgProjectOtherIface *object) 1584s # { 1584s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * OrgProjectOtherIfaceProxy: 1584s # * 1584s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectOtherIfaceProxyClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for #OrgProjectOtherIfaceProxy. 1584s # */ 1584s # 1584s # struct _OrgProjectOtherIfaceProxyPrivate 1584s # { 1584s # GData *qdata; 1584s # }; 1584s # 1584s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1584s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # org_project_other_iface_proxy_finalize (GObject *object) 1584s # { 1584s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1584s # g_datalist_clear (&proxy->priv->qdata); 1584s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1584s # guint prop_id G_GNUC_UNUSED, 1584s # GValue *value G_GNUC_UNUSED, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1584s # guint prop_id G_GNUC_UNUSED, 1584s # const GValue *value G_GNUC_UNUSED, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1584s # const gchar *sender_name G_GNUC_UNUSED, 1584s # const gchar *signal_name, 1584s # GVariant *parameters) 1584s # { 1584s # _ExtendedGDBusSignalInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # gsize n; 1584s # guint signal_id; 1584s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1584s # if (info == NULL) 1584s # return; 1584s # num_params = g_variant_n_children (parameters); 1584s # paramv = g_new0 (GValue, num_params + 1); 1584s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1584s # g_value_set_object (¶mv[0], proxy); 1584s # g_variant_iter_init (&iter, parameters); 1584s # n = 1; 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1584s # g_signal_emitv (paramv, signal_id, 0, NULL); 1584s # for (n = 0; n < num_params + 1; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1584s # GVariant *changed_properties, 1584s # const gchar *const *invalidated_properties) 1584s # { 1584s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1584s # guint n; 1584s # const gchar *key; 1584s # GVariantIter *iter; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # g_variant_get (changed_properties, "a{sv}", &iter); 1584s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1584s # g_datalist_remove_data (&proxy->priv->qdata, key); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # g_variant_iter_free (iter); 1584s # for (n = 0; invalidated_properties[n] != NULL; n++) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1584s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # } 1584s # 1584s # static void 1584s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1584s # #else 1584s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1584s # #endif 1584s # 1584s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusProxyClass *proxy_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1584s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1584s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1584s # 1584s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1584s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1584s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_iface_proxy_new: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # org_project_other_iface_proxy_new ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_iface_proxy_new_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectOtherIface * 1584s # org_project_other_iface_proxy_new_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_OTHER_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_iface_proxy_new_sync: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectOtherIface * 1584s # org_project_other_iface_proxy_new_sync ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_OTHER_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /** 1584s # * org_project_other_iface_proxy_new_for_bus: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # org_project_other_iface_proxy_new_for_bus ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_iface_proxy_new_for_bus_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectOtherIface * 1584s # org_project_other_iface_proxy_new_for_bus_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_OTHER_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_iface_proxy_new_for_bus_sync: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectOtherIface * 1584s # org_project_other_iface_proxy_new_for_bus_sync ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_OTHER_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * OrgProjectOtherIfaceSkeleton: 1584s # * 1584s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectOtherIfaceSkeletonClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1584s # */ 1584s # 1584s # struct _OrgProjectOtherIfaceSkeletonPrivate 1584s # { 1584s # GValue *properties; 1584s # GList *changed_properties; 1584s # GSource *changed_properties_idle_source; 1584s # GMainContext *context; 1584s # GMutex lock; 1584s # }; 1584s # 1584s # static void 1584s # _org_project_other_iface_skeleton_handle_method_call ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name, 1584s # const gchar *method_name, 1584s # GVariant *parameters, 1584s # GDBusMethodInvocation *invocation, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1584s # _ExtendedGDBusMethodInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # guint num_extra; 1584s # gsize n; 1584s # guint signal_id; 1584s # GValue return_value = G_VALUE_INIT; 1584s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1584s # g_assert (info != NULL); 1584s # num_params = g_variant_n_children (parameters); 1584s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1584s # n = 0; 1584s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1584s # g_value_set_object (¶mv[n++], skeleton); 1584s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1584s # g_value_set_object (¶mv[n++], invocation); 1584s # if (info->pass_fdlist) 1584s # { 1584s # #ifdef G_OS_UNIX 1584s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1584s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1584s # #else 1584s # g_assert_not_reached (); 1584s # #endif 1584s # } 1584s # g_variant_iter_init (&iter, parameters); 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1584s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1584s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1584s # if (!g_value_get_boolean (&return_value)) 1584s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1584s # g_value_unset (&return_value); 1584s # for (n = 0; n < num_params + num_extra; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static GVariant * 1584s # _org_project_other_iface_skeleton_handle_get_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *ret; 1584s # ret = NULL; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # g_value_init (&value, pspec->value_type); 1584s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1584s # g_value_unset (&value); 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _org_project_other_iface_skeleton_handle_set_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GVariant *variant, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # gboolean ret; 1584s # ret = FALSE; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # if (info->use_gvariant) 1584s # g_value_set_variant (&value, variant); 1584s # else 1584s # g_dbus_gvariant_to_gvalue (variant, &value); 1584s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # g_value_unset (&value); 1584s # ret = TRUE; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1584s # { 1584s # _org_project_other_iface_skeleton_handle_method_call, 1584s # _org_project_other_iface_skeleton_handle_get_property, 1584s # _org_project_other_iface_skeleton_handle_set_property, 1584s # {NULL} 1584s # }; 1584s # 1584s # static GDBusInterfaceInfo * 1584s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return org_project_other_iface_interface_info (); 1584s # } 1584s # 1584s # static GDBusInterfaceVTable * 1584s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1584s # } 1584s # 1584s # static GVariant * 1584s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1584s # { 1584s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1584s # 1584s # GVariantBuilder builder; 1584s # guint n; 1584s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1584s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1584s # goto out; 1584s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1584s # { 1584s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1584s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1584s # { 1584s # GVariant *value; 1584s # 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); 1584s # if (value != NULL) 1584s # { 1584s # g_variant_take_ref (value); 1584s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1584s # g_variant_unref (value); 1584s # } 1584s # } 1584s # } 1584s # out: 1584s # return g_variant_builder_end (&builder); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # _org_project_other_iface_on_signal_simple_signal ( 1584s # OrgProjectOtherIface *object) 1584s # { 1584s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1584s # 1584s # GList *connections, *l; 1584s # GVariant *signal_variant; 1584s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1584s # 1584s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1584s # for (l = connections; l != NULL; l = l->next) 1584s # { 1584s # GDBusConnection *connection = l->data; 1584s # g_dbus_connection_emit_signal (connection, 1584s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1584s # signal_variant, NULL); 1584s # } 1584s # g_variant_unref (signal_variant); 1584s # g_list_free_full (connections, g_object_unref); 1584s # } 1584s # 1584s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # org_project_other_iface_skeleton_finalize (GObject *object) 1584s # { 1584s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1584s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1584s # if (skeleton->priv->changed_properties_idle_source != NULL) 1584s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1584s # g_main_context_unref (skeleton->priv->context); 1584s # g_mutex_clear (&skeleton->priv->lock); 1584s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1584s # #else 1584s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1584s # #endif 1584s # 1584s # g_mutex_init (&skeleton->priv->lock); 1584s # skeleton->priv->context = g_main_context_ref_thread_default (); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusInterfaceSkeletonClass *skeleton_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1584s # 1584s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1584s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1584s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1584s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1584s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1584s # { 1584s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_iface_skeleton_new: 1584s # * 1584s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1584s # */ 1584s # OrgProjectOtherIface * 1584s # org_project_other_iface_skeleton_new (void) 1584s # { 1584s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1584s # } 1584s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1584s # tmpdir: /tmp/tmp4py6ky5g 1584s # codegen: /usr/bin/gdbus-codegen 1584s # /tmp/tmp4py6ky5g/tmpfffg8_ad.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4py6ky5g/tmpfffg8_ad.xml', '--output', '-', '--body'] 1584s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # Output: /* 1584s # * This file is generated by gdbus-codegen, do not modify it. 1584s # * 1584s # * The license of this code is the same as for the D-Bus interface description 1584s # * it was derived from. Note that it links to GLib, so must comply with the 1584s # * LGPL linking clauses. 1584s # */ 1584s # 1584s # #ifdef HAVE_CONFIG_H 1584s # # include "config.h" 1584s # #endif 1584s # 1584s # #include 1584s # #ifdef G_OS_UNIX 1584s # # include 1584s # #endif 1584s # 1584s # #ifdef G_ENABLE_DEBUG 1584s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1584s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1584s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1584s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1584s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1584s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1584s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1584s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1584s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1584s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1584s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1584s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1584s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1584s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1584s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1584s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1584s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1584s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1584s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1584s # #else /* !G_ENABLE_DEBUG */ 1584s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1584s # * Do not access GValues directly in your code. Instead, use the 1584s # * g_value_get_*() functions 1584s # */ 1584s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1584s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1584s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1584s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1584s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1584s # #endif /* !G_ENABLE_DEBUG */ 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusArgInfo parent_struct; 1584s # gboolean use_gvariant; 1584s # } _ExtendedGDBusArgInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusMethodInfo parent_struct; 1584s # const gchar *signal_name; 1584s # gboolean pass_fdlist; 1584s # } _ExtendedGDBusMethodInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusSignalInfo parent_struct; 1584s # const gchar *signal_name; 1584s # } _ExtendedGDBusSignalInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusPropertyInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # guint use_gvariant : 1; 1584s # guint emits_changed_signal : 1; 1584s # } _ExtendedGDBusPropertyInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusInterfaceInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # } _ExtendedGDBusInterfaceInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # guint prop_id; 1584s # GValue orig_value; /* the value before the change */ 1584s # } ChangedProperty; 1584s # 1584s # static void 1584s # _changed_property_free (ChangedProperty *data) 1584s # { 1584s # g_value_unset (&data->orig_value); 1584s # g_free (data); 1584s # } 1584s # 1584s # static gboolean 1584s # _g_strv_equal0 (gchar **a, gchar **b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # guint n; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # if (g_strv_length (a) != g_strv_length (b)) 1584s # goto out; 1584s # for (n = 0; a[n] != NULL; n++) 1584s # if (g_strcmp0 (a[n], b[n]) != 0) 1584s # goto out; 1584s # ret = TRUE; 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _g_variant_equal0 (GVariant *a, GVariant *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # ret = g_variant_equal (a, b); 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # G_GNUC_UNUSED static gboolean 1584s # _g_value_equal (const GValue *a, const GValue *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1584s # switch (G_VALUE_TYPE (a)) 1584s # { 1584s # case G_TYPE_BOOLEAN: 1584s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1584s # break; 1584s # case G_TYPE_UCHAR: 1584s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1584s # break; 1584s # case G_TYPE_INT: 1584s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1584s # break; 1584s # case G_TYPE_UINT: 1584s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1584s # break; 1584s # case G_TYPE_INT64: 1584s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1584s # break; 1584s # case G_TYPE_UINT64: 1584s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1584s # break; 1584s # case G_TYPE_DOUBLE: 1584s # { 1584s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1584s # gdouble da = g_value_get_double (a); 1584s # gdouble db = g_value_get_double (b); 1584s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1584s # } 1584s # break; 1584s # case G_TYPE_STRING: 1584s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1584s # break; 1584s # case G_TYPE_VARIANT: 1584s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1584s # break; 1584s # default: 1584s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1584s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1584s # else 1584s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1584s # break; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ 1584s # * Code for interface org.project.SignalingIface 1584s # * ------------------------------------------------------------------------ 1584s # */ 1584s # 1584s # /** 1584s # * SECTION:OrgProjectSignalingIface 1584s # * @title: OrgProjectSignalingIface 1584s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1584s # * 1584s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1584s # */ 1584s # 1584s # enum 1584s # { 1584s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1584s # }; 1584s # 1584s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1584s # 1584s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1584s # 1584s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "SimpleSignal", 1584s # NULL, 1584s # NULL 1584s # }, 1584s # "simple-signal" 1584s # }; 1584s # 1584s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1584s # { 1584s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1584s # NULL 1584s # }; 1584s # 1584s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "org.project.SignalingIface", 1584s # NULL, 1584s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1584s # NULL, 1584s # NULL 1584s # }, 1584s # "org-project-signaling-iface", 1584s # }; 1584s # 1584s # 1584s # /** 1584s # * org_project_signaling_iface_interface_info: 1584s # * 1584s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1584s # * 1584s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1584s # */ 1584s # GDBusInterfaceInfo * 1584s # org_project_signaling_iface_interface_info (void) 1584s # { 1584s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1584s # } 1584s # 1584s # /** 1584s # * org_project_signaling_iface_override_properties: 1584s # * @klass: The class structure for a #GObject derived class. 1584s # * @property_id_begin: The property id to assign to the first overridden property. 1584s # * 1584s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1584s # * The properties are overridden in the order they are defined. 1584s # * 1584s # * Returns: The last property id. 1584s # */ 1584s # guint 1584s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1584s # { 1584s # return property_id_begin - 1; 1584s # } 1584s # 1584s # 1584s # inline static void 1584s # org_project_signaling_iface_signal_marshal_simple_signal ( 1584s # GClosure *closure, 1584s # GValue *return_value, 1584s # unsigned int n_param_values, 1584s # const GValue *param_values, 1584s # void *invocation_hint, 1584s # void *marshal_data) 1584s # { 1584s # g_cclosure_marshal_VOID__VOID (closure, 1584s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1584s # } 1584s # 1584s # 1584s # /** 1584s # * OrgProjectSignalingIface: 1584s # * 1584s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectSignalingIfaceIface: 1584s # * @parent_iface: The parent interface. 1584s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1584s # * 1584s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1584s # */ 1584s # 1584s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1584s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1584s # 1584s # static void 1584s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1584s # { 1584s # /* GObject signals for received D-Bus signals: */ 1584s # /** 1584s # * OrgProjectSignalingIface::simple-signal: 1584s # * @object: A #OrgProjectSignalingIface. 1584s # * 1584s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1584s # * 1584s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1584s # */ 1584s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1584s # g_signal_new ("simple-signal", 1584s # G_TYPE_FROM_INTERFACE (iface), 1584s # G_SIGNAL_RUN_LAST, 1584s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1584s # NULL, 1584s # NULL, 1584s # org_project_signaling_iface_signal_marshal_simple_signal, 1584s # G_TYPE_NONE, 1584s # 0); 1584s # 1584s # } 1584s # 1584s # /** 1584s # * org_project_signaling_iface_emit_simple_signal: 1584s # * @object: A #OrgProjectSignalingIface. 1584s # * 1584s # * Emits the "SimpleSignal" D-Bus signal. 1584s # */ 1584s # void 1584s # org_project_signaling_iface_emit_simple_signal ( 1584s # OrgProjectSignalingIface *object) 1584s # { 1584s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * OrgProjectSignalingIfaceProxy: 1584s # * 1584s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectSignalingIfaceProxyClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for #OrgProjectSignalingIfaceProxy. 1584s # */ 1584s # 1584s # struct _OrgProjectSignalingIfaceProxyPrivate 1584s # { 1584s # GData *qdata; 1584s # }; 1584s # 1584s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1584s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # org_project_signaling_iface_proxy_finalize (GObject *object) 1584s # { 1584s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1584s # g_datalist_clear (&proxy->priv->qdata); 1584s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1584s # guint prop_id G_GNUC_UNUSED, 1584s # GValue *value G_GNUC_UNUSED, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1584s # guint prop_id G_GNUC_UNUSED, 1584s # const GValue *value G_GNUC_UNUSED, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1584s # const gchar *sender_name G_GNUC_UNUSED, 1584s # const gchar *signal_name, 1584s # GVariant *parameters) 1584s # { 1584s # _ExtendedGDBusSignalInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # gsize n; 1584s # guint signal_id; 1584s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1584s # if (info == NULL) 1584s # return; 1584s # num_params = g_variant_n_children (parameters); 1584s # paramv = g_new0 (GValue, num_params + 1); 1584s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1584s # g_value_set_object (¶mv[0], proxy); 1584s # g_variant_iter_init (&iter, parameters); 1584s # n = 1; 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1584s # g_signal_emitv (paramv, signal_id, 0, NULL); 1584s # for (n = 0; n < num_params + 1; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static void 1584s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1584s # GVariant *changed_properties, 1584s # const gchar *const *invalidated_properties) 1584s # { 1584s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1584s # guint n; 1584s # const gchar *key; 1584s # GVariantIter *iter; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # g_variant_get (changed_properties, "a{sv}", &iter); 1584s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1584s # g_datalist_remove_data (&proxy->priv->qdata, key); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # g_variant_iter_free (iter); 1584s # for (n = 0; invalidated_properties[n] != NULL; n++) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1584s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # } 1584s # 1584s # static void 1584s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1584s # #else 1584s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1584s # #endif 1584s # 1584s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1584s # } 1584s # 1584s # static void 1584s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusProxyClass *proxy_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1584s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1584s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1584s # 1584s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1584s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1584s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # /** 1584s # * org_project_signaling_iface_proxy_new: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # org_project_signaling_iface_proxy_new ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * org_project_signaling_iface_proxy_new_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectSignalingIface * 1584s # org_project_signaling_iface_proxy_new_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_signaling_iface_proxy_new_sync: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectSignalingIface * 1584s # org_project_signaling_iface_proxy_new_sync ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /** 1584s # * org_project_signaling_iface_proxy_new_for_bus: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # org_project_signaling_iface_proxy_new_for_bus ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectSignalingIface * 1584s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectSignalingIface * 1584s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * OrgProjectSignalingIfaceSkeleton: 1584s # * 1584s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectSignalingIfaceSkeletonClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1584s # */ 1584s # 1584s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1584s # { 1584s # GValue *properties; 1584s # GList *changed_properties; 1584s # GSource *changed_properties_idle_source; 1584s # GMainContext *context; 1584s # GMutex lock; 1584s # }; 1584s # 1584s # static void 1584s # _org_project_signaling_iface_skeleton_handle_method_call ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name, 1584s # const gchar *method_name, 1584s # GVariant *parameters, 1584s # GDBusMethodInvocation *invocation, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1584s # _ExtendedGDBusMethodInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # guint num_extra; 1584s # gsize n; 1584s # guint signal_id; 1584s # GValue return_value = G_VALUE_INIT; 1584s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1584s # g_assert (info != NULL); 1584s # num_params = g_variant_n_children (parameters); 1584s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1584s # n = 0; 1584s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1584s # g_value_set_object (¶mv[n++], skeleton); 1584s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1584s # g_value_set_object (¶mv[n++], invocation); 1584s # if (info->pass_fdlist) 1584s # { 1584s # #ifdef G_OS_UNIX 1584s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1584s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1584s # #else 1584s # g_assert_not_reached (); 1584s # #endif 1584s # } 1584s # g_variant_iter_init (&iter, parameters); 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1584s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1584s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1584s # if (!g_value_get_boolean (&return_value)) 1584s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1584s # g_value_unset (&return_value); 1584s # for (n = 0; n < num_params + num_extra; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static GVariant * 1584s # _org_project_signaling_iface_skeleton_handle_get_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *ret; 1584s # ret = NULL; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # g_value_init (&value, pspec->value_type); 1584s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1584s # g_value_unset (&value); 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _org_project_signaling_iface_skeleton_handle_set_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GVariant *variant, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # gboolean ret; 1584s # ret = FALSE; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # if (info->use_gvariant) 1584s # g_value_set_variant (&value, variant); 1584s # else 1584s # g_dbus_gvariant_to_gvalue (variant, &value); 1584s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # g_value_unset (&value); 1584s # ret = TRUE; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1584s # { 1584s # _org_project_signaling_iface_skeleton_handle_method_call, 1584s # _org_project_signaling_iface_skeleton_handle_get_property, 1584s # _org_project_signaling_iface_skeleton_handle_set_property, 1584s # {NULL} 1584s # }; 1584s # 1584s # static GDBusInterfaceInfo * 1584s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return org_project_signaling_iface_interface_info (); 1584s # } 1584s # 1584s # static GDBusInterfaceVTable * 1584s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1584s # } 1584s # 1584s # static GVariant * 1584s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1584s # { 1584s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1584s # 1584s # GVariantBuilder builder; 1584s # guint n; 1584s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1584s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1584s # goto out; 1584s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1584s # { 1584s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1584s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1584s # { 1584s # GVariant *value; 1584s # 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); 1584s # if (value != NULL) 1584s # { 1584s # g_variant_take_ref (value); 1584s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1584s # g_variant_unref (value); 1584s # } 1584s # } 1584s # } 1584s # out: 1584s # return g_variant_builder_end (&builder); 1584s # } 1584s # 1584s # static void 1584s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # _org_project_signaling_iface_on_signal_simple_signal ( 1584s # OrgProjectSignalingIface *object) 1584s # { 1584s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1584s # 1584s # GList *connections, *l; 1584s # GVariant *signal_variant; 1584s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1584s # 1584s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1584s # for (l = connections; l != NULL; l = l->next) 1584s # { 1584s # GDBusConnection *connection = l->data; 1584s # g_dbus_connection_emit_signal (connection, 1584s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1584s # signal_variant, NULL); 1584s # } 1584s # g_variant_unref (signal_variant); 1584s # g_list_free_full (connections, g_object_unref); 1584s # } 1584s # 1584s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1584s # { 1584s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1584s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1584s # if (skeleton->priv->changed_properties_idle_source != NULL) 1584s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1584s # g_main_context_unref (skeleton->priv->context); 1584s # g_mutex_clear (&skeleton->priv->lock); 1584s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1584s # #else 1584s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1584s # #endif 1584s # 1584s # g_mutex_init (&skeleton->priv->lock); 1584s # skeleton->priv->context = g_main_context_ref_thread_default (); 1584s # } 1584s # 1584s # static void 1584s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusInterfaceSkeletonClass *skeleton_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1584s # 1584s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1584s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1584s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1584s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1584s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1584s # { 1584s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1584s # } 1584s # 1584s # /** 1584s # * org_project_signaling_iface_skeleton_new: 1584s # * 1584s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1584s # */ 1584s # OrgProjectSignalingIface * 1584s # org_project_signaling_iface_skeleton_new (void) 1584s # { 1584s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ 1584s # * Code for interface org.project.OtherSignalingIface 1584s # * ------------------------------------------------------------------------ 1584s # */ 1584s # 1584s # /** 1584s # * SECTION:OrgProjectOtherSignalingIface 1584s # * @title: OrgProjectOtherSignalingIface 1584s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1584s # * 1584s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1584s # */ 1584s # 1584s # enum 1584s # { 1584s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1584s # }; 1584s # 1584s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1584s # 1584s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1584s # 1584s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "SimpleSignal", 1584s # NULL, 1584s # NULL 1584s # }, 1584s # "simple-signal" 1584s # }; 1584s # 1584s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1584s # { 1584s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1584s # NULL 1584s # }; 1584s # 1584s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "org.project.OtherSignalingIface", 1584s # NULL, 1584s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1584s # NULL, 1584s # NULL 1584s # }, 1584s # "org-project-other-signaling-iface", 1584s # }; 1584s # 1584s # 1584s # /** 1584s # * org_project_other_signaling_iface_interface_info: 1584s # * 1584s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1584s # * 1584s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1584s # */ 1584s # GDBusInterfaceInfo * 1584s # org_project_other_signaling_iface_interface_info (void) 1584s # { 1584s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_signaling_iface_override_properties: 1584s # * @klass: The class structure for a #GObject derived class. 1584s # * @property_id_begin: The property id to assign to the first overridden property. 1584s # * 1584s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1584s # * The properties are overridden in the order they are defined. 1584s # * 1584s # * Returns: The last property id. 1584s # */ 1584s # guint 1584s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1584s # { 1584s # return property_id_begin - 1; 1584s # } 1584s # 1584s # 1584s # inline static void 1584s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1584s # GClosure *closure, 1584s # GValue *return_value, 1584s # unsigned int n_param_values, 1584s # const GValue *param_values, 1584s # void *invocation_hint, 1584s # void *marshal_data) 1584s # { 1584s # g_cclosure_marshal_VOID__VOID (closure, 1584s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1584s # } 1584s # 1584s # 1584s # /** 1584s # * OrgProjectOtherSignalingIface: 1584s # * 1584s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectOtherSignalingIfaceIface: 1584s # * @parent_iface: The parent interface. 1584s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1584s # * 1584s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1584s # */ 1584s # 1584s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1584s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1584s # 1584s # static void 1584s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1584s # { 1584s # /* GObject signals for received D-Bus signals: */ 1584s # /** 1584s # * OrgProjectOtherSignalingIface::simple-signal: 1584s # * @object: A #OrgProjectOtherSignalingIface. 1584s # * 1584s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1584s # * 1584s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1584s # */ 1584s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1584s # g_signal_new ("simple-signal", 1584s # G_TYPE_FROM_INTERFACE (iface), 1584s # G_SIGNAL_RUN_LAST, 1584s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1584s # NULL, 1584s # NULL, 1584s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1584s # G_TYPE_NONE, 1584s # 0); 1584s # 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_signaling_iface_emit_simple_signal: 1584s # * @object: A #OrgProjectOtherSignalingIface. 1584s # * 1584s # * Emits the "SimpleSignal" D-Bus signal. 1584s # */ 1584s # void 1584s # org_project_other_signaling_iface_emit_simple_signal ( 1584s # OrgProjectOtherSignalingIface *object) 1584s # { 1584s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * OrgProjectOtherSignalingIfaceProxy: 1584s # * 1584s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectOtherSignalingIfaceProxyClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1584s # */ 1584s # 1584s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1584s # { 1584s # GData *qdata; 1584s # }; 1584s # 1584s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1584s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1584s # { 1584s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1584s # g_datalist_clear (&proxy->priv->qdata); 1584s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1584s # guint prop_id G_GNUC_UNUSED, 1584s # GValue *value G_GNUC_UNUSED, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1584s # guint prop_id G_GNUC_UNUSED, 1584s # const GValue *value G_GNUC_UNUSED, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1584s # const gchar *sender_name G_GNUC_UNUSED, 1584s # const gchar *signal_name, 1584s # GVariant *parameters) 1584s # { 1584s # _ExtendedGDBusSignalInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # gsize n; 1584s # guint signal_id; 1584s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1584s # if (info == NULL) 1584s # return; 1584s # num_params = g_variant_n_children (parameters); 1584s # paramv = g_new0 (GValue, num_params + 1); 1584s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1584s # g_value_set_object (¶mv[0], proxy); 1584s # g_variant_iter_init (&iter, parameters); 1584s # n = 1; 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1584s # g_signal_emitv (paramv, signal_id, 0, NULL); 1584s # for (n = 0; n < num_params + 1; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1584s # GVariant *changed_properties, 1584s # const gchar *const *invalidated_properties) 1584s # { 1584s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1584s # guint n; 1584s # const gchar *key; 1584s # GVariantIter *iter; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # g_variant_get (changed_properties, "a{sv}", &iter); 1584s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1584s # g_datalist_remove_data (&proxy->priv->qdata, key); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # g_variant_iter_free (iter); 1584s # for (n = 0; invalidated_properties[n] != NULL; n++) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1584s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # } 1584s # 1584s # static void 1584s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1584s # #else 1584s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1584s # #endif 1584s # 1584s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusProxyClass *proxy_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1584s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1584s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1584s # 1584s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1584s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1584s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_signaling_iface_proxy_new: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # org_project_other_signaling_iface_proxy_new ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_signaling_iface_proxy_new_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectOtherSignalingIface * 1584s # org_project_other_signaling_iface_proxy_new_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_signaling_iface_proxy_new_sync: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectOtherSignalingIface * 1584s # org_project_other_signaling_iface_proxy_new_sync ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /** 1584s # * org_project_other_signaling_iface_proxy_new_for_bus: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # org_project_other_signaling_iface_proxy_new_for_bus ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectOtherSignalingIface * 1584s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectOtherSignalingIface * 1584s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * OrgProjectOtherSignalingIfaceSkeleton: 1584s # * 1584s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1584s # */ 1584s # 1584s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1584s # { 1584s # GValue *properties; 1584s # GList *changed_properties; 1584s # GSource *changed_properties_idle_source; 1584s # GMainContext *context; 1584s # GMutex lock; 1584s # }; 1584s # 1584s # static void 1584s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name, 1584s # const gchar *method_name, 1584s # GVariant *parameters, 1584s # GDBusMethodInvocation *invocation, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1584s # _ExtendedGDBusMethodInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # guint num_extra; 1584s # gsize n; 1584s # guint signal_id; 1584s # GValue return_value = G_VALUE_INIT; 1584s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1584s # g_assert (info != NULL); 1584s # num_params = g_variant_n_children (parameters); 1584s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1584s # n = 0; 1584s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1584s # g_value_set_object (¶mv[n++], skeleton); 1584s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1584s # g_value_set_object (¶mv[n++], invocation); 1584s # if (info->pass_fdlist) 1584s # { 1584s # #ifdef G_OS_UNIX 1584s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1584s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1584s # #else 1584s # g_assert_not_reached (); 1584s # #endif 1584s # } 1584s # g_variant_iter_init (&iter, parameters); 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1584s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1584s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1584s # if (!g_value_get_boolean (&return_value)) 1584s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1584s # g_value_unset (&return_value); 1584s # for (n = 0; n < num_params + num_extra; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static GVariant * 1584s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *ret; 1584s # ret = NULL; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # g_value_init (&value, pspec->value_type); 1584s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1584s # g_value_unset (&value); 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GVariant *variant, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # gboolean ret; 1584s # ret = FALSE; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # if (info->use_gvariant) 1584s # g_value_set_variant (&value, variant); 1584s # else 1584s # g_dbus_gvariant_to_gvalue (variant, &value); 1584s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # g_value_unset (&value); 1584s # ret = TRUE; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1584s # { 1584s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1584s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1584s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1584s # {NULL} 1584s # }; 1584s # 1584s # static GDBusInterfaceInfo * 1584s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return org_project_other_signaling_iface_interface_info (); 1584s # } 1584s # 1584s # static GDBusInterfaceVTable * 1584s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1584s # } 1584s # 1584s # static GVariant * 1584s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1584s # { 1584s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1584s # 1584s # GVariantBuilder builder; 1584s # guint n; 1584s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1584s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1584s # goto out; 1584s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1584s # { 1584s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1584s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1584s # { 1584s # GVariant *value; 1584s # 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); 1584s # if (value != NULL) 1584s # { 1584s # g_variant_take_ref (value); 1584s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1584s # g_variant_unref (value); 1584s # } 1584s # } 1584s # } 1584s # out: 1584s # return g_variant_builder_end (&builder); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1584s # OrgProjectOtherSignalingIface *object) 1584s # { 1584s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1584s # 1584s # GList *connections, *l; 1584s # GVariant *signal_variant; 1584s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1584s # 1584s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1584s # for (l = connections; l != NULL; l = l->next) 1584s # { 1584s # GDBusConnection *connection = l->data; 1584s # g_dbus_connection_emit_signal (connection, 1584s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1584s # signal_variant, NULL); 1584s # } 1584s # g_variant_unref (signal_variant); 1584s # g_list_free_full (connections, g_object_unref); 1584s # } 1584s # 1584s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1584s # { 1584s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1584s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1584s # if (skeleton->priv->changed_properties_idle_source != NULL) 1584s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1584s # g_main_context_unref (skeleton->priv->context); 1584s # g_mutex_clear (&skeleton->priv->lock); 1584s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1584s # #else 1584s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1584s # #endif 1584s # 1584s # g_mutex_init (&skeleton->priv->lock); 1584s # skeleton->priv->context = g_main_context_ref_thread_default (); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusInterfaceSkeletonClass *skeleton_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1584s # 1584s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1584s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1584s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1584s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1584s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1584s # { 1584s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_signaling_iface_skeleton_new: 1584s # * 1584s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1584s # */ 1584s # OrgProjectOtherSignalingIface * 1584s # org_project_other_signaling_iface_skeleton_new (void) 1584s # { 1584s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1584s # } 1585s # Executing: glib/codegen.py.test 1587s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1587s # tmpdir: /tmp/tmpynhfi5pr 1587s # codegen: /usr/bin/gdbus-codegen 1587s # /tmp/tmpynhfi5pr/tmptm3qpd3a.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmptm3qpd3a.xml', '--output', '-', '--body'] 1587s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.SignalingIface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectSignalingIface 1587s # * @title: OrgProjectSignalingIface 1587s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1587s # */ 1587s # 1587s # enum 1587s # { 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1587s # }; 1587s # 1587s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1587s # 1587s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SimpleSignal", 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "simple-signal" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_b", 1587s # (gchar *) "b", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalB", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-b" 1587s # }; 1587s # 1587s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.SignalingIface", 1587s # NULL, 1587s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-signaling-iface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_signaling_iface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_signaling_iface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_simple_signal ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__VOID (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1587s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1587s # */ 1587s # 1587s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1587s # { 1587s # /* GObject signals for received D-Bus signals: */ 1587s # /** 1587s # * OrgProjectSignalingIface::simple-signal: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1587s # g_signal_new ("simple-signal", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_simple_signal, 1587s # G_TYPE_NONE, 1587s # 0); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-b: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_arg_b: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1587s # g_signal_new ("single-arg-signal-b", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_BOOLEAN); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_simple_signal: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * 1587s # * Emits the "SimpleSignal" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_simple_signal ( 1587s # OrgProjectSignalingIface *object) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_b: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_arg_b: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalB" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_b ( 1587s # OrgProjectSignalingIface *object, 1587s # gboolean arg_arg_b) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceProxy: 1587s # * 1587s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectSignalingIfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectSignalingIfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_signaling_iface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1587s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1587s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1588s # OrgProjectSignalingIface *object, 1588s # gboolean arg_arg_b) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1588s # arg_arg_b)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmp_3x0azey.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmp_3x0azey.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_y", 1588s # (gchar *) "y", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalY", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-y" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__UCHAR (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-y: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_y: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1588s # g_signal_new ("single-arg-signal-y", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_UCHAR); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_y: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_y: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalY" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_y ( 1588s # OrgProjectSignalingIface *object, 1588s # guchar arg_arg_y) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1588s # OrgProjectSignalingIface *object, 1588s # guchar arg_arg_y) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1588s # arg_arg_y)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmp17gec6cs.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmp17gec6cs.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_n", 1588s # (gchar *) "n", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalN", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-n" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__INT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-n: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_n: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1588s # g_signal_new ("single-arg-signal-n", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_INT); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_n: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_n: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalN" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_n ( 1588s # OrgProjectSignalingIface *object, 1588s # gint16 arg_arg_n) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1588s # OrgProjectSignalingIface *object, 1588s # gint16 arg_arg_n) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1588s # arg_arg_n)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmpoiepp5fd.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmpoiepp5fd.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_q", 1588s # (gchar *) "q", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalQ", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-q" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__UINT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-q: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_q: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1588s # g_signal_new ("single-arg-signal-q", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_UINT); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_q: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_q: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalQ" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_q ( 1588s # OrgProjectSignalingIface *object, 1588s # guint16 arg_arg_q) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1588s # OrgProjectSignalingIface *object, 1588s # guint16 arg_arg_q) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1588s # arg_arg_q)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmpc7i1gtfs.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmpc7i1gtfs.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_i", 1588s # (gchar *) "i", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalI", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-i" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__INT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-i: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_i: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1588s # g_signal_new ("single-arg-signal-i", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_INT); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_i: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_i: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalI" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_i ( 1588s # OrgProjectSignalingIface *object, 1588s # gint arg_arg_i) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1588s # OrgProjectSignalingIface *object, 1588s # gint arg_arg_i) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1588s # arg_arg_i)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmpsms6ukm_.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmpsms6ukm_.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_u", 1588s # (gchar *) "u", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalU", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-u" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__UINT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-u: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_u: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1588s # g_signal_new ("single-arg-signal-u", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_UINT); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_u: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_u: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalU" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_u ( 1588s # OrgProjectSignalingIface *object, 1588s # guint arg_arg_u) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1588s # OrgProjectSignalingIface *object, 1588s # guint arg_arg_u) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1588s # arg_arg_u)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmputvsttuj.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmputvsttuj.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static void 1588s # _g_dbus_codegen_marshal_VOID__INT64 ( 1588s # GClosure *closure, 1588s # GValue *return_value G_GNUC_UNUSED, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint G_GNUC_UNUSED, 1588s # void *marshal_data) 1588s # { 1588s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1588s # (void *data1, 1588s # gint64 arg_arg_x, 1588s # void *data2); 1588s # _GDbusCodegenMarshalVoid_Int64Func callback; 1588s # GCClosure *cc = (GCClosure*) closure; 1588s # void *data1, *data2; 1588s # 1588s # g_return_if_fail (n_param_values == 2); 1588s # 1588s # if (G_CCLOSURE_SWAP_DATA (closure)) 1588s # { 1588s # data1 = closure->data; 1588s # data2 = g_value_peek_pointer (param_values + 0); 1588s # } 1588s # else 1588s # { 1588s # data1 = g_value_peek_pointer (param_values + 0); 1588s # data2 = closure->data; 1588s # } 1588s # 1588s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1588s # (marshal_data ? marshal_data : cc->callback); 1588s # 1588s # callback (data1, 1588s # g_marshal_value_peek_int64 (param_values + 1), 1588s # data2); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_x", 1588s # (gchar *) "x", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalX", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-x" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-x: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_x: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1588s # g_signal_new ("single-arg-signal-x", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_INT64); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_x: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_x: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalX" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_x ( 1588s # OrgProjectSignalingIface *object, 1588s # gint64 arg_arg_x) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1588s # OrgProjectSignalingIface *object, 1588s # gint64 arg_arg_x) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1588s # arg_arg_x)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmpf_gwk2tf.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmpf_gwk2tf.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static void 1588s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1588s # GClosure *closure, 1588s # GValue *return_value G_GNUC_UNUSED, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint G_GNUC_UNUSED, 1588s # void *marshal_data) 1588s # { 1588s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1588s # (void *data1, 1588s # guint64 arg_arg_t, 1588s # void *data2); 1588s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1588s # GCClosure *cc = (GCClosure*) closure; 1588s # void *data1, *data2; 1588s # 1588s # g_return_if_fail (n_param_values == 2); 1588s # 1588s # if (G_CCLOSURE_SWAP_DATA (closure)) 1588s # { 1588s # data1 = closure->data; 1588s # data2 = g_value_peek_pointer (param_values + 0); 1588s # } 1588s # else 1588s # { 1588s # data1 = g_value_peek_pointer (param_values + 0); 1588s # data2 = closure->data; 1588s # } 1588s # 1588s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1588s # (marshal_data ? marshal_data : cc->callback); 1588s # 1588s # callback (data1, 1588s # g_marshal_value_peek_uint64 (param_values + 1), 1588s # data2); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_t", 1588s # (gchar *) "t", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalT", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-t" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-t: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_t: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1588s # g_signal_new ("single-arg-signal-t", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_UINT64); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_t: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_t: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalT" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_t ( 1588s # OrgProjectSignalingIface *object, 1588s # guint64 arg_arg_t) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1588s # OrgProjectSignalingIface *object, 1588s # guint64 arg_arg_t) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1588s # arg_arg_t)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmpo0hf8zhc.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmpo0hf8zhc.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_d", 1588s # (gchar *) "d", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalD", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-d" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__DOUBLE (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-d: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_d: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1588s # g_signal_new ("single-arg-signal-d", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_DOUBLE); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_d: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_d: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalD" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_d ( 1588s # OrgProjectSignalingIface *object, 1588s # gdouble arg_arg_d) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1588s # OrgProjectSignalingIface *object, 1588s # gdouble arg_arg_d) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1588s # arg_arg_d)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmpgk8xo_qb.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmpgk8xo_qb.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_s", 1588s # (gchar *) "s", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalS", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-s" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__STRING (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-s: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_s: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1588s # g_signal_new ("single-arg-signal-s", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRING); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_s: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_s: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalS" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_s ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_s) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_s) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1588s # arg_arg_s)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmpq2e444id.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmpq2e444id.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_o", 1588s # (gchar *) "o", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalO", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-o" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__STRING (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-o: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_o: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1588s # g_signal_new ("single-arg-signal-o", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRING); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_o: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_o: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalO" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_o ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_o) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_o) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1588s # arg_arg_o)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmpkh_g5hnm.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmpkh_g5hnm.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_g", 1588s # (gchar *) "g", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalG", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-g" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__STRING (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-g: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_g: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1588s # g_signal_new ("single-arg-signal-g", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRING); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_g: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_g: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalG" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_g ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_g) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_g) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1588s # arg_arg_g)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmpwjzjh3lb.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmpwjzjh3lb.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_h", 1588s # (gchar *) "h", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalH", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-h" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VARIANT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-h: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_h: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1588s # g_signal_new ("single-arg-signal-h", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_VARIANT); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_h: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_h: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalH" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_h ( 1588s # OrgProjectSignalingIface *object, 1588s # GVariant *arg_arg_h) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1588s # OrgProjectSignalingIface *object, 1588s # GVariant *arg_arg_h) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1588s # arg_arg_h)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmpw7tudzur.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmpw7tudzur.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_ay", 1588s # (gchar *) "ay", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalAy", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-ay" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__STRING (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-ay: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_ay: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1588s # g_signal_new ("single-arg-signal-ay", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRING); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_ay: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalAy" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_ay) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_ay) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1588s # arg_arg_ay)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmpjfg2gld8.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmpjfg2gld8.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_as", 1588s # (gchar *) "as", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalAs", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-as" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__BOXED (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-as: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_as: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1588s # g_signal_new ("single-arg-signal-as", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRV); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_as: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_as: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalAs" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_as ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *const *arg_arg_as) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *const *arg_arg_as) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1588s # arg_arg_as)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmpn2ggbb1f.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmpn2ggbb1f.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_ao", 1588s # (gchar *) "ao", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalAo", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-ao" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__BOXED (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-ao: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_ao: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1588s # g_signal_new ("single-arg-signal-ao", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRV); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_ao: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalAo" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *const *arg_arg_ao) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *const *arg_arg_ao) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1588s # arg_arg_ao)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmpax4i5d47.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmpax4i5d47.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_aay", 1588s # (gchar *) "aay", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalAay", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-aay" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__BOXED (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-aay: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_aay: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1588s # g_signal_new ("single-arg-signal-aay", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRV); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_aay: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalAay" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *const *arg_arg_aay) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *const *arg_arg_aay) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1588s # arg_arg_aay)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpynhfi5pr/tmp5a0xb55e.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpynhfi5pr/tmp5a0xb55e.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_asv", 1588s # (gchar *) "a{sv}", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalAsv", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-asv" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VARIANT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-asv: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_asv: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1588s # g_signal_new ("single-arg-signal-asv", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_VARIANT); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_asv: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1588s # OrgProjectSignalingIface *object, 1588s # GVariant *arg_arg_asv) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1588s # OrgProjectSignalingIface *object, 1588s # GVariant *arg_arg_asv) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1588s # arg_arg_asv)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1588s # tmpdir: /tmp/tmpaix621tn 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmpaix621tn/tmp7u5kcqwg.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaix621tn/tmp7u5kcqwg.xml', '--output', '-', '--body'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static void 1588s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1588s # GClosure *closure, 1588s # GValue *return_value G_GNUC_UNUSED, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint G_GNUC_UNUSED, 1588s # void *marshal_data) 1588s # { 1588s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1588s # (void *data1, 1588s # gboolean arg_an_b, 1588s # guchar arg_an_y, 1588s # gint16 arg_an_n, 1588s # guint16 arg_an_q, 1588s # gint arg_an_i, 1588s # guint arg_an_u, 1588s # gint64 arg_an_x, 1588s # guint64 arg_an_t, 1588s # gdouble arg_an_d, 1588s # const gchar *arg_an_s, 1588s # const gchar *arg_an_o, 1588s # const gchar *arg_an_g, 1588s # GVariant *arg_an_h, 1588s # const gchar *arg_an_ay, 1588s # const gchar *const *arg_an_as, 1588s # const gchar *const *arg_an_ao, 1588s # const gchar *const *arg_an_aay, 1588s # GVariant *arg_an_asv, 1588s # void *data2); 1588s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1588s # GCClosure *cc = (GCClosure*) closure; 1588s # void *data1, *data2; 1588s # 1588s # g_return_if_fail (n_param_values == 19); 1588s # 1588s # if (G_CCLOSURE_SWAP_DATA (closure)) 1588s # { 1588s # data1 = closure->data; 1588s # data2 = g_value_peek_pointer (param_values + 0); 1588s # } 1588s # else 1588s # { 1588s # data1 = g_value_peek_pointer (param_values + 0); 1588s # data2 = closure->data; 1588s # } 1588s # 1588s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1588s # (marshal_data ? marshal_data : cc->callback); 1588s # 1588s # callback (data1, 1588s # g_marshal_value_peek_boolean (param_values + 1), 1588s # g_marshal_value_peek_uchar (param_values + 2), 1588s # g_marshal_value_peek_int (param_values + 3), 1588s # g_marshal_value_peek_uint (param_values + 4), 1588s # g_marshal_value_peek_int (param_values + 5), 1588s # g_marshal_value_peek_uint (param_values + 6), 1588s # g_marshal_value_peek_int64 (param_values + 7), 1588s # g_marshal_value_peek_uint64 (param_values + 8), 1588s # g_marshal_value_peek_double (param_values + 9), 1588s # g_marshal_value_peek_string (param_values + 10), 1588s # g_marshal_value_peek_string (param_values + 11), 1588s # g_marshal_value_peek_string (param_values + 12), 1588s # g_marshal_value_peek_variant (param_values + 13), 1588s # g_marshal_value_peek_string (param_values + 14), 1588s # g_marshal_value_peek_boxed (param_values + 15), 1588s # g_marshal_value_peek_boxed (param_values + 16), 1588s # g_marshal_value_peek_boxed (param_values + 17), 1588s # g_marshal_value_peek_variant (param_values + 18), 1588s # data2); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_b", 1588s # (gchar *) "b", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_y", 1588s # (gchar *) "y", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_n", 1588s # (gchar *) "n", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_q", 1588s # (gchar *) "q", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_i", 1588s # (gchar *) "i", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_u", 1588s # (gchar *) "u", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_x", 1588s # (gchar *) "x", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_t", 1588s # (gchar *) "t", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_d", 1588s # (gchar *) "d", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_s", 1588s # (gchar *) "s", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_o", 1588s # (gchar *) "o", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_g", 1588s # (gchar *) "g", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_h", 1588s # (gchar *) "h", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_ay", 1588s # (gchar *) "ay", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_as", 1588s # (gchar *) "as", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_ao", 1588s # (gchar *) "ao", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_aay", 1588s # (gchar *) "aay", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_asv", 1588s # (gchar *) "a{sv}", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SignalWithManyArgs", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "signal-with-many-args" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::signal-with-many-args: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_an_b: Argument. 1588s # * @arg_an_y: Argument. 1588s # * @arg_an_n: Argument. 1588s # * @arg_an_q: Argument. 1588s # * @arg_an_i: Argument. 1588s # * @arg_an_u: Argument. 1588s # * @arg_an_x: Argument. 1588s # * @arg_an_t: Argument. 1588s # * @arg_an_d: Argument. 1588s # * @arg_an_s: Argument. 1588s # * @arg_an_o: Argument. 1588s # * @arg_an_g: Argument. 1588s # * @arg_an_h: Argument. 1588s # * @arg_an_ay: Argument. 1588s # * @arg_an_as: Argument. 1588s # * @arg_an_ao: Argument. 1588s # * @arg_an_aay: Argument. 1588s # * @arg_an_asv: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1588s # g_signal_new ("signal-with-many-args", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1588s # G_TYPE_NONE, 1588s # 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); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_signal_with_many_args: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_an_b: Argument to pass with the signal. 1588s # * @arg_an_y: Argument to pass with the signal. 1588s # * @arg_an_n: Argument to pass with the signal. 1588s # * @arg_an_q: Argument to pass with the signal. 1588s # * @arg_an_i: Argument to pass with the signal. 1588s # * @arg_an_u: Argument to pass with the signal. 1588s # * @arg_an_x: Argument to pass with the signal. 1588s # * @arg_an_t: Argument to pass with the signal. 1588s # * @arg_an_d: Argument to pass with the signal. 1588s # * @arg_an_s: Argument to pass with the signal. 1588s # * @arg_an_o: Argument to pass with the signal. 1588s # * @arg_an_g: Argument to pass with the signal. 1588s # * @arg_an_h: Argument to pass with the signal. 1588s # * @arg_an_ay: Argument to pass with the signal. 1588s # * @arg_an_as: Argument to pass with the signal. 1588s # * @arg_an_ao: Argument to pass with the signal. 1588s # * @arg_an_aay: Argument to pass with the signal. 1588s # * @arg_an_asv: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SignalWithManyArgs" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_signal_with_many_args ( 1588s # OrgProjectSignalingIface *object, 1588s # gboolean arg_an_b, 1588s # guchar arg_an_y, 1588s # gint16 arg_an_n, 1588s # guint16 arg_an_q, 1588s # gint arg_an_i, 1588s # guint arg_an_u, 1588s # gint64 arg_an_x, 1588s # guint64 arg_an_t, 1588s # gdouble arg_an_d, 1588s # const gchar *arg_an_s, 1588s # const gchar *arg_an_o, 1588s # const gchar *arg_an_g, 1588s # GVariant *arg_an_h, 1588s # const gchar *arg_an_ay, 1588s # const gchar *const *arg_an_as, 1588s # const gchar *const *arg_an_ao, 1588s # const gchar *const *arg_an_aay, 1588s # GVariant *arg_an_asv) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1588s # OrgProjectSignalingIface *object, 1588s # gboolean arg_an_b, 1588s # guchar arg_an_y, 1588s # gint16 arg_an_n, 1588s # guint16 arg_an_q, 1588s # gint arg_an_i, 1588s # guint arg_an_u, 1588s # gint64 arg_an_x, 1588s # guint64 arg_an_t, 1588s # gdouble arg_an_d, 1588s # const gchar *arg_an_s, 1588s # const gchar *arg_an_o, 1588s # const gchar *arg_an_g, 1588s # GVariant *arg_an_h, 1588s # const gchar *arg_an_ay, 1588s # const gchar *const *arg_an_as, 1588s # const gchar *const *arg_an_ao, 1588s # const gchar *const *arg_an_aay, 1588s # GVariant *arg_an_asv) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1588s # arg_an_b, 1588s # arg_an_y, 1588s # arg_an_n, 1588s # arg_an_q, 1588s # arg_an_i, 1588s # arg_an_u, 1588s # arg_an_x, 1588s # arg_an_t, 1588s # arg_an_d, 1588s # arg_an_s, 1588s # arg_an_o, 1588s # arg_an_g, 1588s # arg_an_h, 1588s # arg_an_ay, 1588s # arg_an_as, 1588s # arg_an_ao, 1588s # arg_an_aay, 1588s # arg_an_asv)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1588s # tmpdir: /tmp/tmp9n_rosy2 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmp9n_rosy2/tmp9xc84djm.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9n_rosy2/tmp9xc84djm.xml', '--generate-docbook', 'test'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: 1588s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1588s # tmpdir: /tmp/tmphmyvqa6_ 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmphmyvqa6_/tmpb18uyv08.xml: 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmyvqa6_/tmpb18uyv08.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1588s # tmpdir: /tmp/tmphws1h7dn 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmphws1h7dn/tmpuzccvhl9.xml: 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphws1h7dn/tmpuzccvhl9.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifndef __STDOUT__ 1588s # #define __STDOUT__ 1588s # 1588s # #include 1588s # 1588s # G_BEGIN_DECLS 1588s # 1588s # 1588s # G_END_DECLS 1588s # 1588s # #endif /* __STDOUT__ */ 1588s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1588s # tmpdir: /tmp/tmpf6swba3r 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmpf6swba3r/tmp0ihtftyt.xml: 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf6swba3r/tmp0ihtftyt.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1588s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1589s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1589s # tmpdir: /tmp/tmpl35blt30 1589s # codegen: /usr/bin/gdbus-codegen 1589s # /tmp/tmpl35blt30/tmp3vr6ltib.xml: 1589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl35blt30/tmp3vr6ltib.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1589s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1589s # Output: /* 1589s # * This file is generated by gdbus-codegen, do not modify it. 1589s # * 1589s # * The license of this code is the same as for the D-Bus interface description 1589s # * it was derived from. Note that it links to GLib, so must comply with the 1589s # * LGPL linking clauses. 1589s # */ 1589s # 1589s # #ifndef __STDOUT__ 1589s # #define __STDOUT__ 1589s # 1589s # #include 1589s # 1589s # G_BEGIN_DECLS 1589s # 1589s # 1589s # G_END_DECLS 1589s # 1589s # #endif /* __STDOUT__ */ 1589s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1589s # tmpdir: /tmp/tmpdcamn1xp 1589s # codegen: /usr/bin/gdbus-codegen 1589s # /tmp/tmpdcamn1xp/tmpb33kn2l0.xml: 1589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcamn1xp/tmpb33kn2l0.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1589s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1589s # Output: /* 1589s # * This file is generated by gdbus-codegen, do not modify it. 1589s # * 1589s # * The license of this code is the same as for the D-Bus interface description 1589s # * it was derived from. Note that it links to GLib, so must comply with the 1589s # * LGPL linking clauses. 1589s # */ 1589s # 1589s # #ifndef __STDOUT__ 1589s # #define __STDOUT__ 1589s # 1589s # #include 1589s # 1589s # G_BEGIN_DECLS 1589s # 1589s # 1589s # G_END_DECLS 1589s # 1589s # #endif /* __STDOUT__ */ 1589s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1589s # tmpdir: /tmp/tmp31fxu4l9 1589s # codegen: /usr/bin/gdbus-codegen 1589s # /tmp/tmp31fxu4l9/tmpz8m34vgo.xml: 1589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp31fxu4l9/tmpz8m34vgo.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1589s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1589s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1589s # tmpdir: /tmp/tmphnkpez4c 1589s # codegen: /usr/bin/gdbus-codegen 1589s # /tmp/tmphnkpez4c/tmpbjqyzjf5.xml: 1589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphnkpez4c/tmpbjqyzjf5.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1589s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1589s # Output: /* 1589s # * This file is generated by gdbus-codegen, do not modify it. 1589s # * 1589s # * The license of this code is the same as for the D-Bus interface description 1589s # * it was derived from. Note that it links to GLib, so must comply with the 1589s # * LGPL linking clauses. 1589s # */ 1589s # 1589s # #ifndef __STDOUT__ 1589s # #define __STDOUT__ 1589s # 1589s # #include 1589s # 1589s # G_BEGIN_DECLS 1589s # 1589s # 1589s # G_END_DECLS 1589s # 1589s # #endif /* __STDOUT__ */ 1589s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1589s # tmpdir: /tmp/tmpu571equy 1589s # codegen: /usr/bin/gdbus-codegen 1589s # /tmp/tmpu571equy/tmphyix4g00.xml: 1589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu571equy/tmphyix4g00.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1589s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1590s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1590s # tmpdir: /tmp/tmputpopks9 1590s # codegen: /usr/bin/gdbus-codegen 1590s # /tmp/tmputpopks9/tmp302hun2b.xml: 1590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmputpopks9/tmp302hun2b.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1590s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1590s # Output: /* 1590s # * This file is generated by gdbus-codegen, do not modify it. 1590s # * 1590s # * The license of this code is the same as for the D-Bus interface description 1590s # * it was derived from. Note that it links to GLib, so must comply with the 1590s # * LGPL linking clauses. 1590s # */ 1590s # 1590s # #ifndef __STDOUT__ 1590s # #define __STDOUT__ 1590s # 1590s # #include 1590s # 1590s # G_BEGIN_DECLS 1590s # 1590s # 1590s # G_END_DECLS 1590s # 1590s # #endif /* __STDOUT__ */ 1590s ok 35 __main__.TestCodegen.test_help 1590s # tmpdir: /tmp/tmpzjvlehox 1590s # codegen: /usr/bin/gdbus-codegen 1590s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1590s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1590s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1590s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1590s # [--c-generate-autocleanup {none,objects,all}] 1590s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1590s # [--generate-rst OUTFILES] [--pragma-once] 1590s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1590s # [--glib-min-required VERSION] 1590s # [--glib-max-allowed VERSION] 1590s # [--symbol-decorator SYMBOL_DECORATOR] 1590s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1590s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1590s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1590s # [--output FILE | --output-directory OUTDIR] 1590s # FILE [FILE ...] 1590s # 1590s # D-Bus code and documentation generator 1590s # 1590s # positional arguments: 1590s # FILE D-Bus introspection XML file 1590s # 1590s # options: 1590s # -h, --help show this help message and exit 1590s # --interface-prefix PREFIX 1590s # String to strip from D-Bus interface names for code 1590s # and docs 1590s # --c-namespace NAMESPACE 1590s # The namespace to use for generated C code 1590s # --c-generate-object-manager 1590s # Generate a GDBusObjectManagerClient subclass when 1590s # generating C code 1590s # --c-generate-autocleanup {none,objects,all} 1590s # Generate autocleanup support 1590s # --generate-docbook OUTFILES 1590s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1590s # --generate-md OUTFILES 1590s # Generate Markdown in OUTFILES-org.Project.IFace.md 1590s # --generate-rst OUTFILES 1590s # Generate reStructuredText in OUTFILES- 1590s # org.Project.IFace.rst 1590s # --pragma-once Use "pragma once" as the inclusion guard 1590s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1590s # Add annotation (may be used several times) 1590s # --glib-min-required VERSION 1590s # Minimum version of GLib to be supported by the 1590s # outputted code (default: 2.30) 1590s # --glib-max-allowed VERSION 1590s # Maximum version of GLib to be used by the outputted 1590s # code (default: current GLib version) 1590s # --symbol-decorator SYMBOL_DECORATOR 1590s # Macro used to decorate a symbol in the outputted 1590s # header, possibly to export symbols 1590s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1590s # Additional header required for decorator specified by 1590s # --symbol-decorator 1590s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1590s # Additional define required for decorator specified by 1590s # --symbol-decorator 1590s # --generate-c-code OUTFILES 1590s # Generate C code in OUTFILES.[ch] 1590s # --header Generate C headers 1590s # --body Generate C code 1590s # --interface-info-header 1590s # Generate GDBusInterfaceInfo C header 1590s # --interface-info-body 1590s # Generate GDBusInterfaceInfo C code 1590s # --output FILE Write output into the specified file 1590s # --output-directory OUTDIR 1590s # Location to output generated files 1590s # Executing: glib/codegen.py.test 1590s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1590s # tmpdir: /tmp/tmp64b67xyi 1590s # codegen: /usr/bin/gdbus-codegen 1590s # /tmp/tmp64b67xyi/tmpkss0qwga.xml: 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp64b67xyi/tmpkss0qwga.xml', '--generate-rst', 'test'] 1590s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1590s # Output: 1590s # /tmp/tmp64b67xyi/tmpr3c26tyv.xml: 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp64b67xyi/tmpr3c26tyv.xml', '--generate-md', 'test'] 1590s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1590s # Output: 1590s # /tmp/tmp64b67xyi/tmpz731vt_b.xml: 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # 1590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp64b67xyi/tmpz731vt_b.xml', '--generate-docbook', 'test'] 1590s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1590s # Output: 1590s ok 37 __main__.TestCodegen.test_no_args 1590s # tmpdir: /tmp/tmpiwd8auvz 1590s # codegen: /usr/bin/gdbus-codegen 1590s # Running: ['/usr/bin/gdbus-codegen'] 1590s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1591s ok 38 __main__.TestCodegen.test_reproducible 1591s # tmpdir: /tmp/tmp7srwg1nr 1591s # codegen: /usr/bin/gdbus-codegen 1591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7srwg1nr/tmpsbd4qgq_1.xml', '/tmp/tmp7srwg1nr/tmpjtqfd53j2.xml', '--output', '-', '--header'] 1591s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1591s # Output: /* 1591s # * This file is generated by gdbus-codegen, do not modify it. 1591s # * 1591s # * The license of this code is the same as for the D-Bus interface description 1591s # * it was derived from. Note that it links to GLib, so must comply with the 1591s # * LGPL linking clauses. 1591s # */ 1591s # 1591s # #ifndef __STDOUT__ 1591s # #define __STDOUT__ 1591s # 1591s # #include 1591s # 1591s # G_BEGIN_DECLS 1591s # 1591s # 1591s # /* ------------------------------------------------------------------------ */ 1591s # /* Declarations for org.project.Bar.Frobnicator */ 1591s # 1591s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1591s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1591s # 1591s # struct _OrgProjectBarFrobnicator; 1591s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1591s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1591s # 1591s # struct _OrgProjectBarFrobnicatorIface 1591s # { 1591s # GTypeInterface parent_iface; 1591s # 1591s # gboolean (*handle_random_method) ( 1591s # OrgProjectBarFrobnicator *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # }; 1591s # 1591s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1591s # 1591s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1591s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1591s # 1591s # 1591s # /* D-Bus method call completion functions: */ 1591s # void org_project_bar_frobnicator_complete_random_method ( 1591s # OrgProjectBarFrobnicator *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # 1591s # 1591s # /* D-Bus method calls: */ 1591s # void org_project_bar_frobnicator_call_random_method ( 1591s # OrgProjectBarFrobnicator *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # 1591s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1591s # OrgProjectBarFrobnicator *proxy, 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # 1591s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1591s # OrgProjectBarFrobnicator *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # 1591s # 1591s # /* ---- */ 1591s # 1591s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1591s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1591s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1591s # 1591s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1591s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1591s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1591s # 1591s # struct _OrgProjectBarFrobnicatorProxy 1591s # { 1591s # /*< private >*/ 1591s # GDBusProxy parent_instance; 1591s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1591s # }; 1591s # 1591s # struct _OrgProjectBarFrobnicatorProxyClass 1591s # { 1591s # GDBusProxyClass parent_class; 1591s # }; 1591s # 1591s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1591s # 1591s # #if GLIB_CHECK_VERSION(2, 44, 0) 1591s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1591s # #endif 1591s # 1591s # void org_project_bar_frobnicator_proxy_new ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # 1591s # /* ---- */ 1591s # 1591s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1591s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1591s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1591s # 1591s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1591s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1591s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1591s # 1591s # struct _OrgProjectBarFrobnicatorSkeleton 1591s # { 1591s # /*< private >*/ 1591s # GDBusInterfaceSkeleton parent_instance; 1591s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1591s # }; 1591s # 1591s # struct _OrgProjectBarFrobnicatorSkeletonClass 1591s # { 1591s # GDBusInterfaceSkeletonClass parent_class; 1591s # }; 1591s # 1591s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1591s # 1591s # #if GLIB_CHECK_VERSION(2, 44, 0) 1591s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1591s # #endif 1591s # 1591s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1591s # 1591s # 1591s # /* ------------------------------------------------------------------------ */ 1591s # /* Declarations for com.acme.Coyote */ 1591s # 1591s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1591s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1591s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1591s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1591s # 1591s # struct _ComAcmeCoyote; 1591s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1591s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1591s # 1591s # struct _ComAcmeCoyoteIface 1591s # { 1591s # GTypeInterface parent_iface; 1591s # 1591s # 1591s # 1591s # gboolean (*handle_attack) ( 1591s # ComAcmeCoyote *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # gboolean (*handle_run) ( 1591s # ComAcmeCoyote *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # gboolean (*handle_sleep) ( 1591s # ComAcmeCoyote *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1591s # 1591s # void (*surprised) ( 1591s # ComAcmeCoyote *object); 1591s # 1591s # }; 1591s # 1591s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1591s # 1591s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1591s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1591s # 1591s # 1591s # /* D-Bus method call completion functions: */ 1591s # void com_acme_coyote_complete_run ( 1591s # ComAcmeCoyote *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # void com_acme_coyote_complete_sleep ( 1591s # ComAcmeCoyote *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # void com_acme_coyote_complete_attack ( 1591s # ComAcmeCoyote *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # 1591s # 1591s # /* D-Bus signal emissions functions: */ 1591s # void com_acme_coyote_emit_surprised ( 1591s # ComAcmeCoyote *object); 1591s # 1591s # 1591s # 1591s # /* D-Bus method calls: */ 1591s # void com_acme_coyote_call_run ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # 1591s # gboolean com_acme_coyote_call_run_finish ( 1591s # ComAcmeCoyote *proxy, 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # 1591s # gboolean com_acme_coyote_call_run_sync ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # void com_acme_coyote_call_sleep ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # 1591s # gboolean com_acme_coyote_call_sleep_finish ( 1591s # ComAcmeCoyote *proxy, 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # 1591s # gboolean com_acme_coyote_call_sleep_sync ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # void com_acme_coyote_call_attack ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # 1591s # gboolean com_acme_coyote_call_attack_finish ( 1591s # ComAcmeCoyote *proxy, 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # 1591s # gboolean com_acme_coyote_call_attack_sync ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # 1591s # 1591s # /* D-Bus property accessors: */ 1591s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1591s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1591s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1591s # 1591s # 1591s # /* ---- */ 1591s # 1591s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1591s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1591s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1591s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1591s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1591s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1591s # 1591s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1591s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1591s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1591s # 1591s # struct _ComAcmeCoyoteProxy 1591s # { 1591s # /*< private >*/ 1591s # GDBusProxy parent_instance; 1591s # ComAcmeCoyoteProxyPrivate *priv; 1591s # }; 1591s # 1591s # struct _ComAcmeCoyoteProxyClass 1591s # { 1591s # GDBusProxyClass parent_class; 1591s # }; 1591s # 1591s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1591s # 1591s # #if GLIB_CHECK_VERSION(2, 44, 0) 1591s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1591s # #endif 1591s # 1591s # void com_acme_coyote_proxy_new ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # void com_acme_coyote_proxy_new_for_bus ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # 1591s # /* ---- */ 1591s # 1591s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1591s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1591s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1591s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1591s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1591s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1591s # 1591s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1591s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1591s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1591s # 1591s # struct _ComAcmeCoyoteSkeleton 1591s # { 1591s # /*< private >*/ 1591s # GDBusInterfaceSkeleton parent_instance; 1591s # ComAcmeCoyoteSkeletonPrivate *priv; 1591s # }; 1591s # 1591s # struct _ComAcmeCoyoteSkeletonClass 1591s # { 1591s # GDBusInterfaceSkeletonClass parent_class; 1591s # }; 1591s # 1591s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1591s # 1591s # #if GLIB_CHECK_VERSION(2, 44, 0) 1591s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1591s # #endif 1591s # 1591s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1591s # 1591s # 1591s # G_END_DECLS 1591s # 1591s # #endif /* __STDOUT__ */ 1591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7srwg1nr/tmpjtqfd53j2.xml', '/tmp/tmp7srwg1nr/tmpsbd4qgq_1.xml', '--output', '-', '--header'] 1591s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1591s # Output: /* 1591s # * This file is generated by gdbus-codegen, do not modify it. 1591s # * 1591s # * The license of this code is the same as for the D-Bus interface description 1591s # * it was derived from. Note that it links to GLib, so must comply with the 1591s # * LGPL linking clauses. 1591s # */ 1591s # 1591s # #ifndef __STDOUT__ 1591s # #define __STDOUT__ 1591s # 1591s # #include 1591s # 1591s # G_BEGIN_DECLS 1591s # 1591s # 1591s # /* ------------------------------------------------------------------------ */ 1591s # /* Declarations for org.project.Bar.Frobnicator */ 1591s # 1591s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1591s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1591s # 1591s # struct _OrgProjectBarFrobnicator; 1591s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1591s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1591s # 1591s # struct _OrgProjectBarFrobnicatorIface 1591s # { 1591s # GTypeInterface parent_iface; 1591s # 1591s # gboolean (*handle_random_method) ( 1591s # OrgProjectBarFrobnicator *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # }; 1591s # 1591s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1591s # 1591s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1591s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1591s # 1591s # 1591s # /* D-Bus method call completion functions: */ 1591s # void org_project_bar_frobnicator_complete_random_method ( 1591s # OrgProjectBarFrobnicator *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # 1591s # 1591s # /* D-Bus method calls: */ 1591s # void org_project_bar_frobnicator_call_random_method ( 1591s # OrgProjectBarFrobnicator *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # 1591s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1591s # OrgProjectBarFrobnicator *proxy, 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # 1591s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1591s # OrgProjectBarFrobnicator *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # 1591s # 1591s # /* ---- */ 1591s # 1591s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1591s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1591s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1591s # 1591s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1591s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1591s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1591s # 1591s # struct _OrgProjectBarFrobnicatorProxy 1591s # { 1591s # /*< private >*/ 1591s # GDBusProxy parent_instance; 1591s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1591s # }; 1591s # 1591s # struct _OrgProjectBarFrobnicatorProxyClass 1591s # { 1591s # GDBusProxyClass parent_class; 1591s # }; 1591s # 1591s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1591s # 1591s # #if GLIB_CHECK_VERSION(2, 44, 0) 1591s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1591s # #endif 1591s # 1591s # void org_project_bar_frobnicator_proxy_new ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # 1591s # /* ---- */ 1591s # 1591s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1591s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1591s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1591s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1591s # 1591s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1591s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1591s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1591s # 1591s # struct _OrgProjectBarFrobnicatorSkeleton 1591s # { 1591s # /*< private >*/ 1591s # GDBusInterfaceSkeleton parent_instance; 1591s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1591s # }; 1591s # 1591s # struct _OrgProjectBarFrobnicatorSkeletonClass 1591s # { 1591s # GDBusInterfaceSkeletonClass parent_class; 1591s # }; 1591s # 1591s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1591s # 1591s # #if GLIB_CHECK_VERSION(2, 44, 0) 1591s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1591s # #endif 1591s # 1591s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1591s # 1591s # 1591s # /* ------------------------------------------------------------------------ */ 1591s # /* Declarations for com.acme.Coyote */ 1591s # 1591s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1591s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1591s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1591s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1591s # 1591s # struct _ComAcmeCoyote; 1591s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1591s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1591s # 1591s # struct _ComAcmeCoyoteIface 1591s # { 1591s # GTypeInterface parent_iface; 1591s # 1591s # 1591s # 1591s # gboolean (*handle_attack) ( 1591s # ComAcmeCoyote *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # gboolean (*handle_run) ( 1591s # ComAcmeCoyote *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # gboolean (*handle_sleep) ( 1591s # ComAcmeCoyote *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1591s # 1591s # void (*surprised) ( 1591s # ComAcmeCoyote *object); 1591s # 1591s # }; 1591s # 1591s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1591s # 1591s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1591s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1591s # 1591s # 1591s # /* D-Bus method call completion functions: */ 1591s # void com_acme_coyote_complete_run ( 1591s # ComAcmeCoyote *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # void com_acme_coyote_complete_sleep ( 1591s # ComAcmeCoyote *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # void com_acme_coyote_complete_attack ( 1591s # ComAcmeCoyote *object, 1591s # GDBusMethodInvocation *invocation); 1591s # 1591s # 1591s # 1591s # /* D-Bus signal emissions functions: */ 1591s # void com_acme_coyote_emit_surprised ( 1591s # ComAcmeCoyote *object); 1591s # 1591s # 1591s # 1591s # /* D-Bus method calls: */ 1591s # void com_acme_coyote_call_run ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # 1591s # gboolean com_acme_coyote_call_run_finish ( 1591s # ComAcmeCoyote *proxy, 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # 1591s # gboolean com_acme_coyote_call_run_sync ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # void com_acme_coyote_call_sleep ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # 1591s # gboolean com_acme_coyote_call_sleep_finish ( 1591s # ComAcmeCoyote *proxy, 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # 1591s # gboolean com_acme_coyote_call_sleep_sync ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # void com_acme_coyote_call_attack ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # 1591s # gboolean com_acme_coyote_call_attack_finish ( 1591s # ComAcmeCoyote *proxy, 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # 1591s # gboolean com_acme_coyote_call_attack_sync ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # 1591s # 1591s # /* D-Bus property accessors: */ 1591s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1591s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1591s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1591s # 1591s # 1591s # /* ---- */ 1591s # 1591s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1591s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1591s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1591s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1591s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1591s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1591s # 1591s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1591s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1591s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1591s # 1591s # struct _ComAcmeCoyoteProxy 1591s # { 1591s # /*< private >*/ 1591s # GDBusProxy parent_instance; 1591s # ComAcmeCoyoteProxyPrivate *priv; 1591s # }; 1591s # 1591s # struct _ComAcmeCoyoteProxyClass 1591s # { 1591s # GDBusProxyClass parent_class; 1591s # }; 1591s # 1591s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1591s # 1591s # #if GLIB_CHECK_VERSION(2, 44, 0) 1591s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1591s # #endif 1591s # 1591s # void com_acme_coyote_proxy_new ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # void com_acme_coyote_proxy_new_for_bus ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data); 1591s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1591s # GAsyncResult *res, 1591s # GError **error); 1591s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error); 1591s # 1591s # 1591s # /* ---- */ 1591s # 1591s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1591s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1591s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1591s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1591s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1591s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1591s # 1591s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1591s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1591s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1591s # 1591s # struct _ComAcmeCoyoteSkeleton 1591s # { 1591s # /*< private >*/ 1591s # GDBusInterfaceSkeleton parent_instance; 1591s # ComAcmeCoyoteSkeletonPrivate *priv; 1591s # }; 1591s # 1591s # struct _ComAcmeCoyoteSkeletonClass 1591s # { 1591s # GDBusInterfaceSkeletonClass parent_class; 1591s # }; 1591s # 1591s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1591s # 1591s # #if GLIB_CHECK_VERSION(2, 44, 0) 1591s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1591s # #endif 1591s # 1591s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1591s # 1591s # 1591s # G_END_DECLS 1591s # 1591s # #endif /* __STDOUT__ */ 1591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7srwg1nr/tmpsbd4qgq_1.xml', '/tmp/tmp7srwg1nr/tmpjtqfd53j2.xml', '--output', '-', '--body'] 1591s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1591s # Output: /* 1591s # * This file is generated by gdbus-codegen, do not modify it. 1591s # * 1591s # * The license of this code is the same as for the D-Bus interface description 1591s # * it was derived from. Note that it links to GLib, so must comply with the 1591s # * LGPL linking clauses. 1591s # */ 1591s # 1591s # #ifdef HAVE_CONFIG_H 1591s # # include "config.h" 1591s # #endif 1591s # 1591s # #include 1591s # #ifdef G_OS_UNIX 1591s # # include 1591s # #endif 1591s # 1591s # #ifdef G_ENABLE_DEBUG 1591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1591s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1591s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1591s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1591s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1591s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1591s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1591s # #else /* !G_ENABLE_DEBUG */ 1591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1591s # * Do not access GValues directly in your code. Instead, use the 1591s # * g_value_get_*() functions 1591s # */ 1591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1591s # #endif /* !G_ENABLE_DEBUG */ 1591s # 1591s # typedef struct 1591s # { 1591s # GDBusArgInfo parent_struct; 1591s # gboolean use_gvariant; 1591s # } _ExtendedGDBusArgInfo; 1591s # 1591s # typedef struct 1591s # { 1591s # GDBusMethodInfo parent_struct; 1591s # const gchar *signal_name; 1591s # gboolean pass_fdlist; 1591s # } _ExtendedGDBusMethodInfo; 1591s # 1591s # typedef struct 1591s # { 1591s # GDBusSignalInfo parent_struct; 1591s # const gchar *signal_name; 1591s # } _ExtendedGDBusSignalInfo; 1591s # 1591s # typedef struct 1591s # { 1591s # GDBusPropertyInfo parent_struct; 1591s # const gchar *hyphen_name; 1591s # guint use_gvariant : 1; 1591s # guint emits_changed_signal : 1; 1591s # } _ExtendedGDBusPropertyInfo; 1591s # 1591s # typedef struct 1591s # { 1591s # GDBusInterfaceInfo parent_struct; 1591s # const gchar *hyphen_name; 1591s # } _ExtendedGDBusInterfaceInfo; 1591s # 1591s # typedef struct 1591s # { 1591s # const _ExtendedGDBusPropertyInfo *info; 1591s # guint prop_id; 1591s # GValue orig_value; /* the value before the change */ 1591s # } ChangedProperty; 1591s # 1591s # static void 1591s # _changed_property_free (ChangedProperty *data) 1591s # { 1591s # g_value_unset (&data->orig_value); 1591s # g_free (data); 1591s # } 1591s # 1591s # static gboolean 1591s # _g_strv_equal0 (gchar **a, gchar **b) 1591s # { 1591s # gboolean ret = FALSE; 1591s # guint n; 1591s # if (a == NULL && b == NULL) 1591s # { 1591s # ret = TRUE; 1591s # goto out; 1591s # } 1591s # if (a == NULL || b == NULL) 1591s # goto out; 1591s # if (g_strv_length (a) != g_strv_length (b)) 1591s # goto out; 1591s # for (n = 0; a[n] != NULL; n++) 1591s # if (g_strcmp0 (a[n], b[n]) != 0) 1591s # goto out; 1591s # ret = TRUE; 1591s # out: 1591s # return ret; 1591s # } 1591s # 1591s # static gboolean 1591s # _g_variant_equal0 (GVariant *a, GVariant *b) 1591s # { 1591s # gboolean ret = FALSE; 1591s # if (a == NULL && b == NULL) 1591s # { 1591s # ret = TRUE; 1591s # goto out; 1591s # } 1591s # if (a == NULL || b == NULL) 1591s # goto out; 1591s # ret = g_variant_equal (a, b); 1591s # out: 1591s # return ret; 1591s # } 1591s # 1591s # G_GNUC_UNUSED static gboolean 1591s # _g_value_equal (const GValue *a, const GValue *b) 1591s # { 1591s # gboolean ret = FALSE; 1591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1591s # switch (G_VALUE_TYPE (a)) 1591s # { 1591s # case G_TYPE_BOOLEAN: 1591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1591s # break; 1591s # case G_TYPE_UCHAR: 1591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1591s # break; 1591s # case G_TYPE_INT: 1591s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1591s # break; 1591s # case G_TYPE_UINT: 1591s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1591s # break; 1591s # case G_TYPE_INT64: 1591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1591s # break; 1591s # case G_TYPE_UINT64: 1591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1591s # break; 1591s # case G_TYPE_DOUBLE: 1591s # { 1591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1591s # gdouble da = g_value_get_double (a); 1591s # gdouble db = g_value_get_double (b); 1591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1591s # } 1591s # break; 1591s # case G_TYPE_STRING: 1591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1591s # break; 1591s # case G_TYPE_VARIANT: 1591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1591s # break; 1591s # default: 1591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1591s # else 1591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1591s # break; 1591s # } 1591s # return ret; 1591s # } 1591s # 1591s # static void 1591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1591s # GClosure *closure, 1591s # GValue *return_value, 1591s # unsigned int n_param_values, 1591s # const GValue *param_values, 1591s # void *invocation_hint G_GNUC_UNUSED, 1591s # void *marshal_data) 1591s # { 1591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1591s # (void *data1, 1591s # GDBusMethodInvocation *arg_method_invocation, 1591s # void *data2); 1591s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1591s # GCClosure *cc = (GCClosure*) closure; 1591s # void *data1, *data2; 1591s # gboolean v_return; 1591s # 1591s # g_return_if_fail (return_value != NULL); 1591s # g_return_if_fail (n_param_values == 2); 1591s # 1591s # if (G_CCLOSURE_SWAP_DATA (closure)) 1591s # { 1591s # data1 = closure->data; 1591s # data2 = g_value_peek_pointer (param_values + 0); 1591s # } 1591s # else 1591s # { 1591s # data1 = g_value_peek_pointer (param_values + 0); 1591s # data2 = closure->data; 1591s # } 1591s # 1591s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1591s # (marshal_data ? marshal_data : cc->callback); 1591s # 1591s # v_return = 1591s # callback (data1, 1591s # g_marshal_value_peek_object (param_values + 1), 1591s # data2); 1591s # 1591s # g_value_set_boolean (return_value, v_return); 1591s # } 1591s # 1591s # /* ------------------------------------------------------------------------ 1591s # * Code for interface org.project.Bar.Frobnicator 1591s # * ------------------------------------------------------------------------ 1591s # */ 1591s # 1591s # /** 1591s # * SECTION:OrgProjectBarFrobnicator 1591s # * @title: OrgProjectBarFrobnicator 1591s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1591s # * 1591s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1591s # */ 1591s # 1591s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1591s # 1591s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "RandomMethod", 1591s # NULL, 1591s # NULL, 1591s # NULL 1591s # }, 1591s # "handle-random-method", 1591s # FALSE 1591s # }; 1591s # 1591s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1591s # { 1591s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1591s # NULL 1591s # }; 1591s # 1591s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "org.project.Bar.Frobnicator", 1591s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1591s # NULL, 1591s # NULL, 1591s # NULL 1591s # }, 1591s # "org-project-bar-frobnicator", 1591s # }; 1591s # 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_interface_info: 1591s # * 1591s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1591s # * 1591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1591s # */ 1591s # GDBusInterfaceInfo * 1591s # org_project_bar_frobnicator_interface_info (void) 1591s # { 1591s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_override_properties: 1591s # * @klass: The class structure for a #GObject derived class. 1591s # * @property_id_begin: The property id to assign to the first overridden property. 1591s # * 1591s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1591s # * The properties are overridden in the order they are defined. 1591s # * 1591s # * Returns: The last property id. 1591s # */ 1591s # guint 1591s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1591s # { 1591s # return property_id_begin - 1; 1591s # } 1591s # 1591s # 1591s # inline static void 1591s # org_project_bar_frobnicator_method_marshal_random_method ( 1591s # GClosure *closure, 1591s # GValue *return_value, 1591s # unsigned int n_param_values, 1591s # const GValue *param_values, 1591s # void *invocation_hint, 1591s # void *marshal_data) 1591s # { 1591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1591s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1591s # } 1591s # 1591s # 1591s # /** 1591s # * OrgProjectBarFrobnicator: 1591s # * 1591s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1591s # */ 1591s # 1591s # /** 1591s # * OrgProjectBarFrobnicatorIface: 1591s # * @parent_iface: The parent interface. 1591s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1591s # * 1591s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1591s # */ 1591s # 1591s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1591s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1591s # { 1591s # /* GObject signals for incoming D-Bus method calls: */ 1591s # /** 1591s # * OrgProjectBarFrobnicator::handle-random-method: 1591s # * @object: A #OrgProjectBarFrobnicator. 1591s # * @invocation: A #GDBusMethodInvocation. 1591s # * 1591s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1591s # * 1591s # * 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. 1591s # * 1591s # * 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. 1591s # */ 1591s # g_signal_new ("handle-random-method", 1591s # G_TYPE_FROM_INTERFACE (iface), 1591s # G_SIGNAL_RUN_LAST, 1591s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1591s # g_signal_accumulator_true_handled, 1591s # NULL, 1591s # org_project_bar_frobnicator_method_marshal_random_method, 1591s # G_TYPE_BOOLEAN, 1591s # 1, 1591s # G_TYPE_DBUS_METHOD_INVOCATION); 1591s # 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_call_random_method: 1591s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1591s # * 1591s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1591s # */ 1591s # void 1591s # org_project_bar_frobnicator_call_random_method ( 1591s # OrgProjectBarFrobnicator *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1591s # "RandomMethod", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # callback, 1591s # user_data); 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_call_random_method_finish: 1591s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # org_project_bar_frobnicator_call_random_method_finish ( 1591s # OrgProjectBarFrobnicator *proxy, 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_call_random_method_sync: 1591s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1591s # * 1591s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # org_project_bar_frobnicator_call_random_method_sync ( 1591s # OrgProjectBarFrobnicator *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1591s # "RandomMethod", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_complete_random_method: 1591s # * @object: A #OrgProjectBarFrobnicator. 1591s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1591s # * 1591s # * 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. 1591s # * 1591s # * This method will free @invocation, you cannot use it afterwards. 1591s # */ 1591s # void 1591s # org_project_bar_frobnicator_complete_random_method ( 1591s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1591s # GDBusMethodInvocation *invocation) 1591s # { 1591s # g_dbus_method_invocation_return_value (invocation, 1591s # g_variant_new ("()")); 1591s # } 1591s # 1591s # /* ------------------------------------------------------------------------ */ 1591s # 1591s # /** 1591s # * OrgProjectBarFrobnicatorProxy: 1591s # * 1591s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1591s # */ 1591s # 1591s # /** 1591s # * OrgProjectBarFrobnicatorProxyClass: 1591s # * @parent_class: The parent class. 1591s # * 1591s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1591s # */ 1591s # 1591s # struct _OrgProjectBarFrobnicatorProxyPrivate 1591s # { 1591s # GData *qdata; 1591s # }; 1591s # 1591s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1591s # 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1591s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1591s # 1591s # #else 1591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1591s # 1591s # #endif 1591s # static void 1591s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1591s # { 1591s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1591s # g_datalist_clear (&proxy->priv->qdata); 1591s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1591s # guint prop_id G_GNUC_UNUSED, 1591s # GValue *value G_GNUC_UNUSED, 1591s # GParamSpec *pspec G_GNUC_UNUSED) 1591s # { 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1591s # guint prop_id G_GNUC_UNUSED, 1591s # const GValue *value G_GNUC_UNUSED, 1591s # GParamSpec *pspec G_GNUC_UNUSED) 1591s # { 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1591s # const gchar *sender_name G_GNUC_UNUSED, 1591s # const gchar *signal_name, 1591s # GVariant *parameters) 1591s # { 1591s # _ExtendedGDBusSignalInfo *info; 1591s # GVariantIter iter; 1591s # GVariant *child; 1591s # GValue *paramv; 1591s # gsize num_params; 1591s # gsize n; 1591s # guint signal_id; 1591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1591s # if (info == NULL) 1591s # return; 1591s # num_params = g_variant_n_children (parameters); 1591s # paramv = g_new0 (GValue, num_params + 1); 1591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1591s # g_value_set_object (¶mv[0], proxy); 1591s # g_variant_iter_init (&iter, parameters); 1591s # n = 1; 1591s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1591s # { 1591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1591s # if (arg_info->use_gvariant) 1591s # { 1591s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1591s # g_value_set_variant (¶mv[n], child); 1591s # n++; 1591s # } 1591s # else 1591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1591s # g_variant_unref (child); 1591s # } 1591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1591s # g_signal_emitv (paramv, signal_id, 0, NULL); 1591s # for (n = 0; n < num_params + 1; n++) 1591s # g_value_unset (¶mv[n]); 1591s # g_free (paramv); 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1591s # GVariant *changed_properties, 1591s # const gchar *const *invalidated_properties) 1591s # { 1591s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1591s # guint n; 1591s # const gchar *key; 1591s # GVariantIter *iter; 1591s # _ExtendedGDBusPropertyInfo *info; 1591s # g_variant_get (changed_properties, "a{sv}", &iter); 1591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1591s # { 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1591s # g_datalist_remove_data (&proxy->priv->qdata, key); 1591s # if (info != NULL) 1591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1591s # } 1591s # g_variant_iter_free (iter); 1591s # for (n = 0; invalidated_properties[n] != NULL; n++) 1591s # { 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1591s # if (info != NULL) 1591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1591s # } 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1591s # { 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1591s # #else 1591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1591s # #endif 1591s # 1591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1591s # { 1591s # GObjectClass *gobject_class; 1591s # GDBusProxyClass *proxy_class; 1591s # 1591s # gobject_class = G_OBJECT_CLASS (klass); 1591s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1591s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1591s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1591s # 1591s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1591s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1591s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1591s # 1591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1591s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1591s # #endif 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1591s # { 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_proxy_new: 1591s # * @connection: A #GDBusConnection. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1591s # * 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1591s # * 1591s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1591s # */ 1591s # void 1591s # org_project_bar_frobnicator_proxy_new ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # 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); 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_proxy_new_finish: 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1591s # * 1591s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # OrgProjectBarFrobnicator * 1591s # org_project_bar_frobnicator_proxy_new_finish ( 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GObject *ret; 1591s # GObject *source_object; 1591s # source_object = g_async_result_get_source_object (res); 1591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1591s # g_object_unref (source_object); 1591s # if (ret != NULL) 1591s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_proxy_new_sync: 1591s # * @connection: A #GDBusConnection. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1591s # * 1591s # * The calling thread is blocked until a reply is received. 1591s # * 1591s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1591s # * 1591s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # OrgProjectBarFrobnicator * 1591s # org_project_bar_frobnicator_proxy_new_sync ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GInitable *ret; 1591s # 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); 1591s # if (ret != NULL) 1591s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_proxy_new_for_bus: 1591s # * @bus_type: A #GBusType. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: A bus name (well-known or unique). 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1591s # * 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1591s # * 1591s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1591s # */ 1591s # void 1591s # org_project_bar_frobnicator_proxy_new_for_bus ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # 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); 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1591s # * 1591s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # OrgProjectBarFrobnicator * 1591s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GObject *ret; 1591s # GObject *source_object; 1591s # source_object = g_async_result_get_source_object (res); 1591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1591s # g_object_unref (source_object); 1591s # if (ret != NULL) 1591s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1591s # * @bus_type: A #GBusType. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: A bus name (well-known or unique). 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1591s # * 1591s # * The calling thread is blocked until a reply is received. 1591s # * 1591s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1591s # * 1591s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # OrgProjectBarFrobnicator * 1591s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GInitable *ret; 1591s # 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); 1591s # if (ret != NULL) 1591s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # 1591s # /* ------------------------------------------------------------------------ */ 1591s # 1591s # /** 1591s # * OrgProjectBarFrobnicatorSkeleton: 1591s # * 1591s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1591s # */ 1591s # 1591s # /** 1591s # * OrgProjectBarFrobnicatorSkeletonClass: 1591s # * @parent_class: The parent class. 1591s # * 1591s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1591s # */ 1591s # 1591s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1591s # { 1591s # GValue *properties; 1591s # GList *changed_properties; 1591s # GSource *changed_properties_idle_source; 1591s # GMainContext *context; 1591s # GMutex lock; 1591s # }; 1591s # 1591s # static void 1591s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1591s # GDBusConnection *connection G_GNUC_UNUSED, 1591s # const gchar *sender G_GNUC_UNUSED, 1591s # const gchar *object_path G_GNUC_UNUSED, 1591s # const gchar *interface_name, 1591s # const gchar *method_name, 1591s # GVariant *parameters, 1591s # GDBusMethodInvocation *invocation, 1591s # gpointer user_data) 1591s # { 1591s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1591s # _ExtendedGDBusMethodInfo *info; 1591s # GVariantIter iter; 1591s # GVariant *child; 1591s # GValue *paramv; 1591s # gsize num_params; 1591s # guint num_extra; 1591s # gsize n; 1591s # guint signal_id; 1591s # GValue return_value = G_VALUE_INIT; 1591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1591s # g_assert (info != NULL); 1591s # num_params = g_variant_n_children (parameters); 1591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1591s # n = 0; 1591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1591s # g_value_set_object (¶mv[n++], skeleton); 1591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1591s # g_value_set_object (¶mv[n++], invocation); 1591s # if (info->pass_fdlist) 1591s # { 1591s # #ifdef G_OS_UNIX 1591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1591s # #else 1591s # g_assert_not_reached (); 1591s # #endif 1591s # } 1591s # g_variant_iter_init (&iter, parameters); 1591s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1591s # { 1591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1591s # if (arg_info->use_gvariant) 1591s # { 1591s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1591s # g_value_set_variant (¶mv[n], child); 1591s # n++; 1591s # } 1591s # else 1591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1591s # g_variant_unref (child); 1591s # } 1591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1591s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1591s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1591s # if (!g_value_get_boolean (&return_value)) 1591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1591s # g_value_unset (&return_value); 1591s # for (n = 0; n < num_params + num_extra; n++) 1591s # g_value_unset (¶mv[n]); 1591s # g_free (paramv); 1591s # } 1591s # 1591s # static GVariant * 1591s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1591s # GDBusConnection *connection G_GNUC_UNUSED, 1591s # const gchar *sender G_GNUC_UNUSED, 1591s # const gchar *object_path G_GNUC_UNUSED, 1591s # const gchar *interface_name G_GNUC_UNUSED, 1591s # const gchar *property_name, 1591s # GError **error, 1591s # gpointer user_data) 1591s # { 1591s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1591s # GValue value = G_VALUE_INIT; 1591s # GParamSpec *pspec; 1591s # _ExtendedGDBusPropertyInfo *info; 1591s # GVariant *ret; 1591s # ret = NULL; 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1591s # g_assert (info != NULL); 1591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1591s # if (pspec == NULL) 1591s # { 1591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1591s # } 1591s # else 1591s # { 1591s # g_value_init (&value, pspec->value_type); 1591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1591s # g_value_unset (&value); 1591s # } 1591s # return ret; 1591s # } 1591s # 1591s # static gboolean 1591s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1591s # GDBusConnection *connection G_GNUC_UNUSED, 1591s # const gchar *sender G_GNUC_UNUSED, 1591s # const gchar *object_path G_GNUC_UNUSED, 1591s # const gchar *interface_name G_GNUC_UNUSED, 1591s # const gchar *property_name, 1591s # GVariant *variant, 1591s # GError **error, 1591s # gpointer user_data) 1591s # { 1591s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1591s # GValue value = G_VALUE_INIT; 1591s # GParamSpec *pspec; 1591s # _ExtendedGDBusPropertyInfo *info; 1591s # gboolean ret; 1591s # ret = FALSE; 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1591s # g_assert (info != NULL); 1591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1591s # if (pspec == NULL) 1591s # { 1591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1591s # } 1591s # else 1591s # { 1591s # if (info->use_gvariant) 1591s # g_value_set_variant (&value, variant); 1591s # else 1591s # g_dbus_gvariant_to_gvalue (variant, &value); 1591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1591s # g_value_unset (&value); 1591s # ret = TRUE; 1591s # } 1591s # return ret; 1591s # } 1591s # 1591s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1591s # { 1591s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1591s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1591s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1591s # {NULL} 1591s # }; 1591s # 1591s # static GDBusInterfaceInfo * 1591s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1591s # { 1591s # return org_project_bar_frobnicator_interface_info (); 1591s # } 1591s # 1591s # static GDBusInterfaceVTable * 1591s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1591s # { 1591s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1591s # } 1591s # 1591s # static GVariant * 1591s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1591s # { 1591s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1591s # 1591s # GVariantBuilder builder; 1591s # guint n; 1591s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1591s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1591s # goto out; 1591s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1591s # { 1591s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1591s # { 1591s # GVariant *value; 1591s # 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); 1591s # if (value != NULL) 1591s # { 1591s # g_variant_take_ref (value); 1591s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1591s # g_variant_unref (value); 1591s # } 1591s # } 1591s # } 1591s # out: 1591s # return g_variant_builder_end (&builder); 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1591s # { 1591s # } 1591s # 1591s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1591s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1591s # 1591s # #else 1591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1591s # 1591s # #endif 1591s # static void 1591s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1591s # { 1591s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1591s # if (skeleton->priv->changed_properties_idle_source != NULL) 1591s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1591s # g_main_context_unref (skeleton->priv->context); 1591s # g_mutex_clear (&skeleton->priv->lock); 1591s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1591s # { 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1591s # #else 1591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1591s # #endif 1591s # 1591s # g_mutex_init (&skeleton->priv->lock); 1591s # skeleton->priv->context = g_main_context_ref_thread_default (); 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1591s # { 1591s # GObjectClass *gobject_class; 1591s # GDBusInterfaceSkeletonClass *skeleton_class; 1591s # 1591s # gobject_class = G_OBJECT_CLASS (klass); 1591s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1591s # 1591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1591s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1591s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1591s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1591s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1591s # 1591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1591s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1591s # #endif 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1591s # { 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_skeleton_new: 1591s # * 1591s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1591s # * 1591s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1591s # */ 1591s # OrgProjectBarFrobnicator * 1591s # org_project_bar_frobnicator_skeleton_new (void) 1591s # { 1591s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1591s # } 1591s # 1591s # /* ------------------------------------------------------------------------ 1591s # * Code for interface com.acme.Coyote 1591s # * ------------------------------------------------------------------------ 1591s # */ 1591s # 1591s # /** 1591s # * SECTION:ComAcmeCoyote 1591s # * @title: ComAcmeCoyote 1591s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1591s # * 1591s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1591s # */ 1591s # 1591s # enum 1591s # { 1591s # _COM_ACME_COYOTE_SURPRISED, 1591s # }; 1591s # 1591s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1591s # 1591s # /* ---- Introspection data for com.acme.Coyote ---- */ 1591s # 1591s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "Run", 1591s # NULL, 1591s # NULL, 1591s # NULL 1591s # }, 1591s # "handle-run", 1591s # FALSE 1591s # }; 1591s # 1591s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "Sleep", 1591s # NULL, 1591s # NULL, 1591s # NULL 1591s # }, 1591s # "handle-sleep", 1591s # FALSE 1591s # }; 1591s # 1591s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "Attack", 1591s # NULL, 1591s # NULL, 1591s # NULL 1591s # }, 1591s # "handle-attack", 1591s # FALSE 1591s # }; 1591s # 1591s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1591s # { 1591s # &_com_acme_coyote_method_info_run.parent_struct, 1591s # &_com_acme_coyote_method_info_sleep.parent_struct, 1591s # &_com_acme_coyote_method_info_attack.parent_struct, 1591s # NULL 1591s # }; 1591s # 1591s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "Surprised", 1591s # NULL, 1591s # NULL 1591s # }, 1591s # "surprised" 1591s # }; 1591s # 1591s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1591s # { 1591s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1591s # NULL 1591s # }; 1591s # 1591s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "Mood", 1591s # (gchar *) "s", 1591s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1591s # NULL 1591s # }, 1591s # "mood", 1591s # FALSE, 1591s # TRUE 1591s # }; 1591s # 1591s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1591s # { 1591s # &_com_acme_coyote_property_info_mood.parent_struct, 1591s # NULL 1591s # }; 1591s # 1591s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "com.acme.Coyote", 1591s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1591s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1591s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1591s # NULL 1591s # }, 1591s # "com-acme-coyote", 1591s # }; 1591s # 1591s # 1591s # /** 1591s # * com_acme_coyote_interface_info: 1591s # * 1591s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1591s # * 1591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1591s # */ 1591s # GDBusInterfaceInfo * 1591s # com_acme_coyote_interface_info (void) 1591s # { 1591s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_override_properties: 1591s # * @klass: The class structure for a #GObject derived class. 1591s # * @property_id_begin: The property id to assign to the first overridden property. 1591s # * 1591s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1591s # * The properties are overridden in the order they are defined. 1591s # * 1591s # * Returns: The last property id. 1591s # */ 1591s # guint 1591s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1591s # { 1591s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1591s # return property_id_begin - 1; 1591s # } 1591s # 1591s # 1591s # inline static void 1591s # com_acme_coyote_signal_marshal_surprised ( 1591s # GClosure *closure, 1591s # GValue *return_value, 1591s # unsigned int n_param_values, 1591s # const GValue *param_values, 1591s # void *invocation_hint, 1591s # void *marshal_data) 1591s # { 1591s # g_cclosure_marshal_VOID__VOID (closure, 1591s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1591s # } 1591s # 1591s # inline static void 1591s # com_acme_coyote_method_marshal_run ( 1591s # GClosure *closure, 1591s # GValue *return_value, 1591s # unsigned int n_param_values, 1591s # const GValue *param_values, 1591s # void *invocation_hint, 1591s # void *marshal_data) 1591s # { 1591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1591s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1591s # } 1591s # 1591s # inline static void 1591s # com_acme_coyote_method_marshal_sleep ( 1591s # GClosure *closure, 1591s # GValue *return_value, 1591s # unsigned int n_param_values, 1591s # const GValue *param_values, 1591s # void *invocation_hint, 1591s # void *marshal_data) 1591s # { 1591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1591s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1591s # } 1591s # 1591s # inline static void 1591s # com_acme_coyote_method_marshal_attack ( 1591s # GClosure *closure, 1591s # GValue *return_value, 1591s # unsigned int n_param_values, 1591s # const GValue *param_values, 1591s # void *invocation_hint, 1591s # void *marshal_data) 1591s # { 1591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1591s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1591s # } 1591s # 1591s # 1591s # /** 1591s # * ComAcmeCoyote: 1591s # * 1591s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1591s # */ 1591s # 1591s # /** 1591s # * ComAcmeCoyoteIface: 1591s # * @parent_iface: The parent interface. 1591s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1591s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1591s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1591s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1591s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1591s # * 1591s # * Virtual table for the D-Bus interface com.acme.Coyote. 1591s # */ 1591s # 1591s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1591s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1591s # 1591s # static void 1591s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1591s # { 1591s # /* GObject signals for incoming D-Bus method calls: */ 1591s # /** 1591s # * ComAcmeCoyote::handle-run: 1591s # * @object: A #ComAcmeCoyote. 1591s # * @invocation: A #GDBusMethodInvocation. 1591s # * 1591s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1591s # * 1591s # * 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. 1591s # * 1591s # * 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. 1591s # */ 1591s # g_signal_new ("handle-run", 1591s # G_TYPE_FROM_INTERFACE (iface), 1591s # G_SIGNAL_RUN_LAST, 1591s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1591s # g_signal_accumulator_true_handled, 1591s # NULL, 1591s # com_acme_coyote_method_marshal_run, 1591s # G_TYPE_BOOLEAN, 1591s # 1, 1591s # G_TYPE_DBUS_METHOD_INVOCATION); 1591s # 1591s # /** 1591s # * ComAcmeCoyote::handle-sleep: 1591s # * @object: A #ComAcmeCoyote. 1591s # * @invocation: A #GDBusMethodInvocation. 1591s # * 1591s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1591s # * 1591s # * 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. 1591s # * 1591s # * 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. 1591s # */ 1591s # g_signal_new ("handle-sleep", 1591s # G_TYPE_FROM_INTERFACE (iface), 1591s # G_SIGNAL_RUN_LAST, 1591s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1591s # g_signal_accumulator_true_handled, 1591s # NULL, 1591s # com_acme_coyote_method_marshal_sleep, 1591s # G_TYPE_BOOLEAN, 1591s # 1, 1591s # G_TYPE_DBUS_METHOD_INVOCATION); 1591s # 1591s # /** 1591s # * ComAcmeCoyote::handle-attack: 1591s # * @object: A #ComAcmeCoyote. 1591s # * @invocation: A #GDBusMethodInvocation. 1591s # * 1591s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1591s # * 1591s # * 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. 1591s # * 1591s # * 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. 1591s # */ 1591s # g_signal_new ("handle-attack", 1591s # G_TYPE_FROM_INTERFACE (iface), 1591s # G_SIGNAL_RUN_LAST, 1591s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1591s # g_signal_accumulator_true_handled, 1591s # NULL, 1591s # com_acme_coyote_method_marshal_attack, 1591s # G_TYPE_BOOLEAN, 1591s # 1, 1591s # G_TYPE_DBUS_METHOD_INVOCATION); 1591s # 1591s # /* GObject signals for received D-Bus signals: */ 1591s # /** 1591s # * ComAcmeCoyote::surprised: 1591s # * @object: A #ComAcmeCoyote. 1591s # * 1591s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1591s # * 1591s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1591s # */ 1591s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1591s # g_signal_new ("surprised", 1591s # G_TYPE_FROM_INTERFACE (iface), 1591s # G_SIGNAL_RUN_LAST, 1591s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1591s # NULL, 1591s # NULL, 1591s # com_acme_coyote_signal_marshal_surprised, 1591s # G_TYPE_NONE, 1591s # 0); 1591s # 1591s # /* GObject properties for D-Bus properties: */ 1591s # /** 1591s # * ComAcmeCoyote:mood: 1591s # * 1591s # * Represents the D-Bus property "Mood". 1591s # * 1591s # * 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. 1591s # */ 1591s # g_object_interface_install_property (iface, 1591s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_get_mood: (skip) 1591s # * @object: A #ComAcmeCoyote. 1591s # * 1591s # * Gets the value of the "Mood" D-Bus property. 1591s # * 1591s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1591s # * 1591s # * 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. 1591s # * 1591s # * 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. 1591s # */ 1591s # const gchar * 1591s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1591s # { 1591s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1591s # 1591s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_dup_mood: (skip) 1591s # * @object: A #ComAcmeCoyote. 1591s # * 1591s # * Gets a copy of the "Mood" D-Bus property. 1591s # * 1591s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1591s # * 1591s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1591s # */ 1591s # gchar * 1591s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1591s # { 1591s # gchar *value; 1591s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1591s # return value; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_set_mood: (skip) 1591s # * @object: A #ComAcmeCoyote. 1591s # * @value: The value to set. 1591s # * 1591s # * Sets the "Mood" D-Bus property to @value. 1591s # * 1591s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1591s # */ 1591s # void 1591s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1591s # { 1591s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_emit_surprised: 1591s # * @object: A #ComAcmeCoyote. 1591s # * 1591s # * Emits the "Surprised" D-Bus signal. 1591s # */ 1591s # void 1591s # com_acme_coyote_emit_surprised ( 1591s # ComAcmeCoyote *object) 1591s # { 1591s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_run: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1591s # * 1591s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1591s # */ 1591s # void 1591s # com_acme_coyote_call_run ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1591s # "Run", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # callback, 1591s # user_data); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_run_finish: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Finishes an operation started with com_acme_coyote_call_run(). 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # com_acme_coyote_call_run_finish ( 1591s # ComAcmeCoyote *proxy, 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_run_sync: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1591s # * 1591s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # com_acme_coyote_call_run_sync ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1591s # "Run", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_sleep: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1591s # * 1591s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1591s # */ 1591s # void 1591s # com_acme_coyote_call_sleep ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1591s # "Sleep", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # callback, 1591s # user_data); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_sleep_finish: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # com_acme_coyote_call_sleep_finish ( 1591s # ComAcmeCoyote *proxy, 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_sleep_sync: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1591s # * 1591s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # com_acme_coyote_call_sleep_sync ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1591s # "Sleep", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_attack: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1591s # * 1591s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1591s # */ 1591s # void 1591s # com_acme_coyote_call_attack ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1591s # "Attack", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # callback, 1591s # user_data); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_attack_finish: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Finishes an operation started with com_acme_coyote_call_attack(). 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # com_acme_coyote_call_attack_finish ( 1591s # ComAcmeCoyote *proxy, 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_attack_sync: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1591s # * 1591s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # com_acme_coyote_call_attack_sync ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1591s # "Attack", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_complete_run: 1591s # * @object: A #ComAcmeCoyote. 1591s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1591s # * 1591s # * 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. 1591s # * 1591s # * This method will free @invocation, you cannot use it afterwards. 1591s # */ 1591s # void 1591s # com_acme_coyote_complete_run ( 1591s # ComAcmeCoyote *object G_GNUC_UNUSED, 1591s # GDBusMethodInvocation *invocation) 1591s # { 1591s # g_dbus_method_invocation_return_value (invocation, 1591s # g_variant_new ("()")); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_complete_sleep: 1591s # * @object: A #ComAcmeCoyote. 1591s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1591s # * 1591s # * 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. 1591s # * 1591s # * This method will free @invocation, you cannot use it afterwards. 1591s # */ 1591s # void 1591s # com_acme_coyote_complete_sleep ( 1591s # ComAcmeCoyote *object G_GNUC_UNUSED, 1591s # GDBusMethodInvocation *invocation) 1591s # { 1591s # g_dbus_method_invocation_return_value (invocation, 1591s # g_variant_new ("()")); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_complete_attack: 1591s # * @object: A #ComAcmeCoyote. 1591s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1591s # * 1591s # * 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. 1591s # * 1591s # * This method will free @invocation, you cannot use it afterwards. 1591s # */ 1591s # void 1591s # com_acme_coyote_complete_attack ( 1591s # ComAcmeCoyote *object G_GNUC_UNUSED, 1591s # GDBusMethodInvocation *invocation) 1591s # { 1591s # g_dbus_method_invocation_return_value (invocation, 1591s # g_variant_new ("()")); 1591s # } 1591s # 1591s # /* ------------------------------------------------------------------------ */ 1591s # 1591s # /** 1591s # * ComAcmeCoyoteProxy: 1591s # * 1591s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1591s # */ 1591s # 1591s # /** 1591s # * ComAcmeCoyoteProxyClass: 1591s # * @parent_class: The parent class. 1591s # * 1591s # * Class structure for #ComAcmeCoyoteProxy. 1591s # */ 1591s # 1591s # struct _ComAcmeCoyoteProxyPrivate 1591s # { 1591s # GData *qdata; 1591s # }; 1591s # 1591s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1591s # 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1591s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1591s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1591s # 1591s # #else 1591s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1591s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1591s # 1591s # #endif 1591s # static void 1591s # com_acme_coyote_proxy_finalize (GObject *object) 1591s # { 1591s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1591s # g_datalist_clear (&proxy->priv->qdata); 1591s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_get_property (GObject *object, 1591s # guint prop_id, 1591s # GValue *value, 1591s # GParamSpec *pspec G_GNUC_UNUSED) 1591s # { 1591s # const _ExtendedGDBusPropertyInfo *info; 1591s # GVariant *variant; 1591s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1591s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1591s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1591s # if (info->use_gvariant) 1591s # { 1591s # g_value_set_variant (value, variant); 1591s # } 1591s # else 1591s # { 1591s # if (variant != NULL) 1591s # g_dbus_gvariant_to_gvalue (variant, value); 1591s # } 1591s # if (variant != NULL) 1591s # g_variant_unref (variant); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1591s # GAsyncResult *res, 1591s # gpointer user_data) 1591s # { 1591s # const _ExtendedGDBusPropertyInfo *info = user_data; 1591s # GError *error; 1591s # GVariant *_ret; 1591s # error = NULL; 1591s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1591s # if (!_ret) 1591s # { 1591s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1591s # info->parent_struct.name, 1591s # error->message, g_quark_to_string (error->domain), error->code); 1591s # g_error_free (error); 1591s # } 1591s # else 1591s # { 1591s # g_variant_unref (_ret); 1591s # } 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_set_property (GObject *object, 1591s # guint prop_id, 1591s # const GValue *value, 1591s # GParamSpec *pspec G_GNUC_UNUSED) 1591s # { 1591s # const _ExtendedGDBusPropertyInfo *info; 1591s # GVariant *variant; 1591s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1591s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1591s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1591s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1591s # "org.freedesktop.DBus.Properties.Set", 1591s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1591s # g_variant_unref (variant); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1591s # const gchar *sender_name G_GNUC_UNUSED, 1591s # const gchar *signal_name, 1591s # GVariant *parameters) 1591s # { 1591s # _ExtendedGDBusSignalInfo *info; 1591s # GVariantIter iter; 1591s # GVariant *child; 1591s # GValue *paramv; 1591s # gsize num_params; 1591s # gsize n; 1591s # guint signal_id; 1591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1591s # if (info == NULL) 1591s # return; 1591s # num_params = g_variant_n_children (parameters); 1591s # paramv = g_new0 (GValue, num_params + 1); 1591s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1591s # g_value_set_object (¶mv[0], proxy); 1591s # g_variant_iter_init (&iter, parameters); 1591s # n = 1; 1591s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1591s # { 1591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1591s # if (arg_info->use_gvariant) 1591s # { 1591s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1591s # g_value_set_variant (¶mv[n], child); 1591s # n++; 1591s # } 1591s # else 1591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1591s # g_variant_unref (child); 1591s # } 1591s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1591s # g_signal_emitv (paramv, signal_id, 0, NULL); 1591s # for (n = 0; n < num_params + 1; n++) 1591s # g_value_unset (¶mv[n]); 1591s # g_free (paramv); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1591s # GVariant *changed_properties, 1591s # const gchar *const *invalidated_properties) 1591s # { 1591s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1591s # guint n; 1591s # const gchar *key; 1591s # GVariantIter *iter; 1591s # _ExtendedGDBusPropertyInfo *info; 1591s # g_variant_get (changed_properties, "a{sv}", &iter); 1591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1591s # { 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1591s # g_datalist_remove_data (&proxy->priv->qdata, key); 1591s # if (info != NULL) 1591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1591s # } 1591s # g_variant_iter_free (iter); 1591s # for (n = 0; invalidated_properties[n] != NULL; n++) 1591s # { 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1591s # if (info != NULL) 1591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1591s # } 1591s # } 1591s # 1591s # static const gchar * 1591s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1591s # { 1591s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1591s # GVariant *variant; 1591s # const gchar *value = NULL; 1591s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1591s # if (variant != NULL) 1591s # { 1591s # value = g_variant_get_string (variant, NULL); 1591s # g_variant_unref (variant); 1591s # } 1591s # return value; 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1591s # { 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1591s # #else 1591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1591s # #endif 1591s # 1591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1591s # { 1591s # GObjectClass *gobject_class; 1591s # GDBusProxyClass *proxy_class; 1591s # 1591s # gobject_class = G_OBJECT_CLASS (klass); 1591s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1591s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1591s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1591s # 1591s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1591s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1591s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1591s # 1591s # com_acme_coyote_override_properties (gobject_class, 1); 1591s # 1591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1591s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1591s # #endif 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1591s # { 1591s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_proxy_new: 1591s # * @connection: A #GDBusConnection. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1591s # * 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1591s # * 1591s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1591s # */ 1591s # void 1591s # com_acme_coyote_proxy_new ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # 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); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_proxy_new_finish: 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1591s # * 1591s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # ComAcmeCoyote * 1591s # com_acme_coyote_proxy_new_finish ( 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GObject *ret; 1591s # GObject *source_object; 1591s # source_object = g_async_result_get_source_object (res); 1591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1591s # g_object_unref (source_object); 1591s # if (ret != NULL) 1591s # return COM_ACME_COYOTE (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_proxy_new_sync: 1591s # * @connection: A #GDBusConnection. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1591s # * 1591s # * The calling thread is blocked until a reply is received. 1591s # * 1591s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1591s # * 1591s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # ComAcmeCoyote * 1591s # com_acme_coyote_proxy_new_sync ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GInitable *ret; 1591s # 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); 1591s # if (ret != NULL) 1591s # return COM_ACME_COYOTE (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # 1591s # /** 1591s # * com_acme_coyote_proxy_new_for_bus: 1591s # * @bus_type: A #GBusType. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: A bus name (well-known or unique). 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1591s # * 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1591s # * 1591s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1591s # */ 1591s # void 1591s # com_acme_coyote_proxy_new_for_bus ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # 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); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_proxy_new_for_bus_finish: 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1591s # * 1591s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # ComAcmeCoyote * 1591s # com_acme_coyote_proxy_new_for_bus_finish ( 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GObject *ret; 1591s # GObject *source_object; 1591s # source_object = g_async_result_get_source_object (res); 1591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1591s # g_object_unref (source_object); 1591s # if (ret != NULL) 1591s # return COM_ACME_COYOTE (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_proxy_new_for_bus_sync: 1591s # * @bus_type: A #GBusType. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: A bus name (well-known or unique). 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1591s # * 1591s # * The calling thread is blocked until a reply is received. 1591s # * 1591s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1591s # * 1591s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # ComAcmeCoyote * 1591s # com_acme_coyote_proxy_new_for_bus_sync ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GInitable *ret; 1591s # 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); 1591s # if (ret != NULL) 1591s # return COM_ACME_COYOTE (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # 1591s # /* ------------------------------------------------------------------------ */ 1591s # 1591s # /** 1591s # * ComAcmeCoyoteSkeleton: 1591s # * 1591s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1591s # */ 1591s # 1591s # /** 1591s # * ComAcmeCoyoteSkeletonClass: 1591s # * @parent_class: The parent class. 1591s # * 1591s # * Class structure for #ComAcmeCoyoteSkeleton. 1591s # */ 1591s # 1591s # struct _ComAcmeCoyoteSkeletonPrivate 1591s # { 1591s # GValue *properties; 1591s # GList *changed_properties; 1591s # GSource *changed_properties_idle_source; 1591s # GMainContext *context; 1591s # GMutex lock; 1591s # }; 1591s # 1591s # static void 1591s # _com_acme_coyote_skeleton_handle_method_call ( 1591s # GDBusConnection *connection G_GNUC_UNUSED, 1591s # const gchar *sender G_GNUC_UNUSED, 1591s # const gchar *object_path G_GNUC_UNUSED, 1591s # const gchar *interface_name, 1591s # const gchar *method_name, 1591s # GVariant *parameters, 1591s # GDBusMethodInvocation *invocation, 1591s # gpointer user_data) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1591s # _ExtendedGDBusMethodInfo *info; 1591s # GVariantIter iter; 1591s # GVariant *child; 1591s # GValue *paramv; 1591s # gsize num_params; 1591s # guint num_extra; 1591s # gsize n; 1591s # guint signal_id; 1591s # GValue return_value = G_VALUE_INIT; 1591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1591s # g_assert (info != NULL); 1591s # num_params = g_variant_n_children (parameters); 1591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1591s # n = 0; 1591s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1591s # g_value_set_object (¶mv[n++], skeleton); 1591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1591s # g_value_set_object (¶mv[n++], invocation); 1591s # if (info->pass_fdlist) 1591s # { 1591s # #ifdef G_OS_UNIX 1591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1591s # #else 1591s # g_assert_not_reached (); 1591s # #endif 1591s # } 1591s # g_variant_iter_init (&iter, parameters); 1591s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1591s # { 1591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1591s # if (arg_info->use_gvariant) 1591s # { 1591s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1591s # g_value_set_variant (¶mv[n], child); 1591s # n++; 1591s # } 1591s # else 1591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1591s # g_variant_unref (child); 1591s # } 1591s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1591s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1591s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1591s # if (!g_value_get_boolean (&return_value)) 1591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1591s # g_value_unset (&return_value); 1591s # for (n = 0; n < num_params + num_extra; n++) 1591s # g_value_unset (¶mv[n]); 1591s # g_free (paramv); 1591s # } 1591s # 1591s # static GVariant * 1591s # _com_acme_coyote_skeleton_handle_get_property ( 1591s # GDBusConnection *connection G_GNUC_UNUSED, 1591s # const gchar *sender G_GNUC_UNUSED, 1591s # const gchar *object_path G_GNUC_UNUSED, 1591s # const gchar *interface_name G_GNUC_UNUSED, 1591s # const gchar *property_name, 1591s # GError **error, 1591s # gpointer user_data) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1591s # GValue value = G_VALUE_INIT; 1591s # GParamSpec *pspec; 1591s # _ExtendedGDBusPropertyInfo *info; 1591s # GVariant *ret; 1591s # ret = NULL; 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1591s # g_assert (info != NULL); 1591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1591s # if (pspec == NULL) 1591s # { 1591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1591s # } 1591s # else 1591s # { 1591s # g_value_init (&value, pspec->value_type); 1591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1591s # g_value_unset (&value); 1591s # } 1591s # return ret; 1591s # } 1591s # 1591s # static gboolean 1591s # _com_acme_coyote_skeleton_handle_set_property ( 1591s # GDBusConnection *connection G_GNUC_UNUSED, 1591s # const gchar *sender G_GNUC_UNUSED, 1591s # const gchar *object_path G_GNUC_UNUSED, 1591s # const gchar *interface_name G_GNUC_UNUSED, 1591s # const gchar *property_name, 1591s # GVariant *variant, 1591s # GError **error, 1591s # gpointer user_data) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1591s # GValue value = G_VALUE_INIT; 1591s # GParamSpec *pspec; 1591s # _ExtendedGDBusPropertyInfo *info; 1591s # gboolean ret; 1591s # ret = FALSE; 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1591s # g_assert (info != NULL); 1591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1591s # if (pspec == NULL) 1591s # { 1591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1591s # } 1591s # else 1591s # { 1591s # if (info->use_gvariant) 1591s # g_value_set_variant (&value, variant); 1591s # else 1591s # g_dbus_gvariant_to_gvalue (variant, &value); 1591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1591s # g_value_unset (&value); 1591s # ret = TRUE; 1591s # } 1591s # return ret; 1591s # } 1591s # 1591s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1591s # { 1591s # _com_acme_coyote_skeleton_handle_method_call, 1591s # _com_acme_coyote_skeleton_handle_get_property, 1591s # _com_acme_coyote_skeleton_handle_set_property, 1591s # {NULL} 1591s # }; 1591s # 1591s # static GDBusInterfaceInfo * 1591s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1591s # { 1591s # return com_acme_coyote_interface_info (); 1591s # } 1591s # 1591s # static GDBusInterfaceVTable * 1591s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1591s # { 1591s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1591s # } 1591s # 1591s # static GVariant * 1591s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1591s # 1591s # GVariantBuilder builder; 1591s # guint n; 1591s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1591s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1591s # goto out; 1591s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1591s # { 1591s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1591s # { 1591s # GVariant *value; 1591s # 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); 1591s # if (value != NULL) 1591s # { 1591s # g_variant_take_ref (value); 1591s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1591s # g_variant_unref (value); 1591s # } 1591s # } 1591s # } 1591s # out: 1591s # return g_variant_builder_end (&builder); 1591s # } 1591s # 1591s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1591s # gboolean emit_changed = FALSE; 1591s # 1591s # g_mutex_lock (&skeleton->priv->lock); 1591s # if (skeleton->priv->changed_properties_idle_source != NULL) 1591s # { 1591s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1591s # skeleton->priv->changed_properties_idle_source = NULL; 1591s # emit_changed = TRUE; 1591s # } 1591s # g_mutex_unlock (&skeleton->priv->lock); 1591s # 1591s # if (emit_changed) 1591s # _com_acme_coyote_emit_changed (skeleton); 1591s # } 1591s # 1591s # static void 1591s # _com_acme_coyote_on_signal_surprised ( 1591s # ComAcmeCoyote *object) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1591s # 1591s # GList *connections, *l; 1591s # GVariant *signal_variant; 1591s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1591s # 1591s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1591s # for (l = connections; l != NULL; l = l->next) 1591s # { 1591s # GDBusConnection *connection = l->data; 1591s # g_dbus_connection_emit_signal (connection, 1591s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1591s # signal_variant, NULL); 1591s # } 1591s # g_variant_unref (signal_variant); 1591s # g_list_free_full (connections, g_object_unref); 1591s # } 1591s # 1591s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1591s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1591s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1591s # 1591s # #else 1591s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1591s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1591s # 1591s # #endif 1591s # static void 1591s # com_acme_coyote_skeleton_finalize (GObject *object) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1591s # guint n; 1591s # for (n = 0; n < 1; n++) 1591s # g_value_unset (&skeleton->priv->properties[n]); 1591s # g_free (skeleton->priv->properties); 1591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1591s # if (skeleton->priv->changed_properties_idle_source != NULL) 1591s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1591s # g_main_context_unref (skeleton->priv->context); 1591s # g_mutex_clear (&skeleton->priv->lock); 1591s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_get_property (GObject *object, 1591s # guint prop_id, 1591s # GValue *value, 1591s # GParamSpec *pspec G_GNUC_UNUSED) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1591s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1591s # g_mutex_lock (&skeleton->priv->lock); 1591s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1591s # g_mutex_unlock (&skeleton->priv->lock); 1591s # } 1591s # 1591s # static gboolean 1591s # _com_acme_coyote_emit_changed (gpointer user_data) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1591s # GList *l; 1591s # GVariantBuilder builder; 1591s # GVariantBuilder invalidated_builder; 1591s # guint num_changes; 1591s # 1591s # g_mutex_lock (&skeleton->priv->lock); 1591s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1591s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1591s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1591s # { 1591s # ChangedProperty *cp = l->data; 1591s # GVariant *variant; 1591s # const GValue *cur_value; 1591s # 1591s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1591s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1591s # { 1591s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1591s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1591s # g_variant_unref (variant); 1591s # num_changes++; 1591s # } 1591s # } 1591s # if (num_changes > 0) 1591s # { 1591s # GList *connections, *ll; 1591s # GVariant *signal_variant; 1591s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1591s # &builder, &invalidated_builder)); 1591s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1591s # for (ll = connections; ll != NULL; ll = ll->next) 1591s # { 1591s # GDBusConnection *connection = ll->data; 1591s # 1591s # g_dbus_connection_emit_signal (connection, 1591s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1591s # "org.freedesktop.DBus.Properties", 1591s # "PropertiesChanged", 1591s # signal_variant, 1591s # NULL); 1591s # } 1591s # g_variant_unref (signal_variant); 1591s # g_list_free_full (connections, g_object_unref); 1591s # } 1591s # else 1591s # { 1591s # g_variant_builder_clear (&builder); 1591s # g_variant_builder_clear (&invalidated_builder); 1591s # } 1591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1591s # skeleton->priv->changed_properties = NULL; 1591s # skeleton->priv->changed_properties_idle_source = NULL; 1591s # g_mutex_unlock (&skeleton->priv->lock); 1591s # return FALSE; 1591s # } 1591s # 1591s # static void 1591s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1591s # { 1591s # ChangedProperty *cp; 1591s # GList *l; 1591s # cp = NULL; 1591s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1591s # { 1591s # ChangedProperty *i_cp = l->data; 1591s # if (i_cp->info == info) 1591s # { 1591s # cp = i_cp; 1591s # break; 1591s # } 1591s # } 1591s # if (cp == NULL) 1591s # { 1591s # cp = g_new0 (ChangedProperty, 1); 1591s # cp->prop_id = prop_id; 1591s # cp->info = info; 1591s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1591s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1591s # g_value_copy (orig_value, &cp->orig_value); 1591s # } 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_notify (GObject *object, 1591s # GParamSpec *pspec G_GNUC_UNUSED) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1591s # g_mutex_lock (&skeleton->priv->lock); 1591s # if (skeleton->priv->changed_properties != NULL && 1591s # skeleton->priv->changed_properties_idle_source == NULL) 1591s # { 1591s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1591s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1591s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1591s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1591s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1591s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1591s # } 1591s # g_mutex_unlock (&skeleton->priv->lock); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_set_property (GObject *object, 1591s # guint prop_id, 1591s # const GValue *value, 1591s # GParamSpec *pspec) 1591s # { 1591s # const _ExtendedGDBusPropertyInfo *info; 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1591s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1591s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1591s # g_mutex_lock (&skeleton->priv->lock); 1591s # g_object_freeze_notify (object); 1591s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1591s # { 1591s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1591s # info->emits_changed_signal) 1591s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1591s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1591s # g_object_notify_by_pspec (object, pspec); 1591s # } 1591s # g_mutex_unlock (&skeleton->priv->lock); 1591s # g_object_thaw_notify (object); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1591s # { 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1591s # #else 1591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1591s # #endif 1591s # 1591s # g_mutex_init (&skeleton->priv->lock); 1591s # skeleton->priv->context = g_main_context_ref_thread_default (); 1591s # skeleton->priv->properties = g_new0 (GValue, 1); 1591s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1591s # } 1591s # 1591s # static const gchar * 1591s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1591s # const gchar *value; 1591s # g_mutex_lock (&skeleton->priv->lock); 1591s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1591s # g_mutex_unlock (&skeleton->priv->lock); 1591s # return value; 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1591s # { 1591s # GObjectClass *gobject_class; 1591s # GDBusInterfaceSkeletonClass *skeleton_class; 1591s # 1591s # gobject_class = G_OBJECT_CLASS (klass); 1591s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1591s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1591s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1591s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1591s # 1591s # 1591s # com_acme_coyote_override_properties (gobject_class, 1); 1591s # 1591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1591s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1591s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1591s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1591s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1591s # 1591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1591s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1591s # #endif 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1591s # { 1591s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1591s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_skeleton_new: 1591s # * 1591s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1591s # * 1591s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1591s # */ 1591s # ComAcmeCoyote * 1591s # com_acme_coyote_skeleton_new (void) 1591s # { 1591s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1591s # } 1591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7srwg1nr/tmpjtqfd53j2.xml', '/tmp/tmp7srwg1nr/tmpsbd4qgq_1.xml', '--output', '-', '--body'] 1591s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1591s # Output: /* 1591s # * This file is generated by gdbus-codegen, do not modify it. 1591s # * 1591s # * The license of this code is the same as for the D-Bus interface description 1591s # * it was derived from. Note that it links to GLib, so must comply with the 1591s # * LGPL linking clauses. 1591s # */ 1591s # 1591s # #ifdef HAVE_CONFIG_H 1591s # # include "config.h" 1591s # #endif 1591s # 1591s # #include 1591s # #ifdef G_OS_UNIX 1591s # # include 1591s # #endif 1591s # 1591s # #ifdef G_ENABLE_DEBUG 1591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1591s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1591s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1591s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1591s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1591s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1591s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1591s # #else /* !G_ENABLE_DEBUG */ 1591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1591s # * Do not access GValues directly in your code. Instead, use the 1591s # * g_value_get_*() functions 1591s # */ 1591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1591s # #endif /* !G_ENABLE_DEBUG */ 1591s # 1591s # typedef struct 1591s # { 1591s # GDBusArgInfo parent_struct; 1591s # gboolean use_gvariant; 1591s # } _ExtendedGDBusArgInfo; 1591s # 1591s # typedef struct 1591s # { 1591s # GDBusMethodInfo parent_struct; 1591s # const gchar *signal_name; 1591s # gboolean pass_fdlist; 1591s # } _ExtendedGDBusMethodInfo; 1591s # 1591s # typedef struct 1591s # { 1591s # GDBusSignalInfo parent_struct; 1591s # const gchar *signal_name; 1591s # } _ExtendedGDBusSignalInfo; 1591s # 1591s # typedef struct 1591s # { 1591s # GDBusPropertyInfo parent_struct; 1591s # const gchar *hyphen_name; 1591s # guint use_gvariant : 1; 1591s # guint emits_changed_signal : 1; 1591s # } _ExtendedGDBusPropertyInfo; 1591s # 1591s # typedef struct 1591s # { 1591s # GDBusInterfaceInfo parent_struct; 1591s # const gchar *hyphen_name; 1591s # } _ExtendedGDBusInterfaceInfo; 1591s # 1591s # typedef struct 1591s # { 1591s # const _ExtendedGDBusPropertyInfo *info; 1591s # guint prop_id; 1591s # GValue orig_value; /* the value before the change */ 1591s # } ChangedProperty; 1591s # 1591s # static void 1591s # _changed_property_free (ChangedProperty *data) 1591s # { 1591s # g_value_unset (&data->orig_value); 1591s # g_free (data); 1591s # } 1591s # 1591s # static gboolean 1591s # _g_strv_equal0 (gchar **a, gchar **b) 1591s # { 1591s # gboolean ret = FALSE; 1591s # guint n; 1591s # if (a == NULL && b == NULL) 1591s # { 1591s # ret = TRUE; 1591s # goto out; 1591s # } 1591s # if (a == NULL || b == NULL) 1591s # goto out; 1591s # if (g_strv_length (a) != g_strv_length (b)) 1591s # goto out; 1591s # for (n = 0; a[n] != NULL; n++) 1591s # if (g_strcmp0 (a[n], b[n]) != 0) 1591s # goto out; 1591s # ret = TRUE; 1591s # out: 1591s # return ret; 1591s # } 1591s # 1591s # static gboolean 1591s # _g_variant_equal0 (GVariant *a, GVariant *b) 1591s # { 1591s # gboolean ret = FALSE; 1591s # if (a == NULL && b == NULL) 1591s # { 1591s # ret = TRUE; 1591s # goto out; 1591s # } 1591s # if (a == NULL || b == NULL) 1591s # goto out; 1591s # ret = g_variant_equal (a, b); 1591s # out: 1591s # return ret; 1591s # } 1591s # 1591s # G_GNUC_UNUSED static gboolean 1591s # _g_value_equal (const GValue *a, const GValue *b) 1591s # { 1591s # gboolean ret = FALSE; 1591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1591s # switch (G_VALUE_TYPE (a)) 1591s # { 1591s # case G_TYPE_BOOLEAN: 1591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1591s # break; 1591s # case G_TYPE_UCHAR: 1591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1591s # break; 1591s # case G_TYPE_INT: 1591s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1591s # break; 1591s # case G_TYPE_UINT: 1591s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1591s # break; 1591s # case G_TYPE_INT64: 1591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1591s # break; 1591s # case G_TYPE_UINT64: 1591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1591s # break; 1591s # case G_TYPE_DOUBLE: 1591s # { 1591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1591s # gdouble da = g_value_get_double (a); 1591s # gdouble db = g_value_get_double (b); 1591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1591s # } 1591s # break; 1591s # case G_TYPE_STRING: 1591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1591s # break; 1591s # case G_TYPE_VARIANT: 1591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1591s # break; 1591s # default: 1591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1591s # else 1591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1591s # break; 1591s # } 1591s # return ret; 1591s # } 1591s # 1591s # static void 1591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1591s # GClosure *closure, 1591s # GValue *return_value, 1591s # unsigned int n_param_values, 1591s # const GValue *param_values, 1591s # void *invocation_hint G_GNUC_UNUSED, 1591s # void *marshal_data) 1591s # { 1591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1591s # (void *data1, 1591s # GDBusMethodInvocation *arg_method_invocation, 1591s # void *data2); 1591s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1591s # GCClosure *cc = (GCClosure*) closure; 1591s # void *data1, *data2; 1591s # gboolean v_return; 1591s # 1591s # g_return_if_fail (return_value != NULL); 1591s # g_return_if_fail (n_param_values == 2); 1591s # 1591s # if (G_CCLOSURE_SWAP_DATA (closure)) 1591s # { 1591s # data1 = closure->data; 1591s # data2 = g_value_peek_pointer (param_values + 0); 1591s # } 1591s # else 1591s # { 1591s # data1 = g_value_peek_pointer (param_values + 0); 1591s # data2 = closure->data; 1591s # } 1591s # 1591s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1591s # (marshal_data ? marshal_data : cc->callback); 1591s # 1591s # v_return = 1591s # callback (data1, 1591s # g_marshal_value_peek_object (param_values + 1), 1591s # data2); 1591s # 1591s # g_value_set_boolean (return_value, v_return); 1591s # } 1591s # 1591s # /* ------------------------------------------------------------------------ 1591s # * Code for interface org.project.Bar.Frobnicator 1591s # * ------------------------------------------------------------------------ 1591s # */ 1591s # 1591s # /** 1591s # * SECTION:OrgProjectBarFrobnicator 1591s # * @title: OrgProjectBarFrobnicator 1591s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1591s # * 1591s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1591s # */ 1591s # 1591s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1591s # 1591s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "RandomMethod", 1591s # NULL, 1591s # NULL, 1591s # NULL 1591s # }, 1591s # "handle-random-method", 1591s # FALSE 1591s # }; 1591s # 1591s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1591s # { 1591s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1591s # NULL 1591s # }; 1591s # 1591s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "org.project.Bar.Frobnicator", 1591s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1591s # NULL, 1591s # NULL, 1591s # NULL 1591s # }, 1591s # "org-project-bar-frobnicator", 1591s # }; 1591s # 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_interface_info: 1591s # * 1591s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1591s # * 1591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1591s # */ 1591s # GDBusInterfaceInfo * 1591s # org_project_bar_frobnicator_interface_info (void) 1591s # { 1591s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_override_properties: 1591s # * @klass: The class structure for a #GObject derived class. 1591s # * @property_id_begin: The property id to assign to the first overridden property. 1591s # * 1591s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1591s # * The properties are overridden in the order they are defined. 1591s # * 1591s # * Returns: The last property id. 1591s # */ 1591s # guint 1591s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1591s # { 1591s # return property_id_begin - 1; 1591s # } 1591s # 1591s # 1591s # inline static void 1591s # org_project_bar_frobnicator_method_marshal_random_method ( 1591s # GClosure *closure, 1591s # GValue *return_value, 1591s # unsigned int n_param_values, 1591s # const GValue *param_values, 1591s # void *invocation_hint, 1591s # void *marshal_data) 1591s # { 1591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1591s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1591s # } 1591s # 1591s # 1591s # /** 1591s # * OrgProjectBarFrobnicator: 1591s # * 1591s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1591s # */ 1591s # 1591s # /** 1591s # * OrgProjectBarFrobnicatorIface: 1591s # * @parent_iface: The parent interface. 1591s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1591s # * 1591s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1591s # */ 1591s # 1591s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1591s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1591s # { 1591s # /* GObject signals for incoming D-Bus method calls: */ 1591s # /** 1591s # * OrgProjectBarFrobnicator::handle-random-method: 1591s # * @object: A #OrgProjectBarFrobnicator. 1591s # * @invocation: A #GDBusMethodInvocation. 1591s # * 1591s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1591s # * 1591s # * 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. 1591s # * 1591s # * 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. 1591s # */ 1591s # g_signal_new ("handle-random-method", 1591s # G_TYPE_FROM_INTERFACE (iface), 1591s # G_SIGNAL_RUN_LAST, 1591s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1591s # g_signal_accumulator_true_handled, 1591s # NULL, 1591s # org_project_bar_frobnicator_method_marshal_random_method, 1591s # G_TYPE_BOOLEAN, 1591s # 1, 1591s # G_TYPE_DBUS_METHOD_INVOCATION); 1591s # 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_call_random_method: 1591s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1591s # * 1591s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1591s # */ 1591s # void 1591s # org_project_bar_frobnicator_call_random_method ( 1591s # OrgProjectBarFrobnicator *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1591s # "RandomMethod", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # callback, 1591s # user_data); 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_call_random_method_finish: 1591s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # org_project_bar_frobnicator_call_random_method_finish ( 1591s # OrgProjectBarFrobnicator *proxy, 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_call_random_method_sync: 1591s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1591s # * 1591s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # org_project_bar_frobnicator_call_random_method_sync ( 1591s # OrgProjectBarFrobnicator *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1591s # "RandomMethod", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_complete_random_method: 1591s # * @object: A #OrgProjectBarFrobnicator. 1591s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1591s # * 1591s # * 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. 1591s # * 1591s # * This method will free @invocation, you cannot use it afterwards. 1591s # */ 1591s # void 1591s # org_project_bar_frobnicator_complete_random_method ( 1591s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1591s # GDBusMethodInvocation *invocation) 1591s # { 1591s # g_dbus_method_invocation_return_value (invocation, 1591s # g_variant_new ("()")); 1591s # } 1591s # 1591s # /* ------------------------------------------------------------------------ */ 1591s # 1591s # /** 1591s # * OrgProjectBarFrobnicatorProxy: 1591s # * 1591s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1591s # */ 1591s # 1591s # /** 1591s # * OrgProjectBarFrobnicatorProxyClass: 1591s # * @parent_class: The parent class. 1591s # * 1591s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1591s # */ 1591s # 1591s # struct _OrgProjectBarFrobnicatorProxyPrivate 1591s # { 1591s # GData *qdata; 1591s # }; 1591s # 1591s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1591s # 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1591s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1591s # 1591s # #else 1591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1591s # 1591s # #endif 1591s # static void 1591s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1591s # { 1591s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1591s # g_datalist_clear (&proxy->priv->qdata); 1591s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1591s # guint prop_id G_GNUC_UNUSED, 1591s # GValue *value G_GNUC_UNUSED, 1591s # GParamSpec *pspec G_GNUC_UNUSED) 1591s # { 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1591s # guint prop_id G_GNUC_UNUSED, 1591s # const GValue *value G_GNUC_UNUSED, 1591s # GParamSpec *pspec G_GNUC_UNUSED) 1591s # { 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1591s # const gchar *sender_name G_GNUC_UNUSED, 1591s # const gchar *signal_name, 1591s # GVariant *parameters) 1591s # { 1591s # _ExtendedGDBusSignalInfo *info; 1591s # GVariantIter iter; 1591s # GVariant *child; 1591s # GValue *paramv; 1591s # gsize num_params; 1591s # gsize n; 1591s # guint signal_id; 1591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1591s # if (info == NULL) 1591s # return; 1591s # num_params = g_variant_n_children (parameters); 1591s # paramv = g_new0 (GValue, num_params + 1); 1591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1591s # g_value_set_object (¶mv[0], proxy); 1591s # g_variant_iter_init (&iter, parameters); 1591s # n = 1; 1591s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1591s # { 1591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1591s # if (arg_info->use_gvariant) 1591s # { 1591s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1591s # g_value_set_variant (¶mv[n], child); 1591s # n++; 1591s # } 1591s # else 1591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1591s # g_variant_unref (child); 1591s # } 1591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1591s # g_signal_emitv (paramv, signal_id, 0, NULL); 1591s # for (n = 0; n < num_params + 1; n++) 1591s # g_value_unset (¶mv[n]); 1591s # g_free (paramv); 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1591s # GVariant *changed_properties, 1591s # const gchar *const *invalidated_properties) 1591s # { 1591s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1591s # guint n; 1591s # const gchar *key; 1591s # GVariantIter *iter; 1591s # _ExtendedGDBusPropertyInfo *info; 1591s # g_variant_get (changed_properties, "a{sv}", &iter); 1591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1591s # { 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1591s # g_datalist_remove_data (&proxy->priv->qdata, key); 1591s # if (info != NULL) 1591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1591s # } 1591s # g_variant_iter_free (iter); 1591s # for (n = 0; invalidated_properties[n] != NULL; n++) 1591s # { 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1591s # if (info != NULL) 1591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1591s # } 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1591s # { 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1591s # #else 1591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1591s # #endif 1591s # 1591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1591s # { 1591s # GObjectClass *gobject_class; 1591s # GDBusProxyClass *proxy_class; 1591s # 1591s # gobject_class = G_OBJECT_CLASS (klass); 1591s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1591s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1591s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1591s # 1591s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1591s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1591s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1591s # 1591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1591s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1591s # #endif 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1591s # { 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_proxy_new: 1591s # * @connection: A #GDBusConnection. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1591s # * 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1591s # * 1591s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1591s # */ 1591s # void 1591s # org_project_bar_frobnicator_proxy_new ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # 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); 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_proxy_new_finish: 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1591s # * 1591s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # OrgProjectBarFrobnicator * 1591s # org_project_bar_frobnicator_proxy_new_finish ( 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GObject *ret; 1591s # GObject *source_object; 1591s # source_object = g_async_result_get_source_object (res); 1591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1591s # g_object_unref (source_object); 1591s # if (ret != NULL) 1591s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_proxy_new_sync: 1591s # * @connection: A #GDBusConnection. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1591s # * 1591s # * The calling thread is blocked until a reply is received. 1591s # * 1591s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1591s # * 1591s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # OrgProjectBarFrobnicator * 1591s # org_project_bar_frobnicator_proxy_new_sync ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GInitable *ret; 1591s # 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); 1591s # if (ret != NULL) 1591s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_proxy_new_for_bus: 1591s # * @bus_type: A #GBusType. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: A bus name (well-known or unique). 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1591s # * 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1591s # * 1591s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1591s # */ 1591s # void 1591s # org_project_bar_frobnicator_proxy_new_for_bus ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # 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); 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1591s # * 1591s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # OrgProjectBarFrobnicator * 1591s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GObject *ret; 1591s # GObject *source_object; 1591s # source_object = g_async_result_get_source_object (res); 1591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1591s # g_object_unref (source_object); 1591s # if (ret != NULL) 1591s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1591s # * @bus_type: A #GBusType. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: A bus name (well-known or unique). 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1591s # * 1591s # * The calling thread is blocked until a reply is received. 1591s # * 1591s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1591s # * 1591s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # OrgProjectBarFrobnicator * 1591s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GInitable *ret; 1591s # 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); 1591s # if (ret != NULL) 1591s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # 1591s # /* ------------------------------------------------------------------------ */ 1591s # 1591s # /** 1591s # * OrgProjectBarFrobnicatorSkeleton: 1591s # * 1591s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1591s # */ 1591s # 1591s # /** 1591s # * OrgProjectBarFrobnicatorSkeletonClass: 1591s # * @parent_class: The parent class. 1591s # * 1591s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1591s # */ 1591s # 1591s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1591s # { 1591s # GValue *properties; 1591s # GList *changed_properties; 1591s # GSource *changed_properties_idle_source; 1591s # GMainContext *context; 1591s # GMutex lock; 1591s # }; 1591s # 1591s # static void 1591s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1591s # GDBusConnection *connection G_GNUC_UNUSED, 1591s # const gchar *sender G_GNUC_UNUSED, 1591s # const gchar *object_path G_GNUC_UNUSED, 1591s # const gchar *interface_name, 1591s # const gchar *method_name, 1591s # GVariant *parameters, 1591s # GDBusMethodInvocation *invocation, 1591s # gpointer user_data) 1591s # { 1591s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1591s # _ExtendedGDBusMethodInfo *info; 1591s # GVariantIter iter; 1591s # GVariant *child; 1591s # GValue *paramv; 1591s # gsize num_params; 1591s # guint num_extra; 1591s # gsize n; 1591s # guint signal_id; 1591s # GValue return_value = G_VALUE_INIT; 1591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1591s # g_assert (info != NULL); 1591s # num_params = g_variant_n_children (parameters); 1591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1591s # n = 0; 1591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1591s # g_value_set_object (¶mv[n++], skeleton); 1591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1591s # g_value_set_object (¶mv[n++], invocation); 1591s # if (info->pass_fdlist) 1591s # { 1591s # #ifdef G_OS_UNIX 1591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1591s # #else 1591s # g_assert_not_reached (); 1591s # #endif 1591s # } 1591s # g_variant_iter_init (&iter, parameters); 1591s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1591s # { 1591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1591s # if (arg_info->use_gvariant) 1591s # { 1591s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1591s # g_value_set_variant (¶mv[n], child); 1591s # n++; 1591s # } 1591s # else 1591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1591s # g_variant_unref (child); 1591s # } 1591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1591s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1591s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1591s # if (!g_value_get_boolean (&return_value)) 1591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1591s # g_value_unset (&return_value); 1591s # for (n = 0; n < num_params + num_extra; n++) 1591s # g_value_unset (¶mv[n]); 1591s # g_free (paramv); 1591s # } 1591s # 1591s # static GVariant * 1591s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1591s # GDBusConnection *connection G_GNUC_UNUSED, 1591s # const gchar *sender G_GNUC_UNUSED, 1591s # const gchar *object_path G_GNUC_UNUSED, 1591s # const gchar *interface_name G_GNUC_UNUSED, 1591s # const gchar *property_name, 1591s # GError **error, 1591s # gpointer user_data) 1591s # { 1591s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1591s # GValue value = G_VALUE_INIT; 1591s # GParamSpec *pspec; 1591s # _ExtendedGDBusPropertyInfo *info; 1591s # GVariant *ret; 1591s # ret = NULL; 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1591s # g_assert (info != NULL); 1591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1591s # if (pspec == NULL) 1591s # { 1591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1591s # } 1591s # else 1591s # { 1591s # g_value_init (&value, pspec->value_type); 1591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1591s # g_value_unset (&value); 1591s # } 1591s # return ret; 1591s # } 1591s # 1591s # static gboolean 1591s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1591s # GDBusConnection *connection G_GNUC_UNUSED, 1591s # const gchar *sender G_GNUC_UNUSED, 1591s # const gchar *object_path G_GNUC_UNUSED, 1591s # const gchar *interface_name G_GNUC_UNUSED, 1591s # const gchar *property_name, 1591s # GVariant *variant, 1591s # GError **error, 1591s # gpointer user_data) 1591s # { 1591s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1591s # GValue value = G_VALUE_INIT; 1591s # GParamSpec *pspec; 1591s # _ExtendedGDBusPropertyInfo *info; 1591s # gboolean ret; 1591s # ret = FALSE; 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1591s # g_assert (info != NULL); 1591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1591s # if (pspec == NULL) 1591s # { 1591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1591s # } 1591s # else 1591s # { 1591s # if (info->use_gvariant) 1591s # g_value_set_variant (&value, variant); 1591s # else 1591s # g_dbus_gvariant_to_gvalue (variant, &value); 1591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1591s # g_value_unset (&value); 1591s # ret = TRUE; 1591s # } 1591s # return ret; 1591s # } 1591s # 1591s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1591s # { 1591s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1591s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1591s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1591s # {NULL} 1591s # }; 1591s # 1591s # static GDBusInterfaceInfo * 1591s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1591s # { 1591s # return org_project_bar_frobnicator_interface_info (); 1591s # } 1591s # 1591s # static GDBusInterfaceVTable * 1591s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1591s # { 1591s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1591s # } 1591s # 1591s # static GVariant * 1591s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1591s # { 1591s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1591s # 1591s # GVariantBuilder builder; 1591s # guint n; 1591s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1591s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1591s # goto out; 1591s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1591s # { 1591s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1591s # { 1591s # GVariant *value; 1591s # 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); 1591s # if (value != NULL) 1591s # { 1591s # g_variant_take_ref (value); 1591s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1591s # g_variant_unref (value); 1591s # } 1591s # } 1591s # } 1591s # out: 1591s # return g_variant_builder_end (&builder); 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1591s # { 1591s # } 1591s # 1591s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1591s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1591s # 1591s # #else 1591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1591s # 1591s # #endif 1591s # static void 1591s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1591s # { 1591s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1591s # if (skeleton->priv->changed_properties_idle_source != NULL) 1591s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1591s # g_main_context_unref (skeleton->priv->context); 1591s # g_mutex_clear (&skeleton->priv->lock); 1591s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1591s # { 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1591s # #else 1591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1591s # #endif 1591s # 1591s # g_mutex_init (&skeleton->priv->lock); 1591s # skeleton->priv->context = g_main_context_ref_thread_default (); 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1591s # { 1591s # GObjectClass *gobject_class; 1591s # GDBusInterfaceSkeletonClass *skeleton_class; 1591s # 1591s # gobject_class = G_OBJECT_CLASS (klass); 1591s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1591s # 1591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1591s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1591s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1591s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1591s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1591s # 1591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1591s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1591s # #endif 1591s # } 1591s # 1591s # static void 1591s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1591s # { 1591s # } 1591s # 1591s # /** 1591s # * org_project_bar_frobnicator_skeleton_new: 1591s # * 1591s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1591s # * 1591s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1591s # */ 1591s # OrgProjectBarFrobnicator * 1591s # org_project_bar_frobnicator_skeleton_new (void) 1591s # { 1591s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1591s # } 1591s # 1591s # /* ------------------------------------------------------------------------ 1591s # * Code for interface com.acme.Coyote 1591s # * ------------------------------------------------------------------------ 1591s # */ 1591s # 1591s # /** 1591s # * SECTION:ComAcmeCoyote 1591s # * @title: ComAcmeCoyote 1591s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1591s # * 1591s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1591s # */ 1591s # 1591s # enum 1591s # { 1591s # _COM_ACME_COYOTE_SURPRISED, 1591s # }; 1591s # 1591s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1591s # 1591s # /* ---- Introspection data for com.acme.Coyote ---- */ 1591s # 1591s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "Run", 1591s # NULL, 1591s # NULL, 1591s # NULL 1591s # }, 1591s # "handle-run", 1591s # FALSE 1591s # }; 1591s # 1591s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "Sleep", 1591s # NULL, 1591s # NULL, 1591s # NULL 1591s # }, 1591s # "handle-sleep", 1591s # FALSE 1591s # }; 1591s # 1591s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "Attack", 1591s # NULL, 1591s # NULL, 1591s # NULL 1591s # }, 1591s # "handle-attack", 1591s # FALSE 1591s # }; 1591s # 1591s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1591s # { 1591s # &_com_acme_coyote_method_info_run.parent_struct, 1591s # &_com_acme_coyote_method_info_sleep.parent_struct, 1591s # &_com_acme_coyote_method_info_attack.parent_struct, 1591s # NULL 1591s # }; 1591s # 1591s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "Surprised", 1591s # NULL, 1591s # NULL 1591s # }, 1591s # "surprised" 1591s # }; 1591s # 1591s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1591s # { 1591s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1591s # NULL 1591s # }; 1591s # 1591s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "Mood", 1591s # (gchar *) "s", 1591s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1591s # NULL 1591s # }, 1591s # "mood", 1591s # FALSE, 1591s # TRUE 1591s # }; 1591s # 1591s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1591s # { 1591s # &_com_acme_coyote_property_info_mood.parent_struct, 1591s # NULL 1591s # }; 1591s # 1591s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1591s # { 1591s # { 1591s # -1, 1591s # (gchar *) "com.acme.Coyote", 1591s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1591s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1591s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1591s # NULL 1591s # }, 1591s # "com-acme-coyote", 1591s # }; 1591s # 1591s # 1591s # /** 1591s # * com_acme_coyote_interface_info: 1591s # * 1591s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1591s # * 1591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1591s # */ 1591s # GDBusInterfaceInfo * 1591s # com_acme_coyote_interface_info (void) 1591s # { 1591s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_override_properties: 1591s # * @klass: The class structure for a #GObject derived class. 1591s # * @property_id_begin: The property id to assign to the first overridden property. 1591s # * 1591s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1591s # * The properties are overridden in the order they are defined. 1591s # * 1591s # * Returns: The last property id. 1591s # */ 1591s # guint 1591s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1591s # { 1591s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1591s # return property_id_begin - 1; 1591s # } 1591s # 1591s # 1591s # inline static void 1591s # com_acme_coyote_signal_marshal_surprised ( 1591s # GClosure *closure, 1591s # GValue *return_value, 1591s # unsigned int n_param_values, 1591s # const GValue *param_values, 1591s # void *invocation_hint, 1591s # void *marshal_data) 1591s # { 1591s # g_cclosure_marshal_VOID__VOID (closure, 1591s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1591s # } 1591s # 1591s # inline static void 1591s # com_acme_coyote_method_marshal_run ( 1591s # GClosure *closure, 1591s # GValue *return_value, 1591s # unsigned int n_param_values, 1591s # const GValue *param_values, 1591s # void *invocation_hint, 1591s # void *marshal_data) 1591s # { 1591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1591s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1591s # } 1591s # 1591s # inline static void 1591s # com_acme_coyote_method_marshal_sleep ( 1591s # GClosure *closure, 1591s # GValue *return_value, 1591s # unsigned int n_param_values, 1591s # const GValue *param_values, 1591s # void *invocation_hint, 1591s # void *marshal_data) 1591s # { 1591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1591s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1591s # } 1591s # 1591s # inline static void 1591s # com_acme_coyote_method_marshal_attack ( 1591s # GClosure *closure, 1591s # GValue *return_value, 1591s # unsigned int n_param_values, 1591s # const GValue *param_values, 1591s # void *invocation_hint, 1591s # void *marshal_data) 1591s # { 1591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1591s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1591s # } 1591s # 1591s # 1591s # /** 1591s # * ComAcmeCoyote: 1591s # * 1591s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1591s # */ 1591s # 1591s # /** 1591s # * ComAcmeCoyoteIface: 1591s # * @parent_iface: The parent interface. 1591s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1591s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1591s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1591s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1591s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1591s # * 1591s # * Virtual table for the D-Bus interface com.acme.Coyote. 1591s # */ 1591s # 1591s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1591s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1591s # 1591s # static void 1591s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1591s # { 1591s # /* GObject signals for incoming D-Bus method calls: */ 1591s # /** 1591s # * ComAcmeCoyote::handle-run: 1591s # * @object: A #ComAcmeCoyote. 1591s # * @invocation: A #GDBusMethodInvocation. 1591s # * 1591s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1591s # * 1591s # * 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. 1591s # * 1591s # * 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. 1591s # */ 1591s # g_signal_new ("handle-run", 1591s # G_TYPE_FROM_INTERFACE (iface), 1591s # G_SIGNAL_RUN_LAST, 1591s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1591s # g_signal_accumulator_true_handled, 1591s # NULL, 1591s # com_acme_coyote_method_marshal_run, 1591s # G_TYPE_BOOLEAN, 1591s # 1, 1591s # G_TYPE_DBUS_METHOD_INVOCATION); 1591s # 1591s # /** 1591s # * ComAcmeCoyote::handle-sleep: 1591s # * @object: A #ComAcmeCoyote. 1591s # * @invocation: A #GDBusMethodInvocation. 1591s # * 1591s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1591s # * 1591s # * 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. 1591s # * 1591s # * 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. 1591s # */ 1591s # g_signal_new ("handle-sleep", 1591s # G_TYPE_FROM_INTERFACE (iface), 1591s # G_SIGNAL_RUN_LAST, 1591s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1591s # g_signal_accumulator_true_handled, 1591s # NULL, 1591s # com_acme_coyote_method_marshal_sleep, 1591s # G_TYPE_BOOLEAN, 1591s # 1, 1591s # G_TYPE_DBUS_METHOD_INVOCATION); 1591s # 1591s # /** 1591s # * ComAcmeCoyote::handle-attack: 1591s # * @object: A #ComAcmeCoyote. 1591s # * @invocation: A #GDBusMethodInvocation. 1591s # * 1591s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1591s # * 1591s # * 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. 1591s # * 1591s # * 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. 1591s # */ 1591s # g_signal_new ("handle-attack", 1591s # G_TYPE_FROM_INTERFACE (iface), 1591s # G_SIGNAL_RUN_LAST, 1591s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1591s # g_signal_accumulator_true_handled, 1591s # NULL, 1591s # com_acme_coyote_method_marshal_attack, 1591s # G_TYPE_BOOLEAN, 1591s # 1, 1591s # G_TYPE_DBUS_METHOD_INVOCATION); 1591s # 1591s # /* GObject signals for received D-Bus signals: */ 1591s # /** 1591s # * ComAcmeCoyote::surprised: 1591s # * @object: A #ComAcmeCoyote. 1591s # * 1591s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1591s # * 1591s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1591s # */ 1591s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1591s # g_signal_new ("surprised", 1591s # G_TYPE_FROM_INTERFACE (iface), 1591s # G_SIGNAL_RUN_LAST, 1591s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1591s # NULL, 1591s # NULL, 1591s # com_acme_coyote_signal_marshal_surprised, 1591s # G_TYPE_NONE, 1591s # 0); 1591s # 1591s # /* GObject properties for D-Bus properties: */ 1591s # /** 1591s # * ComAcmeCoyote:mood: 1591s # * 1591s # * Represents the D-Bus property "Mood". 1591s # * 1591s # * 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. 1591s # */ 1591s # g_object_interface_install_property (iface, 1591s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_get_mood: (skip) 1591s # * @object: A #ComAcmeCoyote. 1591s # * 1591s # * Gets the value of the "Mood" D-Bus property. 1591s # * 1591s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1591s # * 1591s # * 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. 1591s # * 1591s # * 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. 1591s # */ 1591s # const gchar * 1591s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1591s # { 1591s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1591s # 1591s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_dup_mood: (skip) 1591s # * @object: A #ComAcmeCoyote. 1591s # * 1591s # * Gets a copy of the "Mood" D-Bus property. 1591s # * 1591s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1591s # * 1591s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1591s # */ 1591s # gchar * 1591s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1591s # { 1591s # gchar *value; 1591s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1591s # return value; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_set_mood: (skip) 1591s # * @object: A #ComAcmeCoyote. 1591s # * @value: The value to set. 1591s # * 1591s # * Sets the "Mood" D-Bus property to @value. 1591s # * 1591s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1591s # */ 1591s # void 1591s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1591s # { 1591s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_emit_surprised: 1591s # * @object: A #ComAcmeCoyote. 1591s # * 1591s # * Emits the "Surprised" D-Bus signal. 1591s # */ 1591s # void 1591s # com_acme_coyote_emit_surprised ( 1591s # ComAcmeCoyote *object) 1591s # { 1591s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_run: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1591s # * 1591s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1591s # */ 1591s # void 1591s # com_acme_coyote_call_run ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1591s # "Run", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # callback, 1591s # user_data); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_run_finish: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Finishes an operation started with com_acme_coyote_call_run(). 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # com_acme_coyote_call_run_finish ( 1591s # ComAcmeCoyote *proxy, 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_run_sync: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1591s # * 1591s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # com_acme_coyote_call_run_sync ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1591s # "Run", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_sleep: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1591s # * 1591s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1591s # */ 1591s # void 1591s # com_acme_coyote_call_sleep ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1591s # "Sleep", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # callback, 1591s # user_data); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_sleep_finish: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # com_acme_coyote_call_sleep_finish ( 1591s # ComAcmeCoyote *proxy, 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_sleep_sync: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1591s # * 1591s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # com_acme_coyote_call_sleep_sync ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1591s # "Sleep", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_attack: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1591s # * 1591s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1591s # */ 1591s # void 1591s # com_acme_coyote_call_attack ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1591s # "Attack", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # callback, 1591s # user_data); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_attack_finish: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Finishes an operation started with com_acme_coyote_call_attack(). 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # com_acme_coyote_call_attack_finish ( 1591s # ComAcmeCoyote *proxy, 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_call_attack_sync: 1591s # * @proxy: A #ComAcmeCoyoteProxy. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL. 1591s # * 1591s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1591s # * 1591s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1591s # * 1591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1591s # */ 1591s # gboolean 1591s # com_acme_coyote_call_attack_sync ( 1591s # ComAcmeCoyote *proxy, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GVariant *_ret; 1591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1591s # "Attack", 1591s # g_variant_new ("()"), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # cancellable, 1591s # error); 1591s # if (_ret == NULL) 1591s # goto _out; 1591s # g_variant_get (_ret, 1591s # "()"); 1591s # g_variant_unref (_ret); 1591s # _out: 1591s # return _ret != NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_complete_run: 1591s # * @object: A #ComAcmeCoyote. 1591s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1591s # * 1591s # * 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. 1591s # * 1591s # * This method will free @invocation, you cannot use it afterwards. 1591s # */ 1591s # void 1591s # com_acme_coyote_complete_run ( 1591s # ComAcmeCoyote *object G_GNUC_UNUSED, 1591s # GDBusMethodInvocation *invocation) 1591s # { 1591s # g_dbus_method_invocation_return_value (invocation, 1591s # g_variant_new ("()")); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_complete_sleep: 1591s # * @object: A #ComAcmeCoyote. 1591s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1591s # * 1591s # * 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. 1591s # * 1591s # * This method will free @invocation, you cannot use it afterwards. 1591s # */ 1591s # void 1591s # com_acme_coyote_complete_sleep ( 1591s # ComAcmeCoyote *object G_GNUC_UNUSED, 1591s # GDBusMethodInvocation *invocation) 1591s # { 1591s # g_dbus_method_invocation_return_value (invocation, 1591s # g_variant_new ("()")); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_complete_attack: 1591s # * @object: A #ComAcmeCoyote. 1591s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1591s # * 1591s # * 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. 1591s # * 1591s # * This method will free @invocation, you cannot use it afterwards. 1591s # */ 1591s # void 1591s # com_acme_coyote_complete_attack ( 1591s # ComAcmeCoyote *object G_GNUC_UNUSED, 1591s # GDBusMethodInvocation *invocation) 1591s # { 1591s # g_dbus_method_invocation_return_value (invocation, 1591s # g_variant_new ("()")); 1591s # } 1591s # 1591s # /* ------------------------------------------------------------------------ */ 1591s # 1591s # /** 1591s # * ComAcmeCoyoteProxy: 1591s # * 1591s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1591s # */ 1591s # 1591s # /** 1591s # * ComAcmeCoyoteProxyClass: 1591s # * @parent_class: The parent class. 1591s # * 1591s # * Class structure for #ComAcmeCoyoteProxy. 1591s # */ 1591s # 1591s # struct _ComAcmeCoyoteProxyPrivate 1591s # { 1591s # GData *qdata; 1591s # }; 1591s # 1591s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1591s # 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1591s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1591s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1591s # 1591s # #else 1591s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1591s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1591s # 1591s # #endif 1591s # static void 1591s # com_acme_coyote_proxy_finalize (GObject *object) 1591s # { 1591s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1591s # g_datalist_clear (&proxy->priv->qdata); 1591s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_get_property (GObject *object, 1591s # guint prop_id, 1591s # GValue *value, 1591s # GParamSpec *pspec G_GNUC_UNUSED) 1591s # { 1591s # const _ExtendedGDBusPropertyInfo *info; 1591s # GVariant *variant; 1591s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1591s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1591s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1591s # if (info->use_gvariant) 1591s # { 1591s # g_value_set_variant (value, variant); 1591s # } 1591s # else 1591s # { 1591s # if (variant != NULL) 1591s # g_dbus_gvariant_to_gvalue (variant, value); 1591s # } 1591s # if (variant != NULL) 1591s # g_variant_unref (variant); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1591s # GAsyncResult *res, 1591s # gpointer user_data) 1591s # { 1591s # const _ExtendedGDBusPropertyInfo *info = user_data; 1591s # GError *error; 1591s # GVariant *_ret; 1591s # error = NULL; 1591s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1591s # if (!_ret) 1591s # { 1591s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1591s # info->parent_struct.name, 1591s # error->message, g_quark_to_string (error->domain), error->code); 1591s # g_error_free (error); 1591s # } 1591s # else 1591s # { 1591s # g_variant_unref (_ret); 1591s # } 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_set_property (GObject *object, 1591s # guint prop_id, 1591s # const GValue *value, 1591s # GParamSpec *pspec G_GNUC_UNUSED) 1591s # { 1591s # const _ExtendedGDBusPropertyInfo *info; 1591s # GVariant *variant; 1591s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1591s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1591s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1591s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1591s # "org.freedesktop.DBus.Properties.Set", 1591s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1591s # G_DBUS_CALL_FLAGS_NONE, 1591s # -1, 1591s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1591s # g_variant_unref (variant); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1591s # const gchar *sender_name G_GNUC_UNUSED, 1591s # const gchar *signal_name, 1591s # GVariant *parameters) 1591s # { 1591s # _ExtendedGDBusSignalInfo *info; 1591s # GVariantIter iter; 1591s # GVariant *child; 1591s # GValue *paramv; 1591s # gsize num_params; 1591s # gsize n; 1591s # guint signal_id; 1591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1591s # if (info == NULL) 1591s # return; 1591s # num_params = g_variant_n_children (parameters); 1591s # paramv = g_new0 (GValue, num_params + 1); 1591s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1591s # g_value_set_object (¶mv[0], proxy); 1591s # g_variant_iter_init (&iter, parameters); 1591s # n = 1; 1591s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1591s # { 1591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1591s # if (arg_info->use_gvariant) 1591s # { 1591s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1591s # g_value_set_variant (¶mv[n], child); 1591s # n++; 1591s # } 1591s # else 1591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1591s # g_variant_unref (child); 1591s # } 1591s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1591s # g_signal_emitv (paramv, signal_id, 0, NULL); 1591s # for (n = 0; n < num_params + 1; n++) 1591s # g_value_unset (¶mv[n]); 1591s # g_free (paramv); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1591s # GVariant *changed_properties, 1591s # const gchar *const *invalidated_properties) 1591s # { 1591s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1591s # guint n; 1591s # const gchar *key; 1591s # GVariantIter *iter; 1591s # _ExtendedGDBusPropertyInfo *info; 1591s # g_variant_get (changed_properties, "a{sv}", &iter); 1591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1591s # { 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1591s # g_datalist_remove_data (&proxy->priv->qdata, key); 1591s # if (info != NULL) 1591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1591s # } 1591s # g_variant_iter_free (iter); 1591s # for (n = 0; invalidated_properties[n] != NULL; n++) 1591s # { 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1591s # if (info != NULL) 1591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1591s # } 1591s # } 1591s # 1591s # static const gchar * 1591s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1591s # { 1591s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1591s # GVariant *variant; 1591s # const gchar *value = NULL; 1591s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1591s # if (variant != NULL) 1591s # { 1591s # value = g_variant_get_string (variant, NULL); 1591s # g_variant_unref (variant); 1591s # } 1591s # return value; 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1591s # { 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1591s # #else 1591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1591s # #endif 1591s # 1591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1591s # { 1591s # GObjectClass *gobject_class; 1591s # GDBusProxyClass *proxy_class; 1591s # 1591s # gobject_class = G_OBJECT_CLASS (klass); 1591s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1591s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1591s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1591s # 1591s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1591s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1591s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1591s # 1591s # com_acme_coyote_override_properties (gobject_class, 1); 1591s # 1591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1591s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1591s # #endif 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1591s # { 1591s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_proxy_new: 1591s # * @connection: A #GDBusConnection. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1591s # * 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1591s # * 1591s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1591s # */ 1591s # void 1591s # com_acme_coyote_proxy_new ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # 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); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_proxy_new_finish: 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1591s # * 1591s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # ComAcmeCoyote * 1591s # com_acme_coyote_proxy_new_finish ( 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GObject *ret; 1591s # GObject *source_object; 1591s # source_object = g_async_result_get_source_object (res); 1591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1591s # g_object_unref (source_object); 1591s # if (ret != NULL) 1591s # return COM_ACME_COYOTE (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_proxy_new_sync: 1591s # * @connection: A #GDBusConnection. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1591s # * 1591s # * The calling thread is blocked until a reply is received. 1591s # * 1591s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1591s # * 1591s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # ComAcmeCoyote * 1591s # com_acme_coyote_proxy_new_sync ( 1591s # GDBusConnection *connection, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GInitable *ret; 1591s # 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); 1591s # if (ret != NULL) 1591s # return COM_ACME_COYOTE (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # 1591s # /** 1591s # * com_acme_coyote_proxy_new_for_bus: 1591s # * @bus_type: A #GBusType. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: A bus name (well-known or unique). 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1591s # * @user_data: User data to pass to @callback. 1591s # * 1591s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1591s # * 1591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1591s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1591s # * 1591s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1591s # */ 1591s # void 1591s # com_acme_coyote_proxy_new_for_bus ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GAsyncReadyCallback callback, 1591s # gpointer user_data) 1591s # { 1591s # 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); 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_proxy_new_for_bus_finish: 1591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1591s # * 1591s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # ComAcmeCoyote * 1591s # com_acme_coyote_proxy_new_for_bus_finish ( 1591s # GAsyncResult *res, 1591s # GError **error) 1591s # { 1591s # GObject *ret; 1591s # GObject *source_object; 1591s # source_object = g_async_result_get_source_object (res); 1591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1591s # g_object_unref (source_object); 1591s # if (ret != NULL) 1591s # return COM_ACME_COYOTE (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_proxy_new_for_bus_sync: 1591s # * @bus_type: A #GBusType. 1591s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1591s # * @name: A bus name (well-known or unique). 1591s # * @object_path: An object path. 1591s # * @cancellable: (nullable): A #GCancellable or %NULL. 1591s # * @error: Return location for error or %NULL 1591s # * 1591s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1591s # * 1591s # * The calling thread is blocked until a reply is received. 1591s # * 1591s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1591s # * 1591s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1591s # */ 1591s # ComAcmeCoyote * 1591s # com_acme_coyote_proxy_new_for_bus_sync ( 1591s # GBusType bus_type, 1591s # GDBusProxyFlags flags, 1591s # const gchar *name, 1591s # const gchar *object_path, 1591s # GCancellable *cancellable, 1591s # GError **error) 1591s # { 1591s # GInitable *ret; 1591s # 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); 1591s # if (ret != NULL) 1591s # return COM_ACME_COYOTE (ret); 1591s # else 1591s # return NULL; 1591s # } 1591s # 1591s # 1591s # /* ------------------------------------------------------------------------ */ 1591s # 1591s # /** 1591s # * ComAcmeCoyoteSkeleton: 1591s # * 1591s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1591s # */ 1591s # 1591s # /** 1591s # * ComAcmeCoyoteSkeletonClass: 1591s # * @parent_class: The parent class. 1591s # * 1591s # * Class structure for #ComAcmeCoyoteSkeleton. 1591s # */ 1591s # 1591s # struct _ComAcmeCoyoteSkeletonPrivate 1591s # { 1591s # GValue *properties; 1591s # GList *changed_properties; 1591s # GSource *changed_properties_idle_source; 1591s # GMainContext *context; 1591s # GMutex lock; 1591s # }; 1591s # 1591s # static void 1591s # _com_acme_coyote_skeleton_handle_method_call ( 1591s # GDBusConnection *connection G_GNUC_UNUSED, 1591s # const gchar *sender G_GNUC_UNUSED, 1591s # const gchar *object_path G_GNUC_UNUSED, 1591s # const gchar *interface_name, 1591s # const gchar *method_name, 1591s # GVariant *parameters, 1591s # GDBusMethodInvocation *invocation, 1591s # gpointer user_data) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1591s # _ExtendedGDBusMethodInfo *info; 1591s # GVariantIter iter; 1591s # GVariant *child; 1591s # GValue *paramv; 1591s # gsize num_params; 1591s # guint num_extra; 1591s # gsize n; 1591s # guint signal_id; 1591s # GValue return_value = G_VALUE_INIT; 1591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1591s # g_assert (info != NULL); 1591s # num_params = g_variant_n_children (parameters); 1591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1591s # n = 0; 1591s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1591s # g_value_set_object (¶mv[n++], skeleton); 1591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1591s # g_value_set_object (¶mv[n++], invocation); 1591s # if (info->pass_fdlist) 1591s # { 1591s # #ifdef G_OS_UNIX 1591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1591s # #else 1591s # g_assert_not_reached (); 1591s # #endif 1591s # } 1591s # g_variant_iter_init (&iter, parameters); 1591s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1591s # { 1591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1591s # if (arg_info->use_gvariant) 1591s # { 1591s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1591s # g_value_set_variant (¶mv[n], child); 1591s # n++; 1591s # } 1591s # else 1591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1591s # g_variant_unref (child); 1591s # } 1591s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1591s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1591s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1591s # if (!g_value_get_boolean (&return_value)) 1591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1591s # g_value_unset (&return_value); 1591s # for (n = 0; n < num_params + num_extra; n++) 1591s # g_value_unset (¶mv[n]); 1591s # g_free (paramv); 1591s # } 1591s # 1591s # static GVariant * 1591s # _com_acme_coyote_skeleton_handle_get_property ( 1591s # GDBusConnection *connection G_GNUC_UNUSED, 1591s # const gchar *sender G_GNUC_UNUSED, 1591s # const gchar *object_path G_GNUC_UNUSED, 1591s # const gchar *interface_name G_GNUC_UNUSED, 1591s # const gchar *property_name, 1591s # GError **error, 1591s # gpointer user_data) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1591s # GValue value = G_VALUE_INIT; 1591s # GParamSpec *pspec; 1591s # _ExtendedGDBusPropertyInfo *info; 1591s # GVariant *ret; 1591s # ret = NULL; 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1591s # g_assert (info != NULL); 1591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1591s # if (pspec == NULL) 1591s # { 1591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1591s # } 1591s # else 1591s # { 1591s # g_value_init (&value, pspec->value_type); 1591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1591s # g_value_unset (&value); 1591s # } 1591s # return ret; 1591s # } 1591s # 1591s # static gboolean 1591s # _com_acme_coyote_skeleton_handle_set_property ( 1591s # GDBusConnection *connection G_GNUC_UNUSED, 1591s # const gchar *sender G_GNUC_UNUSED, 1591s # const gchar *object_path G_GNUC_UNUSED, 1591s # const gchar *interface_name G_GNUC_UNUSED, 1591s # const gchar *property_name, 1591s # GVariant *variant, 1591s # GError **error, 1591s # gpointer user_data) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1591s # GValue value = G_VALUE_INIT; 1591s # GParamSpec *pspec; 1591s # _ExtendedGDBusPropertyInfo *info; 1591s # gboolean ret; 1591s # ret = FALSE; 1591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1591s # g_assert (info != NULL); 1591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1591s # if (pspec == NULL) 1591s # { 1591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1591s # } 1591s # else 1591s # { 1591s # if (info->use_gvariant) 1591s # g_value_set_variant (&value, variant); 1591s # else 1591s # g_dbus_gvariant_to_gvalue (variant, &value); 1591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1591s # g_value_unset (&value); 1591s # ret = TRUE; 1591s # } 1591s # return ret; 1591s # } 1591s # 1591s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1591s # { 1591s # _com_acme_coyote_skeleton_handle_method_call, 1591s # _com_acme_coyote_skeleton_handle_get_property, 1591s # _com_acme_coyote_skeleton_handle_set_property, 1591s # {NULL} 1591s # }; 1591s # 1591s # static GDBusInterfaceInfo * 1591s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1591s # { 1591s # return com_acme_coyote_interface_info (); 1591s # } 1591s # 1591s # static GDBusInterfaceVTable * 1591s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1591s # { 1591s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1591s # } 1591s # 1591s # static GVariant * 1591s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1591s # 1591s # GVariantBuilder builder; 1591s # guint n; 1591s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1591s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1591s # goto out; 1591s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1591s # { 1591s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1591s # { 1591s # GVariant *value; 1591s # 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); 1591s # if (value != NULL) 1591s # { 1591s # g_variant_take_ref (value); 1591s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1591s # g_variant_unref (value); 1591s # } 1591s # } 1591s # } 1591s # out: 1591s # return g_variant_builder_end (&builder); 1591s # } 1591s # 1591s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1591s # gboolean emit_changed = FALSE; 1591s # 1591s # g_mutex_lock (&skeleton->priv->lock); 1591s # if (skeleton->priv->changed_properties_idle_source != NULL) 1591s # { 1591s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1591s # skeleton->priv->changed_properties_idle_source = NULL; 1591s # emit_changed = TRUE; 1591s # } 1591s # g_mutex_unlock (&skeleton->priv->lock); 1591s # 1591s # if (emit_changed) 1591s # _com_acme_coyote_emit_changed (skeleton); 1591s # } 1591s # 1591s # static void 1591s # _com_acme_coyote_on_signal_surprised ( 1591s # ComAcmeCoyote *object) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1591s # 1591s # GList *connections, *l; 1591s # GVariant *signal_variant; 1591s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1591s # 1591s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1591s # for (l = connections; l != NULL; l = l->next) 1591s # { 1591s # GDBusConnection *connection = l->data; 1591s # g_dbus_connection_emit_signal (connection, 1591s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1591s # signal_variant, NULL); 1591s # } 1591s # g_variant_unref (signal_variant); 1591s # g_list_free_full (connections, g_object_unref); 1591s # } 1591s # 1591s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1591s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1591s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1591s # 1591s # #else 1591s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1591s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1591s # 1591s # #endif 1591s # static void 1591s # com_acme_coyote_skeleton_finalize (GObject *object) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1591s # guint n; 1591s # for (n = 0; n < 1; n++) 1591s # g_value_unset (&skeleton->priv->properties[n]); 1591s # g_free (skeleton->priv->properties); 1591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1591s # if (skeleton->priv->changed_properties_idle_source != NULL) 1591s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1591s # g_main_context_unref (skeleton->priv->context); 1591s # g_mutex_clear (&skeleton->priv->lock); 1591s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_get_property (GObject *object, 1591s # guint prop_id, 1591s # GValue *value, 1591s # GParamSpec *pspec G_GNUC_UNUSED) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1591s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1591s # g_mutex_lock (&skeleton->priv->lock); 1591s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1591s # g_mutex_unlock (&skeleton->priv->lock); 1591s # } 1591s # 1591s # static gboolean 1591s # _com_acme_coyote_emit_changed (gpointer user_data) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1591s # GList *l; 1591s # GVariantBuilder builder; 1591s # GVariantBuilder invalidated_builder; 1591s # guint num_changes; 1591s # 1591s # g_mutex_lock (&skeleton->priv->lock); 1591s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1591s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1591s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1591s # { 1591s # ChangedProperty *cp = l->data; 1591s # GVariant *variant; 1591s # const GValue *cur_value; 1591s # 1591s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1591s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1591s # { 1591s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1591s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1591s # g_variant_unref (variant); 1591s # num_changes++; 1591s # } 1591s # } 1591s # if (num_changes > 0) 1591s # { 1591s # GList *connections, *ll; 1591s # GVariant *signal_variant; 1591s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1591s # &builder, &invalidated_builder)); 1591s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1591s # for (ll = connections; ll != NULL; ll = ll->next) 1591s # { 1591s # GDBusConnection *connection = ll->data; 1591s # 1591s # g_dbus_connection_emit_signal (connection, 1591s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1591s # "org.freedesktop.DBus.Properties", 1591s # "PropertiesChanged", 1591s # signal_variant, 1591s # NULL); 1591s # } 1591s # g_variant_unref (signal_variant); 1591s # g_list_free_full (connections, g_object_unref); 1591s # } 1591s # else 1591s # { 1591s # g_variant_builder_clear (&builder); 1591s # g_variant_builder_clear (&invalidated_builder); 1591s # } 1591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1591s # skeleton->priv->changed_properties = NULL; 1591s # skeleton->priv->changed_properties_idle_source = NULL; 1591s # g_mutex_unlock (&skeleton->priv->lock); 1591s # return FALSE; 1591s # } 1591s # 1591s # static void 1591s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1591s # { 1591s # ChangedProperty *cp; 1591s # GList *l; 1591s # cp = NULL; 1591s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1591s # { 1591s # ChangedProperty *i_cp = l->data; 1591s # if (i_cp->info == info) 1591s # { 1591s # cp = i_cp; 1591s # break; 1591s # } 1591s # } 1591s # if (cp == NULL) 1591s # { 1591s # cp = g_new0 (ChangedProperty, 1); 1591s # cp->prop_id = prop_id; 1591s # cp->info = info; 1591s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1591s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1591s # g_value_copy (orig_value, &cp->orig_value); 1591s # } 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_notify (GObject *object, 1591s # GParamSpec *pspec G_GNUC_UNUSED) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1591s # g_mutex_lock (&skeleton->priv->lock); 1591s # if (skeleton->priv->changed_properties != NULL && 1591s # skeleton->priv->changed_properties_idle_source == NULL) 1591s # { 1591s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1591s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1591s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1591s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1591s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1591s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1591s # } 1591s # g_mutex_unlock (&skeleton->priv->lock); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_set_property (GObject *object, 1591s # guint prop_id, 1591s # const GValue *value, 1591s # GParamSpec *pspec) 1591s # { 1591s # const _ExtendedGDBusPropertyInfo *info; 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1591s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1591s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1591s # g_mutex_lock (&skeleton->priv->lock); 1591s # g_object_freeze_notify (object); 1591s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1591s # { 1591s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1591s # info->emits_changed_signal) 1591s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1591s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1591s # g_object_notify_by_pspec (object, pspec); 1591s # } 1591s # g_mutex_unlock (&skeleton->priv->lock); 1591s # g_object_thaw_notify (object); 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1591s # { 1591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1591s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1591s # #else 1591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1591s # #endif 1591s # 1591s # g_mutex_init (&skeleton->priv->lock); 1591s # skeleton->priv->context = g_main_context_ref_thread_default (); 1591s # skeleton->priv->properties = g_new0 (GValue, 1); 1591s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1591s # } 1591s # 1591s # static const gchar * 1591s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1591s # { 1591s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1591s # const gchar *value; 1591s # g_mutex_lock (&skeleton->priv->lock); 1591s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1591s # g_mutex_unlock (&skeleton->priv->lock); 1591s # return value; 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1591s # { 1591s # GObjectClass *gobject_class; 1591s # GDBusInterfaceSkeletonClass *skeleton_class; 1591s # 1591s # gobject_class = G_OBJECT_CLASS (klass); 1591s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1591s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1591s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1591s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1591s # 1591s # 1591s # com_acme_coyote_override_properties (gobject_class, 1); 1591s # 1591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1591s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1591s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1591s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1591s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1591s # 1591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1591s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1591s # #endif 1591s # } 1591s # 1591s # static void 1591s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1591s # { 1591s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1591s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1591s # } 1591s # 1591s # /** 1591s # * com_acme_coyote_skeleton_new: 1591s # * 1591s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1591s # * 1591s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1591s # */ 1591s # ComAcmeCoyote * 1591s # com_acme_coyote_skeleton_new (void) 1591s # { 1591s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1591s # } 1592s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1592s # tmpdir: /tmp/tmpyde_skag 1592s # codegen: /usr/bin/gdbus-codegen 1592s # /tmp/tmpyde_skag/tmpmx0a8l9_.xml: 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyde_skag/tmpmx0a8l9_.xml', '--output', '-', '--header'] 1592s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1592s # Output: /* 1592s # * This file is generated by gdbus-codegen, do not modify it. 1592s # * 1592s # * The license of this code is the same as for the D-Bus interface description 1592s # * it was derived from. Note that it links to GLib, so must comply with the 1592s # * LGPL linking clauses. 1592s # */ 1592s # 1592s # #ifndef __STDOUT__ 1592s # #define __STDOUT__ 1592s # 1592s # #include 1592s # 1592s # G_BEGIN_DECLS 1592s # 1592s # 1592s # /* ------------------------------------------------------------------------ */ 1592s # /* Declarations for FDPassing */ 1592s # 1592s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1592s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1592s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1592s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1592s # 1592s # struct _FDPassing; 1592s # typedef struct _FDPassing FDPassing; 1592s # typedef struct _FDPassingIface FDPassingIface; 1592s # 1592s # struct _FDPassingIface 1592s # { 1592s # GTypeInterface parent_iface; 1592s # 1592s # gboolean (*handle_hello_fd) ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GUnixFDList *fd_list, 1592s # const gchar *arg_greeting); 1592s # 1592s # gboolean (*handle_no_annotation) ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GVariant *arg_greeting, 1592s # const gchar *arg_greeting_locale); 1592s # 1592s # gboolean (*handle_no_annotation_nested) ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GVariant *arg_files); 1592s # 1592s # }; 1592s # 1592s # GType fdpassing_get_type (void) G_GNUC_CONST; 1592s # 1592s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1592s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1592s # 1592s # 1592s # /* D-Bus method call completion functions: */ 1592s # void fdpassing_complete_hello_fd ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GUnixFDList *fd_list, 1592s # const gchar *response); 1592s # 1592s # void fdpassing_complete_no_annotation ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GVariant *response, 1592s # const gchar *response_locale); 1592s # 1592s # void fdpassing_complete_no_annotation_nested ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation); 1592s # 1592s # 1592s # 1592s # /* D-Bus method calls: */ 1592s # void fdpassing_call_hello_fd ( 1592s # FDPassing *proxy, 1592s # const gchar *arg_greeting, 1592s # GUnixFDList *fd_list, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # 1592s # gboolean fdpassing_call_hello_fd_finish ( 1592s # FDPassing *proxy, 1592s # gchar **out_response, 1592s # GUnixFDList **out_fd_list, 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # 1592s # gboolean fdpassing_call_hello_fd_sync ( 1592s # FDPassing *proxy, 1592s # const gchar *arg_greeting, 1592s # GUnixFDList *fd_list, 1592s # gchar **out_response, 1592s # GUnixFDList **out_fd_list, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # void fdpassing_call_no_annotation ( 1592s # FDPassing *proxy, 1592s # GVariant *arg_greeting, 1592s # const gchar *arg_greeting_locale, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # 1592s # gboolean fdpassing_call_no_annotation_finish ( 1592s # FDPassing *proxy, 1592s # GVariant **out_response, 1592s # gchar **out_response_locale, 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # 1592s # gboolean fdpassing_call_no_annotation_sync ( 1592s # FDPassing *proxy, 1592s # GVariant *arg_greeting, 1592s # const gchar *arg_greeting_locale, 1592s # GVariant **out_response, 1592s # gchar **out_response_locale, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # void fdpassing_call_no_annotation_nested ( 1592s # FDPassing *proxy, 1592s # GVariant *arg_files, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # 1592s # gboolean fdpassing_call_no_annotation_nested_finish ( 1592s # FDPassing *proxy, 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # 1592s # gboolean fdpassing_call_no_annotation_nested_sync ( 1592s # FDPassing *proxy, 1592s # GVariant *arg_files, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # 1592s # 1592s # /* ---- */ 1592s # 1592s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1592s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1592s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1592s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1592s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1592s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1592s # 1592s # typedef struct _FDPassingProxy FDPassingProxy; 1592s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1592s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1592s # 1592s # struct _FDPassingProxy 1592s # { 1592s # /*< private >*/ 1592s # GDBusProxy parent_instance; 1592s # FDPassingProxyPrivate *priv; 1592s # }; 1592s # 1592s # struct _FDPassingProxyClass 1592s # { 1592s # GDBusProxyClass parent_class; 1592s # }; 1592s # 1592s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1592s # 1592s # #if GLIB_CHECK_VERSION(2, 44, 0) 1592s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1592s # #endif 1592s # 1592s # void fdpassing_proxy_new ( 1592s # GDBusConnection *connection, 1592s # GDBusProxyFlags flags, 1592s # const gchar *name, 1592s # const gchar *object_path, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # FDPassing *fdpassing_proxy_new_finish ( 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # FDPassing *fdpassing_proxy_new_sync ( 1592s # GDBusConnection *connection, 1592s # GDBusProxyFlags flags, 1592s # const gchar *name, 1592s # const gchar *object_path, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # void fdpassing_proxy_new_for_bus ( 1592s # GBusType bus_type, 1592s # GDBusProxyFlags flags, 1592s # const gchar *name, 1592s # const gchar *object_path, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1592s # GBusType bus_type, 1592s # GDBusProxyFlags flags, 1592s # const gchar *name, 1592s # const gchar *object_path, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # 1592s # /* ---- */ 1592s # 1592s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1592s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1592s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1592s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1592s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1592s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1592s # 1592s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1592s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1592s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1592s # 1592s # struct _FDPassingSkeleton 1592s # { 1592s # /*< private >*/ 1592s # GDBusInterfaceSkeleton parent_instance; 1592s # FDPassingSkeletonPrivate *priv; 1592s # }; 1592s # 1592s # struct _FDPassingSkeletonClass 1592s # { 1592s # GDBusInterfaceSkeletonClass parent_class; 1592s # }; 1592s # 1592s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1592s # 1592s # #if GLIB_CHECK_VERSION(2, 44, 0) 1592s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1592s # #endif 1592s # 1592s # FDPassing *fdpassing_skeleton_new (void); 1592s # 1592s # 1592s # G_END_DECLS 1592s # 1592s # #endif /* __STDOUT__ */ 1592s # /tmp/tmpyde_skag/tmpf28031o2.xml: 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyde_skag/tmpf28031o2.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1592s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1592s # Output: /* 1592s # * This file is generated by gdbus-codegen, do not modify it. 1592s # * 1592s # * The license of this code is the same as for the D-Bus interface description 1592s # * it was derived from. Note that it links to GLib, so must comply with the 1592s # * LGPL linking clauses. 1592s # */ 1592s # 1592s # #ifndef __STDOUT__ 1592s # #define __STDOUT__ 1592s # 1592s # #include 1592s # 1592s # G_BEGIN_DECLS 1592s # 1592s # 1592s # /* ------------------------------------------------------------------------ */ 1592s # /* Declarations for FDPassing */ 1592s # 1592s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1592s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1592s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1592s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1592s # 1592s # struct _FDPassing; 1592s # typedef struct _FDPassing FDPassing; 1592s # typedef struct _FDPassingIface FDPassingIface; 1592s # 1592s # struct _FDPassingIface 1592s # { 1592s # GTypeInterface parent_iface; 1592s # 1592s # gboolean (*handle_hello_fd) ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GUnixFDList *fd_list, 1592s # const gchar *arg_greeting); 1592s # 1592s # gboolean (*handle_no_annotation) ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GVariant *arg_greeting, 1592s # const gchar *arg_greeting_locale); 1592s # 1592s # gboolean (*handle_no_annotation_nested) ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GVariant *arg_files); 1592s # 1592s # }; 1592s # 1592s # GType fdpassing_get_type (void) G_GNUC_CONST; 1592s # 1592s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1592s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1592s # 1592s # 1592s # /* D-Bus method call completion functions: */ 1592s # void fdpassing_complete_hello_fd ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GUnixFDList *fd_list, 1592s # const gchar *response); 1592s # 1592s # void fdpassing_complete_no_annotation ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GVariant *response, 1592s # const gchar *response_locale); 1592s # 1592s # void fdpassing_complete_no_annotation_nested ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation); 1592s # 1592s # 1592s # 1592s # /* D-Bus method calls: */ 1592s # void fdpassing_call_hello_fd ( 1592s # FDPassing *proxy, 1592s # const gchar *arg_greeting, 1592s # GUnixFDList *fd_list, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # 1592s # gboolean fdpassing_call_hello_fd_finish ( 1592s # FDPassing *proxy, 1592s # gchar **out_response, 1592s # GUnixFDList **out_fd_list, 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # 1592s # gboolean fdpassing_call_hello_fd_sync ( 1592s # FDPassing *proxy, 1592s # const gchar *arg_greeting, 1592s # GUnixFDList *fd_list, 1592s # gchar **out_response, 1592s # GUnixFDList **out_fd_list, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # void fdpassing_call_no_annotation ( 1592s # FDPassing *proxy, 1592s # GVariant *arg_greeting, 1592s # const gchar *arg_greeting_locale, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # 1592s # gboolean fdpassing_call_no_annotation_finish ( 1592s # FDPassing *proxy, 1592s # GVariant **out_response, 1592s # gchar **out_response_locale, 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # 1592s # gboolean fdpassing_call_no_annotation_sync ( 1592s # FDPassing *proxy, 1592s # GVariant *arg_greeting, 1592s # const gchar *arg_greeting_locale, 1592s # GVariant **out_response, 1592s # gchar **out_response_locale, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # void fdpassing_call_no_annotation_nested ( 1592s # FDPassing *proxy, 1592s # GVariant *arg_files, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # 1592s # gboolean fdpassing_call_no_annotation_nested_finish ( 1592s # FDPassing *proxy, 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # 1592s # gboolean fdpassing_call_no_annotation_nested_sync ( 1592s # FDPassing *proxy, 1592s # GVariant *arg_files, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # 1592s # 1592s # /* ---- */ 1592s # 1592s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1592s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1592s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1592s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1592s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1592s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1592s # 1592s # typedef struct _FDPassingProxy FDPassingProxy; 1592s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1592s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1592s # 1592s # struct _FDPassingProxy 1592s # { 1592s # /*< private >*/ 1592s # GDBusProxy parent_instance; 1592s # FDPassingProxyPrivate *priv; 1592s # }; 1592s # 1592s # struct _FDPassingProxyClass 1592s # { 1592s # GDBusProxyClass parent_class; 1592s # }; 1592s # 1592s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1592s # 1592s # #if GLIB_CHECK_VERSION(2, 44, 0) 1592s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1592s # #endif 1592s # 1592s # void fdpassing_proxy_new ( 1592s # GDBusConnection *connection, 1592s # GDBusProxyFlags flags, 1592s # const gchar *name, 1592s # const gchar *object_path, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # FDPassing *fdpassing_proxy_new_finish ( 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # FDPassing *fdpassing_proxy_new_sync ( 1592s # GDBusConnection *connection, 1592s # GDBusProxyFlags flags, 1592s # const gchar *name, 1592s # const gchar *object_path, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # void fdpassing_proxy_new_for_bus ( 1592s # GBusType bus_type, 1592s # GDBusProxyFlags flags, 1592s # const gchar *name, 1592s # const gchar *object_path, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1592s # GBusType bus_type, 1592s # GDBusProxyFlags flags, 1592s # const gchar *name, 1592s # const gchar *object_path, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # 1592s # /* ---- */ 1592s # 1592s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1592s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1592s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1592s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1592s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1592s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1592s # 1592s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1592s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1592s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1592s # 1592s # struct _FDPassingSkeleton 1592s # { 1592s # /*< private >*/ 1592s # GDBusInterfaceSkeleton parent_instance; 1592s # FDPassingSkeletonPrivate *priv; 1592s # }; 1592s # 1592s # struct _FDPassingSkeletonClass 1592s # { 1592s # GDBusInterfaceSkeletonClass parent_class; 1592s # }; 1592s # 1592s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1592s # 1592s # #if GLIB_CHECK_VERSION(2, 44, 0) 1592s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1592s # #endif 1592s # 1592s # FDPassing *fdpassing_skeleton_new (void); 1592s # 1592s # 1592s # G_END_DECLS 1592s # 1592s # #endif /* __STDOUT__ */ 1592s # /tmp/tmpyde_skag/tmpgu7naaf6.xml: 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # 1592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyde_skag/tmpgu7naaf6.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1592s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1592s # Output: /* 1592s # * This file is generated by gdbus-codegen, do not modify it. 1592s # * 1592s # * The license of this code is the same as for the D-Bus interface description 1592s # * it was derived from. Note that it links to GLib, so must comply with the 1592s # * LGPL linking clauses. 1592s # */ 1592s # 1592s # #ifndef __STDOUT__ 1592s # #define __STDOUT__ 1592s # 1592s # #include 1592s # 1592s # G_BEGIN_DECLS 1592s # 1592s # 1592s # /* ------------------------------------------------------------------------ */ 1592s # /* Declarations for FDPassing */ 1592s # 1592s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1592s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1592s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1592s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1592s # 1592s # struct _FDPassing; 1592s # typedef struct _FDPassing FDPassing; 1592s # typedef struct _FDPassingIface FDPassingIface; 1592s # 1592s # struct _FDPassingIface 1592s # { 1592s # GTypeInterface parent_iface; 1592s # 1592s # gboolean (*handle_hello_fd) ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GUnixFDList *fd_list, 1592s # const gchar *arg_greeting); 1592s # 1592s # gboolean (*handle_no_annotation) ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GUnixFDList *fd_list, 1592s # GVariant *arg_greeting, 1592s # const gchar *arg_greeting_locale); 1592s # 1592s # gboolean (*handle_no_annotation_nested) ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GUnixFDList *fd_list, 1592s # GVariant *arg_files); 1592s # 1592s # }; 1592s # 1592s # GType fdpassing_get_type (void) G_GNUC_CONST; 1592s # 1592s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1592s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1592s # 1592s # 1592s # /* D-Bus method call completion functions: */ 1592s # void fdpassing_complete_hello_fd ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GUnixFDList *fd_list, 1592s # const gchar *response); 1592s # 1592s # void fdpassing_complete_no_annotation ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GUnixFDList *fd_list, 1592s # GVariant *response, 1592s # const gchar *response_locale); 1592s # 1592s # void fdpassing_complete_no_annotation_nested ( 1592s # FDPassing *object, 1592s # GDBusMethodInvocation *invocation, 1592s # GUnixFDList *fd_list); 1592s # 1592s # 1592s # 1592s # /* D-Bus method calls: */ 1592s # void fdpassing_call_hello_fd ( 1592s # FDPassing *proxy, 1592s # const gchar *arg_greeting, 1592s # GDBusCallFlags call_flags, 1592s # gint timeout_msec, 1592s # GUnixFDList *fd_list, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # 1592s # gboolean fdpassing_call_hello_fd_finish ( 1592s # FDPassing *proxy, 1592s # gchar **out_response, 1592s # GUnixFDList **out_fd_list, 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # 1592s # gboolean fdpassing_call_hello_fd_sync ( 1592s # FDPassing *proxy, 1592s # const gchar *arg_greeting, 1592s # GDBusCallFlags call_flags, 1592s # gint timeout_msec, 1592s # GUnixFDList *fd_list, 1592s # gchar **out_response, 1592s # GUnixFDList **out_fd_list, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # void fdpassing_call_no_annotation ( 1592s # FDPassing *proxy, 1592s # GVariant *arg_greeting, 1592s # const gchar *arg_greeting_locale, 1592s # GDBusCallFlags call_flags, 1592s # gint timeout_msec, 1592s # GUnixFDList *fd_list, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # 1592s # gboolean fdpassing_call_no_annotation_finish ( 1592s # FDPassing *proxy, 1592s # GVariant **out_response, 1592s # gchar **out_response_locale, 1592s # GUnixFDList **out_fd_list, 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # 1592s # gboolean fdpassing_call_no_annotation_sync ( 1592s # FDPassing *proxy, 1592s # GVariant *arg_greeting, 1592s # const gchar *arg_greeting_locale, 1592s # GDBusCallFlags call_flags, 1592s # gint timeout_msec, 1592s # GUnixFDList *fd_list, 1592s # GVariant **out_response, 1592s # gchar **out_response_locale, 1592s # GUnixFDList **out_fd_list, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # void fdpassing_call_no_annotation_nested ( 1592s # FDPassing *proxy, 1592s # GVariant *arg_files, 1592s # GDBusCallFlags call_flags, 1592s # gint timeout_msec, 1592s # GUnixFDList *fd_list, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # 1592s # gboolean fdpassing_call_no_annotation_nested_finish ( 1592s # FDPassing *proxy, 1592s # GUnixFDList **out_fd_list, 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # 1592s # gboolean fdpassing_call_no_annotation_nested_sync ( 1592s # FDPassing *proxy, 1592s # GVariant *arg_files, 1592s # GDBusCallFlags call_flags, 1592s # gint timeout_msec, 1592s # GUnixFDList *fd_list, 1592s # GUnixFDList **out_fd_list, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # 1592s # 1592s # /* ---- */ 1592s # 1592s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1592s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1592s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1592s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1592s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1592s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1592s # 1592s # typedef struct _FDPassingProxy FDPassingProxy; 1592s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1592s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1592s # 1592s # struct _FDPassingProxy 1592s # { 1592s # /*< private >*/ 1592s # GDBusProxy parent_instance; 1592s # FDPassingProxyPrivate *priv; 1592s # }; 1592s # 1592s # struct _FDPassingProxyClass 1592s # { 1592s # GDBusProxyClass parent_class; 1592s # }; 1592s # 1592s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1592s # 1592s # #if GLIB_CHECK_VERSION(2, 44, 0) 1592s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1592s # #endif 1592s # 1592s # void fdpassing_proxy_new ( 1592s # GDBusConnection *connection, 1592s # GDBusProxyFlags flags, 1592s # const gchar *name, 1592s # const gchar *object_path, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # FDPassing *fdpassing_proxy_new_finish ( 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # FDPassing *fdpassing_proxy_new_sync ( 1592s # GDBusConnection *connection, 1592s # GDBusProxyFlags flags, 1592s # const gchar *name, 1592s # const gchar *object_path, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # void fdpassing_proxy_new_for_bus ( 1592s # GBusType bus_type, 1592s # GDBusProxyFlags flags, 1592s # const gchar *name, 1592s # const gchar *object_path, 1592s # GCancellable *cancellable, 1592s # GAsyncReadyCallback callback, 1592s # gpointer user_data); 1592s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1592s # GAsyncResult *res, 1592s # GError **error); 1592s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1592s # GBusType bus_type, 1592s # GDBusProxyFlags flags, 1592s # const gchar *name, 1592s # const gchar *object_path, 1592s # GCancellable *cancellable, 1592s # GError **error); 1592s # 1592s # 1592s # /* ---- */ 1592s # 1592s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1592s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1592s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1592s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1592s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1592s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1592s # 1592s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1592s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1592s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1592s # 1592s # struct _FDPassingSkeleton 1592s # { 1592s # /*< private >*/ 1592s # GDBusInterfaceSkeleton parent_instance; 1592s # FDPassingSkeletonPrivate *priv; 1592s # }; 1592s # 1592s # struct _FDPassingSkeletonClass 1592s # { 1592s # GDBusInterfaceSkeletonClass parent_class; 1592s # }; 1592s # 1592s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1592s # 1592s # #if GLIB_CHECK_VERSION(2, 44, 0) 1592s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1592s # #endif 1592s # 1592s # FDPassing *fdpassing_skeleton_new (void); 1592s # 1592s # 1592s # G_END_DECLS 1592s # 1592s # #endif /* __STDOUT__ */ 1592s 1..39 1592s ok - glib/codegen.py.test 1592s # Running test: glib/autoptr.test 1592s TAP version 13 1592s # random seed: R02S9309996f3f85d690c80f06e60e7c0339 1592s 1..6 1592s # Start of autoptr tests 1592s ok 1 /autoptr/autoptr 1592s ok 2 /autoptr/autoptr_steal 1592s ok 3 /autoptr/autolist 1592s ok 4 /autoptr/autoslist 1592s ok 5 /autoptr/autoqueue 1592s ok 6 /autoptr/autoclass 1592s # End of autoptr tests 1592s ok - glib/autoptr.test 1592s # Running test: glib/gobject-query.py.test 1592s TAP version 13 1592s ok 1 __main__.TestGobjectQuery.test_froots 1592s # gobject-query: /usr/bin/gobject-query 1592s # Running: ['/usr/bin/gobject-query', 'froots'] 1592s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1592s # Output: ├void 1592s # ├GInterface 1592s # │ └GTypePlugin 1592s # ├gchar 1592s # ├guchar 1592s # ├gboolean 1592s # ├gint 1592s # ├guint 1592s # ├glong 1592s # ├gulong 1592s # ├gint64 1592s # ├guint64 1592s # ├GEnum 1592s # ├GFlags 1592s # ├gfloat 1592s # ├gdouble 1592s # ├gchararray 1592s # ├gpointer 1592s # │ └GType 1592s # ├GBoxed 1592s # │ └GValueArray 1592s # ├GParam 1592s # │ ├GParamChar 1592s # │ ├GParamUChar 1592s # │ ├GParamBoolean 1592s # │ ├GParamInt 1592s # │ ├GParamUInt 1592s # │ ├GParamLong 1592s # │ ├GParamULong 1592s # │ ├GParamInt64 1592s # │ ├GParamUInt64 1592s # │ ├GParamUnichar 1592s # │ ├GParamEnum 1592s # │ ├GParamFlags 1592s # │ ├GParamFloat 1592s # │ ├GParamDouble 1592s # │ ├GParamString 1592s # │ ├GParamParam 1592s # │ ├GParamBoxed 1592s # │ ├GParamPointer 1592s # │ ├GParamValueArray 1592s # │ ├GParamObject 1592s # │ ├GParamOverride 1592s # │ ├GParamGType 1592s # │ └GParamVariant 1592s # ├GObject 1592s # └GVariant 1592s ok 2 __main__.TestGobjectQuery.test_help 1592s # gobject-query: /usr/bin/gobject-query 1592s # Running: ['/usr/bin/gobject-query', '--help'] 1592s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1592s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1592s # -r specify root type 1592s # -n don't descend type tree 1592s # -h show help 1592s # -b specify indent string 1592s # -i specify incremental indent string 1592s # -s specify line spacing 1592s # qualifiers: 1592s # froots iterate over fundamental roots 1592s # tree print type tree 1592s ok 3 __main__.TestGobjectQuery.test_tree 1592s # gobject-query: /usr/bin/gobject-query 1592s # Running: ['/usr/bin/gobject-query', 'tree'] 1592s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1592s # Output: GObject 1592s ok 4 __main__.TestGobjectQuery.test_version 1592s # gobject-query: /usr/bin/gobject-query 1592s # Running: ['/usr/bin/gobject-query', '--version'] 1592s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1592s # Output: 2.79.3 1592s 1..4 1592s ok - glib/gobject-query.py.test 1592s # Running test: glib/logging.test 1592s TAP version 13 1592s # random seed: R02Sf668708d6e071e412e9d24a9b2396e29 1592s 1..17 1592s # Start of logging tests 1592s ok 1 /logging/default-handler 1592s ok 2 /logging/warnings 1592s ok 3 /logging/fatal-log-mask 1592s # bu-DEBUG: message 1592s # ba-DEBUG: message 1592s # ba-INFO: message 1592s ok 4 /logging/set-handler 1592s ok 5 /logging/print-handler 1592s ok 6 /logging/printerr-handler 1592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1592s # The Log Message Handler 1592s # 1592s # The Good Fail Message Handler 1592s # 1592s ok 7 /logging/653052 1592s ok 8 /logging/gibberish 1592s # Start of default-handler tests 1592s # Start of subprocess tests 1592s # End of subprocess tests 1592s # End of default-handler tests 1592s # End of logging tests 1592s # Start of structured-logging tests 1592s ok 9 /structured-logging/no-state 1592s ok 10 /structured-logging/some-state 1592s ok 11 /structured-logging/robustness 1592s ok 12 /structured-logging/roundtrip1 1592s ok 13 /structured-logging/roundtrip2 1592s ok 14 /structured-logging/roundtrip3 1592s ok 15 /structured-logging/variant1 1592s ok 16 /structured-logging/variant2 1592s ok 17 /structured-logging/set-writer-func-twice 1592s # End of structured-logging tests 1592s ok - glib/logging.test 1592s # Running test: glib/tls-certificate.test 1592s TAP version 13 1592s # random seed: R02Se64d51a1a516af352f83f04c8247ac85 1592s 1..19 1592s # Start of tls-certificate tests 1592s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1592s ok 1 /tls-certificate/pem-parser 1592s ok 2 /tls-certificate/pem-parser-handles-chain 1592s ok 3 /tls-certificate/from_file 1592s ok 4 /tls-certificate/from_files 1592s ok 5 /tls-certificate/from_files_crlf 1592s ok 6 /tls-certificate/from_files_pkcs8 1592s ok 7 /tls-certificate/from_files_pkcs8enc 1592s ok 8 /tls-certificate/list_from_file 1592s ok 9 /tls-certificate/pkcs11-uri 1592s ok 10 /tls-certificate/pkcs11-uri-unsupported 1592s ok 11 /tls-certificate/from_pkcs12 1592s ok 12 /tls-certificate/from_pkcs12_file 1592s ok 13 /tls-certificate/not-valid-before 1592s ok 14 /tls-certificate/not-valid-after 1592s ok 15 /tls-certificate/subject-name 1592s ok 16 /tls-certificate/issuer-name 1592s ok 17 /tls-certificate/dns-names 1592s ok 18 /tls-certificate/ip-addresses 1592s ok 19 /tls-certificate/pem-parser-no-sentinel 1592s # End of tls-certificate tests 1592s ok - glib/tls-certificate.test 1592s # Running test: glib/gdbus-auth.test 1592s TAP version 13 1592s # random seed: R02S8d894907e0128df530c6197726cf7153 1592s 1..5 1592s # Start of gdbus tests 1592s # Start of auth tests 1592s # Start of client tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/EXTERNAL/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/EXTERNAL/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/EXTERNAL/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/EXTERNAL/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/EXTERNAL/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1592s ok 1 /gdbus/auth/client/EXTERNAL 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1593s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1593s # End of client tests 1593s # Start of server tests 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/ANONYMOUS/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/ANONYMOUS/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/ANONYMOUS/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/ANONYMOUS/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1593s ok 3 /gdbus/auth/server/ANONYMOUS 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/EXTERNAL/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/EXTERNAL/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/EXTERNAL/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/EXTERNAL/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/EXTERNAL/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1593s ok 4 /gdbus/auth/server/EXTERNAL 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_ZG0ZJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1593s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1593s # End of server tests 1593s # End of auth tests 1593s # End of gdbus tests 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok - glib/gdbus-auth.test 1593s # Running test: glib/init.test 1593s TAP version 13 1593s # random seed: R02Se83939b730801b7a814832f96330b2fa 1593s 1..2 1593s # Start of thread tests 1593s # Start of deprecated tests 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_5LXDK2/thread/deprecated/init/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_5LXDK2/thread/deprecated/init/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_5LXDK2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_5LXDK2/thread/deprecated/init/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_5LXDK2/thread/deprecated/init/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_5LXDK2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_5LXDK2/thread/deprecated/init/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_5LXDK2/thread/deprecated/init/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_5LXDK2/thread/deprecated/init/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_5LXDK2/thread/deprecated/init/.dirs/runtime 1593s ok 1 /thread/deprecated/init 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_5LXDK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_5LXDK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_5LXDK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_5LXDK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_5LXDK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_5LXDK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_5LXDK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_5LXDK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_5LXDK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_5LXDK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1593s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1593s # End of deprecated tests 1593s # End of thread tests 1593s ok - glib/init.test 1593s # Running test: glib/portal-support-snap.test 1593s TAP version 13 1593s # random seed: R02Sa66ac0b8a7c4de8be41b7d73ecedc686 1593s 1..7 1593s # Start of portal-support tests 1593s # Start of snap tests 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/no-snapctl/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/no-snapctl/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/no-snapctl/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/no-snapctl/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/no-snapctl/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/no-snapctl/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/no-snapctl/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/no-snapctl/.dirs/runtime 1593s # Created snap.yaml in /tmp/test_portal-support-snap_1U1CK2/meta/snap.yaml 1593s ok 1 /portal-support/snap/no-snapctl 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/none/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/none/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/none/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/none/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/none/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/none/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/none/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/none/.dirs/runtime 1593s # Created snap.yaml in /tmp/test_portal-support-snap_1U1CK2/meta/snap.yaml 1593s # Created snapctl in /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/none/.dirs/runtime/snapctl 1593s ok 2 /portal-support/snap/none 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/all/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/all/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/all/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/all/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/all/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/all/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/all/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/all/.dirs/runtime 1593s # Created snap.yaml in /tmp/test_portal-support-snap_1U1CK2/meta/snap.yaml 1593s # Created snapctl in /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/all/.dirs/runtime/snapctl 1593s ok 3 /portal-support/snap/all 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/desktop-only/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/desktop-only/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/desktop-only/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/desktop-only/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/desktop-only/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/desktop-only/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/desktop-only/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/desktop-only/.dirs/runtime 1593s # Created snap.yaml in /tmp/test_portal-support-snap_1U1CK2/meta/snap.yaml 1593s # Created snapctl in /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1593s ok 4 /portal-support/snap/desktop-only 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/network-only/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/network-only/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/network-only/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/network-only/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/network-only/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/network-only/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/network-only/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/network-only/.dirs/runtime 1593s # Created snap.yaml in /tmp/test_portal-support-snap_1U1CK2/meta/snap.yaml 1593s # Created snapctl in /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/network-only/.dirs/runtime/snapctl 1593s ok 5 /portal-support/snap/network-only 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/gsettings-only/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/gsettings-only/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/gsettings-only/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/gsettings-only/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/gsettings-only/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/gsettings-only/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/gsettings-only/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/gsettings-only/.dirs/runtime 1593s # Created snap.yaml in /tmp/test_portal-support-snap_1U1CK2/meta/snap.yaml 1593s # Created snapctl in /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1593s ok 6 /portal-support/snap/gsettings-only 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/runtime 1593s # Created snap.yaml in /tmp/test_portal-support-snap_1U1CK2/meta/snap.yaml 1593s # Created snapctl in /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1593s # Created snapctl in /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1593s # Created snapctl in /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1593s # Created snapctl in /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1593s # Created snapctl in /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1593s # Created snapctl in /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1593s # Created snapctl in /tmp/test_portal-support-snap_1U1CK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1593s ok 7 /portal-support/snap/updates-dynamically 1593s # End of snap tests 1593s # End of portal-support tests 1593s ok - glib/portal-support-snap.test 1593s # Running test: glib/performance-threaded.test 1593s Running test "liststore-is-a" 1594s 3866 runs, min/avg/max = 0.252/0.258/0.543 ms 1594s Running test "liststore-interface-peek" 1595s # Executing: glib/performance-threaded.test 1595s 6569 runs, min/avg/max = 0.148/0.152/2.435 ms 1595s Running test "liststore-interface-peek-same" 1596s 6574 runs, min/avg/max = 0.148/0.152/0.745 ms 1596s ok - glib/performance-threaded.test 1596s # Running test: glib/converter-stream.test 1596s TAP version 13 1596s # random seed: R02Sfa8b274b18fa831122682b3acc87a9f8 1596s 1..17 1596s # Start of converter tests 1596s ok 1 /converter/basics 1596s # End of converter tests 1596s # Start of converter-input-stream tests 1596s ok 2 /converter-input-stream/expander 1596s ok 3 /converter-input-stream/compressor 1596s # Start of truncation tests 1596s ok 4 /converter-input-stream/truncation/zlib 1597s ok 5 /converter-input-stream/truncation/gzip 1597s ok 6 /converter-input-stream/truncation/raw 1597s # End of truncation tests 1597s # Start of charset tests 1597s ok 7 /converter-input-stream/charset/utf8->latin1 1597s ok 8 /converter-input-stream/charset/latin1->utf8 1597s ok 9 /converter-input-stream/charset/fallbacks 1597s # End of charset tests 1597s # End of converter-input-stream tests 1597s # Start of converter-output-stream tests 1597s # Start of roundtrip tests 1597s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1597s ok 10 /converter-output-stream/roundtrip/zlib-0 1597s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1598s ok 11 /converter-output-stream/roundtrip/zlib-9 1598s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1598s ok 12 /converter-output-stream/roundtrip/gzip-0 1598s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1598s ok 13 /converter-output-stream/roundtrip/gzip-9 1598s # slow test /converter-output-stream/roundtrip/gzip-9 executed in 0.52 secs 1598s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1598s ok 14 /converter-output-stream/roundtrip/raw-0 1598s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1599s ok 15 /converter-output-stream/roundtrip/raw-9 1599s # End of roundtrip tests 1599s # End of converter-output-stream tests 1599s # Start of converter-stream tests 1599s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1599s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1d9b659cdc0 and GSocketClientAsyncConnectData 0xb1d9b6992320 1599s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1599s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1599s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1d9b65ad540 for GSocketClientAsyncConnectData 0xb1d9b6992320 1599s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1599s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1599s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1599s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1599s ok 16 /converter-stream/pollable 1599s ok 17 /converter-stream/leftover 1599s # End of converter-stream tests 1599s ok - glib/converter-stream.test 1599s # Running test: glib/test-printf.test 1599s TAP version 13 1599s # random seed: R02S0f9e56d1cf8349419bf3bb751bbfccd8 1599s 1..22 1599s # Start of snprintf tests 1599s ok 1 /snprintf/retval-and-trunc 1599s ok 2 /snprintf/%d 1599s ok 3 /snprintf/%d-invalid 1599s ok 4 /snprintf/%o 1599s ok 5 /snprintf/%u 1599s ok 6 /snprintf/%x 1599s ok 7 /snprintf/%X 1599s ok 8 /snprintf/%f 1599s ok 9 /snprintf/%e 1599s ok 10 /snprintf/%c 1599s ok 11 /snprintf/%s 1599s ok 12 /snprintf/%n 1599s ok 13 /snprintf/test-percent 1599s ok 14 /snprintf/test-positional-params 1599s ok 15 /snprintf/test-64bit 1599s # End of snprintf tests 1599s # Start of printf tests 1599s ok 16 /printf/test-percent 1599s ok 17 /printf/test-positional-params 1599s ok 18 /printf/test-64bit 1599s # Start of test-64bit tests 1599s # Start of subprocess tests 1599s # End of subprocess tests 1599s # End of test-64bit tests 1599s # End of printf tests 1599s # Start of sprintf tests 1599s ok 19 /sprintf/test-positional-params 1599s ok 20 /sprintf/upper-bound 1599s # End of sprintf tests 1599s # Start of vasprintf tests 1599s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1599s ok 21 /vasprintf/invalid-format-placeholder 1599s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1599s ok 22 /vasprintf/invalid-wide-string 1599s # End of vasprintf tests 1599s ok - glib/test-printf.test 1599s # Running test: glib/cancellable.test 1599s TAP version 13 1599s # random seed: R02S3f5225c79d9b2f70a5e721479f7cef04 1599s 1..10 1599s # Start of cancellable tests 1599s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1599s ok 2 /cancellable/null 1599s # /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 1599s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1599s # /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 1599s ok 4 /cancellable/resets-on-cancel-callback-hangs 1599s ok 5 /cancellable/poll-fd 1599s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1599s ok 6 /cancellable/poll-fd-cancelled 1599s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1599s ok 7 /cancellable/poll-fd-cancelled-threaded 1599s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1599s ok 8 /cancellable/cancel-reset-races 1599s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1599s ok 9 /cancellable/cancel-reset-connect-races 1599s # End of cancellable tests 1599s # Start of cancellable-source tests 1599s # /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) 1599s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1600s # Executing: glib/cancellable.test 1602s ok 10 /cancellable-source/threaded-dispose 1602s # slow test /cancellable-source/threaded-dispose executed in 2.41 secs 1602s # End of cancellable-source tests 1602s ok - glib/cancellable.test 1602s # Running test: glib/hash.test 1602s TAP version 13 1602s # random seed: R02Scbf3abadca47a84e390dfddb8ee0e312 1602s 1..34 1602s # Start of hash tests 1602s ok 1 /hash/misc 1602s ok 2 /hash/one 1602s ok 3 /hash/honeyman 1602s ok 4 /hash/direct 1602s ok 5 /hash/direct2 1602s ok 6 /hash/int 1602s ok 7 /hash/int64 1602s ok 8 /hash/double 1602s ok 9 /hash/string 1602s ok 10 /hash/set 1602s ok 11 /hash/set-ref 1602s ok 12 /hash/ref 1602s ok 13 /hash/remove-all 1602s ok 14 /hash/recursive-remove-all 1602s ok 15 /hash/find 1602s ok 16 /hash/foreach 1602s ok 17 /hash/foreach-steal 1602s ok 18 /hash/steal-extended 1602s ok 19 /hash/steal-all-keys 1602s ok 20 /hash/steal-all-values 1602s ok 21 /hash/lookup-extended 1602s ok 22 /hash/new-similar 1602s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1602s ok 23 /hash/lookup-null-key 1602s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1602s ok 24 /hash/destroy-modify 1602s ok 25 /hash/consistency 1602s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1602s ok 26 /hash/iter-replace 1602s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1602s ok 27 /hash/set-insert-corruption 1602s ok 28 /hash/set-to-strv 1602s ok 29 /hash/get-keys-as-ptr-array 1602s ok 30 /hash/get-values-as-ptr-array 1602s ok 31 /hash/primes 1602s # Start of int64 tests 1602s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1602s ok 32 /hash/int64/collisions 1602s # End of int64 tests 1602s # Start of double tests 1602s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1602s ok 33 /hash/double/collisions 1602s # End of double tests 1602s # Start of recursive-remove-all tests 1602s # End of recursive-remove-all tests 1602s # Start of steal-extended tests 1602s ok 34 /hash/steal-extended/optional 1602s # End of steal-extended tests 1602s # End of hash tests 1602s ok - glib/hash.test 1602s # Running test: glib/qdata.test 1602s TAP version 13 1602s # random seed: R02S3e719ad8e343608de37fbfe6d5e82cb8 1602s 1..2 1602s # Start of qdata tests 1602s ok 1 /qdata/threaded 1602s # slow test /qdata/threaded executed in 0.83 secs 1602s ok 2 /qdata/dup 1602s # End of qdata tests 1602s ok - glib/qdata.test 1602s # Running test: glib/sort.test 1602s TAP version 13 1602s # random seed: R02S5950762acaa51f3a8cab7e5cb886fa81 1602s 1..4 1602s # Start of sort tests 1602s ok 1 /sort/basic 1602s ok 2 /sort/zero-elements 1602s ok 3 /sort/stable 1602s ok 4 /sort/big 1602s # End of sort tests 1602s ok - glib/sort.test 1602s # Running test: glib/gdbus-export.test 1602s TAP version 13 1602s # random seed: R02S5269a1ee816c112e74ed477c7c489bf1 1602s 1..6 1602s # Start of gdbus tests 1602s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration/.dirs/home 1602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration/.dirs/cache 1602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration/.dirs/system-config2 1602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration/.dirs/config 1602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration/.dirs/system-data2 1602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration/.dirs/data 1602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration/.dirs/state 1602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration/.dirs/runtime 1602s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s ok 1 /gdbus/object-registration 1603s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration-with-closures/.dirs/home 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration-with-closures/.dirs/cache 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration-with-closures/.dirs/system-config2 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration-with-closures/.dirs/config 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration-with-closures/.dirs/system-data2 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration-with-closures/.dirs/data 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration-with-closures/.dirs/state 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UKWZJ2/gdbus/object-registration-with-closures/.dirs/runtime 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s ok 2 /gdbus/object-registration-with-closures 1603s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/registered-interfaces/.dirs/home 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/registered-interfaces/.dirs/cache 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UKWZJ2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_UKWZJ2/gdbus/registered-interfaces/.dirs/system-config2 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/registered-interfaces/.dirs/config 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UKWZJ2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_UKWZJ2/gdbus/registered-interfaces/.dirs/system-data2 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/registered-interfaces/.dirs/data 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/registered-interfaces/.dirs/state 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UKWZJ2/gdbus/registered-interfaces/.dirs/runtime 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s ok 3 /gdbus/registered-interfaces 1603s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/async-properties/.dirs/home 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/async-properties/.dirs/cache 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UKWZJ2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_UKWZJ2/gdbus/async-properties/.dirs/system-config2 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/async-properties/.dirs/config 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UKWZJ2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_UKWZJ2/gdbus/async-properties/.dirs/system-data2 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/async-properties/.dirs/data 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/async-properties/.dirs/state 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UKWZJ2/gdbus/async-properties/.dirs/runtime 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s ok 4 /gdbus/async-properties 1603s # Start of threaded-unregistration tests 1603s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/object/.dirs/home 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/object/.dirs/cache 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/object/.dirs/system-config2 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/object/.dirs/config 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/object/.dirs/system-data2 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/object/.dirs/data 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/object/.dirs/state 1603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/object/.dirs/runtime 1603s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1603s # /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 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1603s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1604s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # Executing: glib/gdbus-export.test 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (981 iterations with unregistration first, 19 with call first); skipping test 1607s # slow test /gdbus/threaded-unregistration/object executed in 4.71 secs 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/subtree/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/subtree/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/subtree/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/subtree/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/subtree/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UKWZJ2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1607s # /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 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1608s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1609s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # Executing: glib/gdbus-export.test 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (998 iterations with unregistration first, 2 with call first); skipping test 1612s # slow test /gdbus/threaded-unregistration/subtree executed in 4.62 secs 1612s # End of threaded-unregistration tests 1612s # End of gdbus tests 1612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1612s ok - glib/gdbus-export.test 1612s # Running test: glib/strvbuilder.test 1612s TAP version 13 1612s # random seed: R02S48ac14011d28164c22a8659adefb2b95 1612s 1..6 1612s # Start of strvbuilder tests 1612s ok 1 /strvbuilder/empty 1612s ok 2 /strvbuilder/add 1612s ok 3 /strvbuilder/addv 1612s ok 4 /strvbuilder/add_many 1612s ok 5 /strvbuilder/take 1612s ok 6 /strvbuilder/ref 1612s # End of strvbuilder tests 1612s ok - glib/strvbuilder.test 1612s # Running test: glib/pattern.test 1612s TAP version 13 1612s # random seed: R02S3e4193e8126435dfe7ee12b6e896c8c2 1612s 1..90 1612s # Start of pattern tests 1612s # Start of compile tests 1612s ok 1 /pattern/compile/0 1612s ok 2 /pattern/compile/1 1612s ok 3 /pattern/compile/2 1612s ok 4 /pattern/compile/3 1612s ok 5 /pattern/compile/4 1612s ok 6 /pattern/compile/5 1612s ok 7 /pattern/compile/6 1612s ok 8 /pattern/compile/7 1612s ok 9 /pattern/compile/8 1612s ok 10 /pattern/compile/9 1612s ok 11 /pattern/compile/10 1612s ok 12 /pattern/compile/11 1612s ok 13 /pattern/compile/12 1612s ok 14 /pattern/compile/13 1612s # End of compile tests 1612s # Start of copy tests 1612s ok 15 /pattern/copy/0 1612s ok 16 /pattern/copy/1 1612s ok 17 /pattern/copy/2 1612s ok 18 /pattern/copy/3 1612s ok 19 /pattern/copy/4 1612s ok 20 /pattern/copy/5 1612s ok 21 /pattern/copy/6 1612s ok 22 /pattern/copy/7 1612s ok 23 /pattern/copy/8 1612s ok 24 /pattern/copy/9 1612s ok 25 /pattern/copy/10 1612s ok 26 /pattern/copy/11 1612s ok 27 /pattern/copy/12 1612s ok 28 /pattern/copy/13 1612s # End of copy tests 1612s # Start of match tests 1612s ok 29 /pattern/match/0 1612s ok 30 /pattern/match/1 1612s ok 31 /pattern/match/2 1612s ok 32 /pattern/match/3 1612s ok 33 /pattern/match/4 1612s ok 34 /pattern/match/5 1612s ok 35 /pattern/match/6 1612s ok 36 /pattern/match/7 1612s ok 37 /pattern/match/8 1612s ok 38 /pattern/match/9 1612s ok 39 /pattern/match/10 1612s ok 40 /pattern/match/11 1612s ok 41 /pattern/match/12 1612s ok 42 /pattern/match/13 1612s ok 43 /pattern/match/14 1612s ok 44 /pattern/match/15 1612s ok 45 /pattern/match/16 1612s ok 46 /pattern/match/17 1612s ok 47 /pattern/match/18 1612s ok 48 /pattern/match/19 1612s ok 49 /pattern/match/20 1612s ok 50 /pattern/match/21 1612s ok 51 /pattern/match/22 1612s ok 52 /pattern/match/23 1612s ok 53 /pattern/match/24 1612s ok 54 /pattern/match/25 1612s ok 55 /pattern/match/26 1612s ok 56 /pattern/match/27 1612s ok 57 /pattern/match/28 1612s ok 58 /pattern/match/29 1612s ok 59 /pattern/match/30 1612s ok 60 /pattern/match/31 1612s ok 61 /pattern/match/32 1612s ok 62 /pattern/match/33 1612s ok 63 /pattern/match/34 1612s ok 64 /pattern/match/35 1612s ok 65 /pattern/match/36 1612s ok 66 /pattern/match/37 1612s ok 67 /pattern/match/38 1612s ok 68 /pattern/match/39 1612s ok 69 /pattern/match/40 1612s ok 70 /pattern/match/41 1612s ok 71 /pattern/match/42 1612s ok 72 /pattern/match/43 1612s ok 73 /pattern/match/44 1612s ok 74 /pattern/match/45 1612s ok 75 /pattern/match/46 1612s ok 76 /pattern/match/47 1612s ok 77 /pattern/match/48 1612s ok 78 /pattern/match/49 1612s ok 79 /pattern/match/50 1612s # End of match tests 1612s # Start of equal tests 1612s ok 80 /pattern/equal/0 1612s ok 81 /pattern/equal/1 1612s ok 82 /pattern/equal/2 1612s ok 83 /pattern/equal/3 1612s ok 84 /pattern/equal/4 1612s ok 85 /pattern/equal/5 1612s ok 86 /pattern/equal/6 1612s ok 87 /pattern/equal/7 1612s ok 88 /pattern/equal/8 1612s ok 89 /pattern/equal/9 1612s ok 90 /pattern/equal/10 1612s # End of equal tests 1612s # End of pattern tests 1612s ok - glib/pattern.test 1612s # Running test: glib/memchunk.test 1612s TAP version 13 1612s # random seed: R02S9c1fca5c941495627ee0bc534e3063d4 1612s 1..1 1612s # Start of memchunk tests 1612s ok 1 /memchunk/basic 1612s # End of memchunk tests 1612s ok - glib/memchunk.test 1612s # Running test: glib/gdbus-proxy-unique-name.test 1612s TAP version 13 1612s # random seed: R02Sa5030186bdd5e72552b205bcbea83e05 1612s 1..1 1612s # Start of gdbus tests 1612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_SV83J2/gdbus/proxy-unique-name/.dirs/home 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_SV83J2/gdbus/proxy-unique-name/.dirs/cache 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_SV83J2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_SV83J2/gdbus/proxy-unique-name/.dirs/system-config2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_SV83J2/gdbus/proxy-unique-name/.dirs/config 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_SV83J2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_SV83J2/gdbus/proxy-unique-name/.dirs/system-data2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_SV83J2/gdbus/proxy-unique-name/.dirs/data 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_SV83J2/gdbus/proxy-unique-name/.dirs/state 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_SV83J2/gdbus/proxy-unique-name/.dirs/runtime 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1612s ok 1 /gdbus/proxy-unique-name 1612s # End of gdbus tests 1612s ok - glib/gdbus-proxy-unique-name.test 1612s # Running test: glib/tls-interaction.test 1612s TAP version 13 1612s # random seed: R02S9213f7f4528edefa7de2979260d95908 1612s 1..42 1612s # Start of tls-interaction tests 1612s # Start of ask-password tests 1612s # Start of invoke-with-loop tests 1612s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1612s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1612s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1612s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1612s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1612s # End of invoke-with-loop tests 1612s # Start of invoke-without-loop tests 1612s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1612s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1612s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1612s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1612s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1612s # End of invoke-without-loop tests 1612s # Start of invoke-in-loop tests 1612s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1612s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1612s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1612s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1612s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1612s # End of invoke-in-loop tests 1612s # Start of sync tests 1612s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1612s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1612s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1612s # End of sync tests 1612s # Start of async tests 1612s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1612s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1612s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1612s # End of async tests 1612s # End of ask-password tests 1612s # Start of request-certificate tests 1612s # Start of invoke-with-loop tests 1612s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1612s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1612s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1612s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1612s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1612s # End of invoke-with-loop tests 1612s # Start of invoke-without-loop tests 1612s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1612s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1612s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1612s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1612s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1612s # End of invoke-without-loop tests 1612s # Start of invoke-in-loop tests 1612s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1612s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1612s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1612s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1612s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1612s # End of invoke-in-loop tests 1612s # Start of sync tests 1612s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1612s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1612s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1612s # End of sync tests 1612s # Start of async tests 1612s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1612s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1612s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1612s # End of async tests 1612s # End of request-certificate tests 1612s # End of tls-interaction tests 1612s ok - glib/tls-interaction.test 1612s # Running test: glib/portal-support-flatpak-none.test 1612s TAP version 13 1612s # random seed: R02Saaec1b23c3d2f5e6dacea25e6f4f018b 1612s 1..1 1612s # Start of portal-support tests 1612s # Start of flatpak tests 1612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_YJ85J2/portal-support/flatpak/none/.dirs/home 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_YJ85J2/portal-support/flatpak/none/.dirs/cache 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_YJ85J2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_YJ85J2/portal-support/flatpak/none/.dirs/system-config2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_YJ85J2/portal-support/flatpak/none/.dirs/config 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_YJ85J2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_YJ85J2/portal-support/flatpak/none/.dirs/system-data2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_YJ85J2/portal-support/flatpak/none/.dirs/data 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_YJ85J2/portal-support/flatpak/none/.dirs/state 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_YJ85J2/portal-support/flatpak/none/.dirs/runtime 1612s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_YJ85J2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1612s ok 1 /portal-support/flatpak/none 1612s # End of flatpak tests 1612s # End of portal-support tests 1612s ok - glib/portal-support-flatpak-none.test 1612s # Running test: glib/properties-introspection.test 1612s TAP version 13 1612s # random seed: R02Sc4cab9fb4aabccae94a12b9cb300d194 1612s 1..2 1612s # Start of properties tests 1612s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1612s ok 1 /properties/introspection 1612s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1612s ok 2 /properties/collision 1612s # End of properties tests 1612s ok - glib/properties-introspection.test 1612s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1612s TAP version 13 1612s # random seed: R02Sfdcff3add706a2a92c1bb66787381d0b 1612s 1..8 1612s # Start of gdbus tests 1612s # Start of codegen tests 1612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/annotations/.dirs/home 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/annotations/.dirs/cache 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/annotations/.dirs/system-config2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/annotations/.dirs/config 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/annotations/.dirs/system-data2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/annotations/.dirs/data 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/annotations/.dirs/state 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/annotations/.dirs/runtime 1612s ok 1 /gdbus/codegen/annotations 1612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/interface_stability/.dirs/home 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/interface_stability/.dirs/cache 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/interface_stability/.dirs/system-config2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/interface_stability/.dirs/config 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/interface_stability/.dirs/system-data2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/interface_stability/.dirs/data 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/interface_stability/.dirs/state 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/interface_stability/.dirs/runtime 1612s ok 2 /gdbus/codegen/interface_stability 1612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/object-manager/.dirs/home 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/object-manager/.dirs/cache 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/object-manager/.dirs/system-config2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/object-manager/.dirs/config 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/object-manager/.dirs/system-data2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/object-manager/.dirs/data 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/object-manager/.dirs/state 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/object-manager/.dirs/runtime 1612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1613s ok 3 /gdbus/codegen/object-manager 1613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/property-naming/.dirs/home 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/property-naming/.dirs/cache 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/property-naming/.dirs/system-config2 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/property-naming/.dirs/config 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/property-naming/.dirs/system-data2 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/property-naming/.dirs/data 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/property-naming/.dirs/state 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/property-naming/.dirs/runtime 1613s ok 4 /gdbus/codegen/property-naming 1613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/autocleanups/.dirs/home 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/autocleanups/.dirs/cache 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/autocleanups/.dirs/system-config2 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/autocleanups/.dirs/config 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/autocleanups/.dirs/system-data2 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/autocleanups/.dirs/data 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/autocleanups/.dirs/state 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/autocleanups/.dirs/runtime 1613s ok 5 /gdbus/codegen/autocleanups 1613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/deprecations/.dirs/home 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/deprecations/.dirs/cache 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/deprecations/.dirs/system-config2 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/deprecations/.dirs/config 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/deprecations/.dirs/system-data2 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/deprecations/.dirs/data 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/deprecations/.dirs/state 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/deprecations/.dirs/runtime 1613s ok 6 /gdbus/codegen/deprecations 1613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/standalone-interface-info/.dirs/home 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/standalone-interface-info/.dirs/cache 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/standalone-interface-info/.dirs/config 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/standalone-interface-info/.dirs/data 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/standalone-interface-info/.dirs/state 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1613s ok 7 /gdbus/codegen/standalone-interface-info 1613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/unix-fd-list/.dirs/home 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/unix-fd-list/.dirs/cache 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/unix-fd-list/.dirs/config 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/unix-fd-list/.dirs/data 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/unix-fd-list/.dirs/state 1613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_P0EWJ2/gdbus/codegen/unix-fd-list/.dirs/runtime 1613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1613s ok 8 /gdbus/codegen/unix-fd-list 1613s # End of codegen tests 1613s # End of gdbus tests 1613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1613s cleaning up pid 6197 1613s ok - glib/gdbus-test-codegen-min-required-2-64.test 1613s # Running test: glib/tls-bindings.test 1613s TAP version 13 1613s # random seed: R02Sfe67f55ba2343497b1655dbbe8e2d2f6 1613s 1..2 1613s # Start of tls-connection tests 1613s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1613s ok 1 /tls-connection/get-tls-channel-binding 1613s ok 2 /tls-connection/get-dtls-channel-binding 1613s # End of tls-connection tests 1613s ok - glib/tls-bindings.test 1613s # Running test: glib/utf8-misc.test 1613s TAP version 13 1613s # random seed: R02Sa8fa7ae28cd05a5250899038dc89aab8 1613s 1..7 1613s # Start of utf8 tests 1613s ok 1 /utf8/strlen 1613s ok 2 /utf8/strncpy 1613s ok 3 /utf8/strrchr 1613s ok 4 /utf8/reverse 1613s ok 5 /utf8/substring 1613s ok 6 /utf8/make-valid 1613s ok 7 /utf8/truncate-middle 1613s # End of utf8 tests 1613s ok - glib/utf8-misc.test 1613s # Running test: glib/trash.test 1613s TAP version 13 1613s # random seed: R02Sda00833a30d41fb09c33a102f251621a 1613s 1..2 1613s # Start of trash tests 1613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1613s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1613s # File: /tmp/test-trash5CVGK2 (parent st_dev: 2049) 1613s # Home: /home/ubuntu (st_dev: 2049) 1613s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1613s # Target: /home/ubuntu/.local (mount: /) 1613s # Tmp: /tmp/test-trash47KFK2 (mount: /) 1613s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 1613s # End of trash tests 1613s ok - glib/trash.test 1613s # Running test: glib/option-argv0.test 1613s TAP version 13 1613s # random seed: R02Sb5fccad003ce97a76fbd0a1c9b9a7518 1613s 1..1 1613s # Start of option tests 1613s ok 1 /option/argv0 1613s # End of option tests 1613s ok - glib/option-argv0.test 1613s # Running test: glib/buffered-output-stream.test 1613s TAP version 13 1613s # random seed: R02Sfb4c3da934cb00c575896a5f6a92c372 1613s 1..5 1613s # Start of buffered-output-stream tests 1613s ok 1 /buffered-output-stream/write 1613s ok 2 /buffered-output-stream/grow 1613s ok 3 /buffered-output-stream/seek 1613s ok 4 /buffered-output-stream/truncate 1613s # End of buffered-output-stream tests 1613s # Start of filter-output-stream tests 1613s ok 5 /filter-output-stream/close 1613s # End of filter-output-stream tests 1613s ok - glib/buffered-output-stream.test 1613s # Running test: glib/glistmodel.test 1613s TAP version 13 1613s # random seed: R02Sb49e3f21c46880fb5e5844e62e6237cd 1613s 1..18 1613s # Start of glistmodel tests 1613s # Start of store tests 1613s ok 1 /glistmodel/store/properties 1613s ok 2 /glistmodel/store/non-gobjects 1613s ok 3 /glistmodel/store/boundaries 1613s ok 4 /glistmodel/store/refcounts 1613s ok 5 /glistmodel/store/sorted 1613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1613s ok 6 /glistmodel/store/splice-replace-middle 1613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1613s ok 7 /glistmodel/store/splice-replace-all 1613s ok 8 /glistmodel/store/splice-noop 1613s ok 9 /glistmodel/store/splice-remove-multiple 1613s ok 10 /glistmodel/store/splice-add-multiple 1613s ok 11 /glistmodel/store/splice-wrong-type 1613s ok 12 /glistmodel/store/item-type 1613s ok 13 /glistmodel/store/remove-all 1613s ok 14 /glistmodel/store/sort 1613s ok 15 /glistmodel/store/get-item-cache 1613s ok 16 /glistmodel/store/items-changed 1613s ok 17 /glistmodel/store/past-end 1613s ok 18 /glistmodel/store/find 1613s # End of store tests 1613s # End of glistmodel tests 1613s ok - glib/glistmodel.test 1613s # Running test: glib/thread-pool.test 1613s TAP version 13 1613s # random seed: R02Sd7b65225ab7cd62a42f2d2b373448252 1613s 1..5 1613s # Start of thread_pool tests 1613s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1613s ok 1 /thread_pool/shared 1613s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1613s ok 2 /thread_pool/exclusive 1613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1613s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1613s ok 3 /thread_pool/create_shared_after_exclusive 1613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1613s ok 4 /thread_pool/create_full 1613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1613s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1613s ok 5 /thread_pool/create_exclusive_after_shared 1613s # End of thread_pool tests 1613s ok - glib/thread-pool.test 1613s # Running test: glib/memory-output-stream.test 1613s TAP version 13 1613s # random seed: R02Sfb9e4f1cb0234ff00f0c829cc058ebc8 1613s 1..10 1613s # Start of memory-output-stream tests 1613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1613s ok 1 /memory-output-stream/truncate 1613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1613s ok 2 /memory-output-stream/get-data-size 1613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1613s ok 3 /memory-output-stream/properties 1613s ok 4 /memory-output-stream/write-bytes 1613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1613s ok 5 /memory-output-stream/write-null 1613s ok 6 /memory-output-stream/writev 1613s ok 7 /memory-output-stream/writev_nonblocking 1613s ok 8 /memory-output-stream/steal_as_bytes 1613s # Start of seek tests 1613s ok 9 /memory-output-stream/seek/fixed 1613s ok 10 /memory-output-stream/seek/resizable 1613s # End of seek tests 1613s # End of memory-output-stream tests 1613s ok - glib/memory-output-stream.test 1613s # Running test: glib/gutils-user-database.test 1613s TAP version 13 1613s # random seed: R02Sa2e7cccf878f9cc450a328154ba7da4b 1613s 1..1 1613s # Start of gutils tests 1613s ok 1 /gutils/get_user_database_entry 1613s # End of gutils tests 1613s ok - glib/gutils-user-database.test 1613s # Running test: glib/regex.test 1613s TAP version 13 1613s # random seed: R02S93df2744d53bcd3a28f0adcb25c2c577 1613s 1..848 1613s # Start of regex tests 1613s ok 1 /regex/properties 1613s ok 2 /regex/class 1613s ok 3 /regex/lookahead 1613s ok 4 /regex/lookbehind 1613s ok 5 /regex/subpattern 1613s ok 6 /regex/condition 1613s ok 7 /regex/recursion 1613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1613s ok 8 /regex/multiline 1613s ok 9 /regex/explicit-crlf 1613s ok 10 /regex/max-lookbehind 1613s ok 11 /regex/compile-errors 1613s ok 12 /regex/jit-unsupported-matching 1613s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1613s ok 13 /regex/unmatched-named-subpattern 1613s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1613s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1613s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1613s ok 14 /regex/compiled-regex-after-jit-failure 1613s # Start of new tests 1613s ok 15 /regex/new/1 1613s ok 16 /regex/new/2 1613s ok 17 /regex/new/3 1613s ok 18 /regex/new/4 1613s ok 19 /regex/new/5 1613s ok 20 /regex/new/6 1613s ok 21 /regex/new/7 1613s ok 22 /regex/new/8 1613s ok 23 /regex/new/9 1613s ok 24 /regex/new/10 1613s ok 25 /regex/new/11 1613s ok 26 /regex/new/12 1613s ok 27 /regex/new/13 1613s ok 28 /regex/new/14 1613s ok 29 /regex/new/15 1613s ok 30 /regex/new/16 1613s ok 31 /regex/new/17 1613s ok 32 /regex/new/18 1613s ok 33 /regex/new/19 1613s ok 34 /regex/new/71 1613s ok 35 /regex/new/80 1613s ok 36 /regex/new/82 1613s # End of new tests 1613s # Start of new-check-flags tests 1613s ok 37 /regex/new-check-flags/20 1613s ok 38 /regex/new-check-flags/21 1613s ok 39 /regex/new-check-flags/22 1613s ok 40 /regex/new-check-flags/23 1613s ok 41 /regex/new-check-flags/24 1613s ok 42 /regex/new-check-flags/25 1613s ok 43 /regex/new-check-flags/26 1613s ok 44 /regex/new-check-flags/27 1613s ok 45 /regex/new-check-flags/28 1613s ok 46 /regex/new-check-flags/29 1613s ok 47 /regex/new-check-flags/30 1613s ok 48 /regex/new-check-flags/31 1613s ok 49 /regex/new-check-flags/32 1613s ok 50 /regex/new-check-flags/33 1613s ok 51 /regex/new-check-flags/34 1613s ok 52 /regex/new-check-flags/35 1613s ok 53 /regex/new-check-flags/36 1613s # End of new-check-flags tests 1613s # Start of new-fail tests 1613s ok 54 /regex/new-fail/37 1613s ok 55 /regex/new-fail/38 1613s ok 56 /regex/new-fail/39 1613s ok 57 /regex/new-fail/40 1613s ok 58 /regex/new-fail/41 1613s ok 59 /regex/new-fail/42 1613s ok 60 /regex/new-fail/43 1613s ok 61 /regex/new-fail/44 1613s ok 62 /regex/new-fail/45 1613s ok 63 /regex/new-fail/46 1613s ok 64 /regex/new-fail/47 1613s ok 65 /regex/new-fail/48 1613s ok 66 /regex/new-fail/49 1613s ok 67 /regex/new-fail/50 1613s ok 68 /regex/new-fail/51 1613s ok 69 /regex/new-fail/52 1613s ok 70 /regex/new-fail/53 1613s ok 71 /regex/new-fail/54 1613s ok 72 /regex/new-fail/55 1613s ok 73 /regex/new-fail/56 1613s ok 74 /regex/new-fail/57 1613s ok 75 /regex/new-fail/58 1613s ok 76 /regex/new-fail/59 1613s ok 77 /regex/new-fail/60 1613s ok 78 /regex/new-fail/61 1613s ok 79 /regex/new-fail/62 1613s ok 80 /regex/new-fail/63 1613s ok 81 /regex/new-fail/64 1613s ok 82 /regex/new-fail/65 1613s ok 83 /regex/new-fail/66 1613s ok 84 /regex/new-fail/67 1613s ok 85 /regex/new-fail/68 1613s ok 86 /regex/new-fail/69 1613s ok 87 /regex/new-fail/70 1613s ok 88 /regex/new-fail/72 1613s ok 89 /regex/new-fail/73 1613s ok 90 /regex/new-fail/74 1613s ok 91 /regex/new-fail/75 1613s ok 92 /regex/new-fail/76 1613s ok 93 /regex/new-fail/77 1613s ok 94 /regex/new-fail/78 1613s ok 95 /regex/new-fail/79 1613s ok 96 /regex/new-fail/81 1613s ok 97 /regex/new-fail/83 1613s ok 98 /regex/new-fail/84 1613s ok 99 /regex/new-fail/85 1613s ok 100 /regex/new-fail/86 1613s ok 101 /regex/new-fail/87 1613s ok 102 /regex/new-fail/88 1613s ok 103 /regex/new-fail/89 1613s ok 104 /regex/new-fail/90 1613s ok 105 /regex/new-fail/91 1613s # End of new-fail tests 1613s # Start of match-simple tests 1613s ok 106 /regex/match-simple/92 1613s ok 107 /regex/match-simple/93 1613s ok 108 /regex/match-simple/94 1613s ok 109 /regex/match-simple/95 1613s ok 110 /regex/match-simple/96 1613s ok 111 /regex/match-simple/97 1613s ok 112 /regex/match-simple/98 1613s ok 113 /regex/match-simple/99 1613s ok 114 /regex/match-simple/100 1613s ok 115 /regex/match-simple/101 1613s ok 116 /regex/match-simple/102 1613s ok 117 /regex/match-simple/103 1613s ok 118 /regex/match-simple/104 1613s ok 119 /regex/match-simple/105 1613s ok 120 /regex/match-simple/106 1613s ok 121 /regex/match-simple/107 1613s ok 122 /regex/match-simple/108 1613s ok 123 /regex/match-simple/109 1613s ok 124 /regex/match-simple/110 1613s ok 125 /regex/match-simple/111 1613s ok 126 /regex/match-simple/112 1613s ok 127 /regex/match-simple/113 1613s ok 128 /regex/match-simple/114 1613s ok 129 /regex/match-simple/115 1613s ok 130 /regex/match-simple/116 1613s ok 131 /regex/match-simple/117 1613s ok 132 /regex/match-simple/118 1613s ok 133 /regex/match-simple/119 1613s ok 134 /regex/match-simple/120 1613s ok 135 /regex/match-simple/121 1613s ok 136 /regex/match-simple/122 1613s ok 137 /regex/match-simple/123 1613s ok 138 /regex/match-simple/124 1613s ok 139 /regex/match-simple/125 1613s ok 140 /regex/match-simple/126 1613s ok 141 /regex/match-simple/127 1613s ok 142 /regex/match-simple/128 1613s ok 143 /regex/match-simple/129 1613s ok 144 /regex/match-simple/130 1613s ok 145 /regex/match-simple/131 1613s ok 146 /regex/match-simple/132 1613s ok 147 /regex/match-simple/133 1613s ok 148 /regex/match-simple/134 1613s ok 149 /regex/match-simple/135 1613s ok 150 /regex/match-simple/136 1613s ok 151 /regex/match-simple/137 1613s ok 152 /regex/match-simple/138 1613s ok 153 /regex/match-simple/139 1613s ok 154 /regex/match-simple/140 1613s ok 155 /regex/match-simple/141 1613s ok 156 /regex/match-simple/142 1613s ok 157 /regex/match-simple/143 1613s ok 158 /regex/match-simple/144 1613s ok 159 /regex/match-simple/145 1613s ok 160 /regex/match-simple/146 1613s ok 161 /regex/match-simple/147 1613s ok 162 /regex/match-simple/148 1613s ok 163 /regex/match-simple/149 1613s ok 164 /regex/match-simple/150 1613s ok 165 /regex/match-simple/151 1613s ok 166 /regex/match-simple/152 1613s ok 167 /regex/match-simple/153 1613s ok 168 /regex/match-simple/154 1613s ok 169 /regex/match-simple/155 1613s ok 170 /regex/match-simple/156 1613s ok 171 /regex/match-simple/157 1613s ok 172 /regex/match-simple/158 1613s ok 173 /regex/match-simple/159 1613s ok 174 /regex/match-simple/160 1613s ok 175 /regex/match-simple/161 1613s ok 176 /regex/match-simple/162 1613s ok 177 /regex/match-simple/163 1613s ok 178 /regex/match-simple/164 1613s # End of match-simple tests 1613s # Start of match-simple-optimized tests 1613s ok 179 /regex/match-simple-optimized/92 1613s ok 180 /regex/match-simple-optimized/93 1613s ok 181 /regex/match-simple-optimized/94 1613s ok 182 /regex/match-simple-optimized/95 1613s ok 183 /regex/match-simple-optimized/96 1613s ok 184 /regex/match-simple-optimized/97 1613s ok 185 /regex/match-simple-optimized/98 1613s ok 186 /regex/match-simple-optimized/99 1613s ok 187 /regex/match-simple-optimized/100 1613s ok 188 /regex/match-simple-optimized/101 1613s ok 189 /regex/match-simple-optimized/102 1613s ok 190 /regex/match-simple-optimized/103 1613s ok 191 /regex/match-simple-optimized/104 1613s ok 192 /regex/match-simple-optimized/105 1613s ok 193 /regex/match-simple-optimized/106 1613s ok 194 /regex/match-simple-optimized/107 1613s ok 195 /regex/match-simple-optimized/108 1613s ok 196 /regex/match-simple-optimized/109 1613s ok 197 /regex/match-simple-optimized/110 1613s ok 198 /regex/match-simple-optimized/111 1613s ok 199 /regex/match-simple-optimized/112 1613s ok 200 /regex/match-simple-optimized/113 1613s ok 201 /regex/match-simple-optimized/114 1613s ok 202 /regex/match-simple-optimized/115 1613s ok 203 /regex/match-simple-optimized/116 1613s ok 204 /regex/match-simple-optimized/117 1614s ok 205 /regex/match-simple-optimized/118 1614s ok 206 /regex/match-simple-optimized/119 1614s ok 207 /regex/match-simple-optimized/120 1614s ok 208 /regex/match-simple-optimized/121 1614s ok 209 /regex/match-simple-optimized/122 1614s ok 210 /regex/match-simple-optimized/123 1614s ok 211 /regex/match-simple-optimized/124 1614s ok 212 /regex/match-simple-optimized/125 1614s ok 213 /regex/match-simple-optimized/126 1614s ok 214 /regex/match-simple-optimized/127 1614s ok 215 /regex/match-simple-optimized/128 1614s ok 216 /regex/match-simple-optimized/129 1614s ok 217 /regex/match-simple-optimized/130 1614s ok 218 /regex/match-simple-optimized/131 1614s ok 219 /regex/match-simple-optimized/132 1614s ok 220 /regex/match-simple-optimized/133 1614s ok 221 /regex/match-simple-optimized/134 1614s ok 222 /regex/match-simple-optimized/135 1614s ok 223 /regex/match-simple-optimized/136 1614s ok 224 /regex/match-simple-optimized/137 1614s ok 225 /regex/match-simple-optimized/138 1614s ok 226 /regex/match-simple-optimized/139 1614s ok 227 /regex/match-simple-optimized/140 1614s ok 228 /regex/match-simple-optimized/141 1614s ok 229 /regex/match-simple-optimized/142 1614s ok 230 /regex/match-simple-optimized/143 1614s ok 231 /regex/match-simple-optimized/144 1614s ok 232 /regex/match-simple-optimized/145 1614s ok 233 /regex/match-simple-optimized/146 1614s ok 234 /regex/match-simple-optimized/147 1614s ok 235 /regex/match-simple-optimized/148 1614s ok 236 /regex/match-simple-optimized/149 1614s ok 237 /regex/match-simple-optimized/150 1614s ok 238 /regex/match-simple-optimized/151 1614s ok 239 /regex/match-simple-optimized/152 1614s ok 240 /regex/match-simple-optimized/153 1614s ok 241 /regex/match-simple-optimized/154 1614s ok 242 /regex/match-simple-optimized/155 1614s ok 243 /regex/match-simple-optimized/156 1614s ok 244 /regex/match-simple-optimized/157 1614s ok 245 /regex/match-simple-optimized/158 1614s ok 246 /regex/match-simple-optimized/159 1614s ok 247 /regex/match-simple-optimized/160 1614s ok 248 /regex/match-simple-optimized/161 1614s ok 249 /regex/match-simple-optimized/162 1614s ok 250 /regex/match-simple-optimized/163 1614s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1614s ok 251 /regex/match-simple-optimized/164 1614s # End of match-simple-optimized tests 1614s # Start of match tests 1614s ok 252 /regex/match/165 1614s ok 253 /regex/match/166 1614s ok 254 /regex/match/167 1614s ok 255 /regex/match/168 1614s ok 256 /regex/match/169 1614s ok 257 /regex/match/170 1614s ok 258 /regex/match/171 1614s ok 259 /regex/match/172 1614s ok 260 /regex/match/173 1614s ok 261 /regex/match/174 1614s ok 262 /regex/match/175 1614s ok 263 /regex/match/176 1614s ok 264 /regex/match/177 1614s ok 265 /regex/match/178 1614s ok 266 /regex/match/179 1614s ok 267 /regex/match/180 1614s ok 268 /regex/match/181 1614s ok 269 /regex/match/182 1614s ok 270 /regex/match/183 1614s ok 271 /regex/match/184 1614s ok 272 /regex/match/185 1614s ok 273 /regex/match/186 1614s ok 274 /regex/match/187 1614s ok 275 /regex/match/188 1614s ok 276 /regex/match/189 1614s ok 277 /regex/match/190 1614s ok 278 /regex/match/191 1614s ok 279 /regex/match/192 1614s ok 280 /regex/match/193 1614s ok 281 /regex/match/194 1614s ok 282 /regex/match/195 1614s ok 283 /regex/match/196 1614s ok 284 /regex/match/197 1614s ok 285 /regex/match/198 1614s ok 286 /regex/match/199 1614s ok 287 /regex/match/200 1614s ok 288 /regex/match/201 1614s ok 289 /regex/match/202 1614s ok 290 /regex/match/203 1614s ok 291 /regex/match/204 1614s ok 292 /regex/match/205 1614s ok 293 /regex/match/206 1614s ok 294 /regex/match/207 1614s ok 295 /regex/match/208 1614s ok 296 /regex/match/209 1614s ok 297 /regex/match/210 1614s ok 298 /regex/match/211 1614s ok 299 /regex/match/212 1614s ok 300 /regex/match/213 1614s ok 301 /regex/match/214 1614s ok 302 /regex/match/215 1614s ok 303 /regex/match/216 1614s ok 304 /regex/match/217 1614s ok 305 /regex/match/218 1614s ok 306 /regex/match/219 1614s ok 307 /regex/match/220 1614s ok 308 /regex/match/221 1614s ok 309 /regex/match/222 1614s ok 310 /regex/match/223 1614s ok 311 /regex/match/224 1614s ok 312 /regex/match/225 1614s ok 313 /regex/match/226 1614s ok 314 /regex/match/227 1614s ok 315 /regex/match/228 1614s ok 316 /regex/match/229 1614s ok 317 /regex/match/230 1614s ok 318 /regex/match/231 1614s ok 319 /regex/match/232 1614s ok 320 /regex/match/233 1614s ok 321 /regex/match/234 1614s ok 322 /regex/match/235 1614s ok 323 /regex/match/236 1614s ok 324 /regex/match/237 1614s ok 325 /regex/match/238 1614s ok 326 /regex/match/239 1614s ok 327 /regex/match/240 1614s ok 328 /regex/match/241 1614s ok 329 /regex/match/242 1614s ok 330 /regex/match/243 1614s ok 331 /regex/match/244 1614s ok 332 /regex/match/245 1614s ok 333 /regex/match/246 1614s ok 334 /regex/match/partial281 1614s ok 335 /regex/match/partial282 1614s ok 336 /regex/match/partial283 1614s ok 337 /regex/match/partial284 1614s ok 338 /regex/match/partial285 1614s ok 339 /regex/match/partial286 1614s ok 340 /regex/match/partial287 1614s ok 341 /regex/match/partial288 1614s ok 342 /regex/match/partial289 1614s ok 343 /regex/match/partial290 1614s ok 344 /regex/match/partial291 1614s ok 345 /regex/match/partial292 1614s ok 346 /regex/match/partial293 1614s ok 347 /regex/match/partial294 1614s ok 348 /regex/match/partial295 1614s ok 349 /regex/match/partial296 1614s ok 350 /regex/match/partial297 1614s ok 351 /regex/match/partial298 1614s ok 352 /regex/match/partial299 1614s ok 353 /regex/match/partial300 1614s ok 354 /regex/match/partial301 1614s ok 355 /regex/match/partial302 1614s # Start of next0 tests 1614s ok 356 /regex/match/next0/247 1614s ok 357 /regex/match/next0/248 1614s ok 358 /regex/match/next0/249 1614s ok 359 /regex/match/next0/250 1614s # End of next0 tests 1614s # Start of next1 tests 1614s ok 360 /regex/match/next1/251 1614s ok 361 /regex/match/next1/252 1614s ok 362 /regex/match/next1/253 1614s ok 363 /regex/match/next1/254 1614s ok 364 /regex/match/next1/255 1614s # End of next1 tests 1614s # Start of next2 tests 1614s ok 365 /regex/match/next2/256 1614s ok 366 /regex/match/next2/257 1614s ok 367 /regex/match/next2/258 1614s ok 368 /regex/match/next2/259 1614s ok 369 /regex/match/next2/260 1614s ok 370 /regex/match/next2/261 1614s ok 371 /regex/match/next2/262 1614s ok 372 /regex/match/next2/263 1614s # End of next2 tests 1614s # Start of next3 tests 1614s ok 373 /regex/match/next3/264 1614s ok 374 /regex/match/next3/265 1614s ok 375 /regex/match/next3/266 1614s ok 376 /regex/match/next3/267 1614s ok 377 /regex/match/next3/268 1614s ok 378 /regex/match/next3/269 1614s # End of next3 tests 1614s # Start of next4 tests 1614s ok 379 /regex/match/next4/270 1614s # End of next4 tests 1614s # Start of count tests 1614s ok 380 /regex/match/count/271 1614s ok 381 /regex/match/count/272 1614s ok 382 /regex/match/count/273 1614s ok 383 /regex/match/count/274 1614s ok 384 /regex/match/count/275 1614s ok 385 /regex/match/count/276 1614s ok 386 /regex/match/count/277 1614s ok 387 /regex/match/count/278 1614s ok 388 /regex/match/count/279 1614s ok 389 /regex/match/count/280 1614s # End of count tests 1614s # Start of count-optimized tests 1614s ok 390 /regex/match/count-optimized/271 1614s ok 391 /regex/match/count-optimized/272 1614s ok 392 /regex/match/count-optimized/273 1614s ok 393 /regex/match/count-optimized/274 1614s ok 394 /regex/match/count-optimized/275 1614s ok 395 /regex/match/count-optimized/276 1614s ok 396 /regex/match/count-optimized/277 1614s ok 397 /regex/match/count-optimized/278 1614s ok 398 /regex/match/count-optimized/279 1614s ok 399 /regex/match/count-optimized/280 1614s # End of count-optimized tests 1614s # Start of partial-optimized tests 1614s ok 400 /regex/match/partial-optimized/281 1614s ok 401 /regex/match/partial-optimized/282 1614s ok 402 /regex/match/partial-optimized/283 1614s ok 403 /regex/match/partial-optimized/284 1614s ok 404 /regex/match/partial-optimized/285 1614s ok 405 /regex/match/partial-optimized/286 1614s ok 406 /regex/match/partial-optimized/287 1614s ok 407 /regex/match/partial-optimized/288 1614s ok 408 /regex/match/partial-optimized/289 1614s ok 409 /regex/match/partial-optimized/290 1614s ok 410 /regex/match/partial-optimized/291 1614s ok 411 /regex/match/partial-optimized/292 1614s ok 412 /regex/match/partial-optimized/293 1614s ok 413 /regex/match/partial-optimized/294 1614s ok 414 /regex/match/partial-optimized/295 1614s ok 415 /regex/match/partial-optimized/296 1614s ok 416 /regex/match/partial-optimized/297 1614s ok 417 /regex/match/partial-optimized/298 1614s ok 418 /regex/match/partial-optimized/299 1614s ok 419 /regex/match/partial-optimized/300 1614s ok 420 /regex/match/partial-optimized/301 1614s ok 421 /regex/match/partial-optimized/302 1614s # End of partial-optimized tests 1614s # Start of subpattern tests 1614s ok 422 /regex/match/subpattern/303 1614s ok 423 /regex/match/subpattern/304 1614s ok 424 /regex/match/subpattern/305 1614s ok 425 /regex/match/subpattern/306 1614s ok 426 /regex/match/subpattern/307 1614s ok 427 /regex/match/subpattern/308 1614s ok 428 /regex/match/subpattern/309 1614s ok 429 /regex/match/subpattern/310 1614s ok 430 /regex/match/subpattern/311 1614s ok 431 /regex/match/subpattern/312 1614s ok 432 /regex/match/subpattern/313 1614s ok 433 /regex/match/subpattern/314 1614s ok 434 /regex/match/subpattern/315 1614s # Start of named tests 1614s # Start of dupnames tests 1614s ok 435 /regex/match/subpattern/named/dupnames/325 1614s ok 436 /regex/match/subpattern/named/dupnames/326 1614s ok 437 /regex/match/subpattern/named/dupnames/327 1614s ok 438 /regex/match/subpattern/named/dupnames/328 1614s ok 439 /regex/match/subpattern/named/dupnames/329 1614s # End of dupnames tests 1614s # End of named tests 1614s # End of subpattern tests 1614s # Start of subpattern-optimized tests 1614s ok 440 /regex/match/subpattern-optimized/303 1614s ok 441 /regex/match/subpattern-optimized/304 1614s ok 442 /regex/match/subpattern-optimized/305 1614s ok 443 /regex/match/subpattern-optimized/306 1614s ok 444 /regex/match/subpattern-optimized/307 1614s ok 445 /regex/match/subpattern-optimized/308 1614s ok 446 /regex/match/subpattern-optimized/309 1614s ok 447 /regex/match/subpattern-optimized/310 1614s ok 448 /regex/match/subpattern-optimized/311 1614s ok 449 /regex/match/subpattern-optimized/312 1614s ok 450 /regex/match/subpattern-optimized/313 1614s ok 451 /regex/match/subpattern-optimized/314 1614s ok 452 /regex/match/subpattern-optimized/315 1614s # End of subpattern-optimized tests 1614s # Start of named tests 1614s # Start of subpattern tests 1614s ok 453 /regex/match/named/subpattern/316 1614s ok 454 /regex/match/named/subpattern/317 1614s ok 455 /regex/match/named/subpattern/318 1614s ok 456 /regex/match/named/subpattern/319 1614s ok 457 /regex/match/named/subpattern/320 1614s ok 458 /regex/match/named/subpattern/321 1614s ok 459 /regex/match/named/subpattern/322 1614s ok 460 /regex/match/named/subpattern/323 1614s ok 461 /regex/match/named/subpattern/324 1614s ok 462 /regex/match/named/subpattern/330 1614s ok 463 /regex/match/named/subpattern/331 1614s ok 464 /regex/match/named/subpattern/332 1614s ok 465 /regex/match/named/subpattern/333 1614s ok 466 /regex/match/named/subpattern/334 1614s # End of subpattern tests 1614s # End of named tests 1614s # End of match tests 1614s # Start of match-optimized tests 1614s ok 467 /regex/match-optimized/165 1614s ok 468 /regex/match-optimized/166 1614s ok 469 /regex/match-optimized/167 1614s ok 470 /regex/match-optimized/168 1614s ok 471 /regex/match-optimized/169 1614s ok 472 /regex/match-optimized/170 1614s ok 473 /regex/match-optimized/171 1614s ok 474 /regex/match-optimized/172 1614s ok 475 /regex/match-optimized/173 1614s ok 476 /regex/match-optimized/174 1614s ok 477 /regex/match-optimized/175 1614s ok 478 /regex/match-optimized/176 1614s ok 479 /regex/match-optimized/177 1614s ok 480 /regex/match-optimized/178 1614s ok 481 /regex/match-optimized/179 1614s ok 482 /regex/match-optimized/180 1614s ok 483 /regex/match-optimized/181 1614s ok 484 /regex/match-optimized/182 1614s ok 485 /regex/match-optimized/183 1614s ok 486 /regex/match-optimized/184 1614s ok 487 /regex/match-optimized/185 1614s ok 488 /regex/match-optimized/186 1614s ok 489 /regex/match-optimized/187 1614s ok 490 /regex/match-optimized/188 1614s ok 491 /regex/match-optimized/189 1614s ok 492 /regex/match-optimized/190 1614s ok 493 /regex/match-optimized/191 1614s ok 494 /regex/match-optimized/192 1614s ok 495 /regex/match-optimized/193 1614s ok 496 /regex/match-optimized/194 1614s ok 497 /regex/match-optimized/195 1614s ok 498 /regex/match-optimized/196 1614s ok 499 /regex/match-optimized/197 1614s ok 500 /regex/match-optimized/198 1614s ok 501 /regex/match-optimized/199 1614s ok 502 /regex/match-optimized/200 1614s ok 503 /regex/match-optimized/201 1614s ok 504 /regex/match-optimized/202 1614s ok 505 /regex/match-optimized/203 1614s ok 506 /regex/match-optimized/204 1614s ok 507 /regex/match-optimized/205 1614s ok 508 /regex/match-optimized/206 1614s ok 509 /regex/match-optimized/207 1614s ok 510 /regex/match-optimized/208 1614s ok 511 /regex/match-optimized/209 1614s ok 512 /regex/match-optimized/210 1614s ok 513 /regex/match-optimized/211 1614s ok 514 /regex/match-optimized/212 1614s ok 515 /regex/match-optimized/213 1614s ok 516 /regex/match-optimized/214 1614s ok 517 /regex/match-optimized/215 1614s ok 518 /regex/match-optimized/216 1614s ok 519 /regex/match-optimized/217 1614s ok 520 /regex/match-optimized/218 1614s ok 521 /regex/match-optimized/219 1614s ok 522 /regex/match-optimized/220 1614s ok 523 /regex/match-optimized/221 1614s ok 524 /regex/match-optimized/222 1614s ok 525 /regex/match-optimized/223 1614s ok 526 /regex/match-optimized/224 1614s ok 527 /regex/match-optimized/225 1614s ok 528 /regex/match-optimized/226 1614s ok 529 /regex/match-optimized/227 1614s ok 530 /regex/match-optimized/228 1614s ok 531 /regex/match-optimized/229 1614s ok 532 /regex/match-optimized/230 1614s ok 533 /regex/match-optimized/231 1614s ok 534 /regex/match-optimized/232 1614s ok 535 /regex/match-optimized/233 1614s ok 536 /regex/match-optimized/234 1614s ok 537 /regex/match-optimized/235 1614s ok 538 /regex/match-optimized/236 1614s ok 539 /regex/match-optimized/237 1614s ok 540 /regex/match-optimized/238 1614s ok 541 /regex/match-optimized/239 1614s ok 542 /regex/match-optimized/240 1614s ok 543 /regex/match-optimized/241 1614s ok 544 /regex/match-optimized/242 1614s ok 545 /regex/match-optimized/243 1614s ok 546 /regex/match-optimized/244 1614s ok 547 /regex/match-optimized/245 1614s ok 548 /regex/match-optimized/246 1614s # End of match-optimized tests 1614s # Start of fetch-all0 tests 1614s ok 549 /regex/fetch-all0/335 1614s ok 550 /regex/fetch-all0/336 1614s # End of fetch-all0 tests 1614s # Start of fetch-all1 tests 1614s ok 551 /regex/fetch-all1/337 1614s ok 552 /regex/fetch-all1/338 1614s ok 553 /regex/fetch-all1/339 1614s # End of fetch-all1 tests 1614s # Start of fetch-all2 tests 1614s ok 554 /regex/fetch-all2/340 1614s ok 555 /regex/fetch-all2/341 1614s ok 556 /regex/fetch-all2/342 1614s # End of fetch-all2 tests 1614s # Start of fetch-all3 tests 1614s ok 557 /regex/fetch-all3/343 1614s ok 558 /regex/fetch-all3/344 1614s ok 559 /regex/fetch-all3/345 1614s ok 560 /regex/fetch-all3/346 1614s ok 561 /regex/fetch-all3/347 1614s # End of fetch-all3 tests 1614s # Start of split tests 1614s # Start of simple0 tests 1614s ok 562 /regex/split/simple0/348 1614s ok 563 /regex/split/simple0/349 1614s ok 564 /regex/split/simple0/364 1614s ok 565 /regex/split/simple0/365 1614s # End of simple0 tests 1614s # Start of simple1 tests 1614s ok 566 /regex/split/simple1/350 1614s ok 567 /regex/split/simple1/351 1614s # End of simple1 tests 1614s # Start of simple2 tests 1614s ok 568 /regex/split/simple2/352 1614s ok 569 /regex/split/simple2/358 1614s ok 570 /regex/split/simple2/360 1614s # End of simple2 tests 1614s # Start of simple3 tests 1614s ok 571 /regex/split/simple3/353 1614s ok 572 /regex/split/simple3/354 1614s ok 573 /regex/split/simple3/355 1614s ok 574 /regex/split/simple3/356 1614s ok 575 /regex/split/simple3/357 1614s ok 576 /regex/split/simple3/359 1614s ok 577 /regex/split/simple3/361 1614s ok 578 /regex/split/simple3/362 1614s ok 579 /regex/split/simple3/363 1614s # End of simple3 tests 1614s # End of split tests 1614s # Start of split0 tests 1614s ok 580 /regex/split0/366 1614s ok 581 /regex/split0/368 1614s # End of split0 tests 1614s # Start of full-split0 tests 1614s ok 582 /regex/full-split0/367 1614s ok 583 /regex/full-split0/369 1614s ok 584 /regex/full-split0/370 1614s ok 585 /regex/full-split0/371 1614s ok 586 /regex/full-split0/372 1614s # End of full-split0 tests 1614s # Start of split1 tests 1614s ok 587 /regex/split1/373 1614s ok 588 /regex/split1/376 1614s # End of split1 tests 1614s # Start of full-split1 tests 1614s ok 589 /regex/full-split1/374 1614s ok 590 /regex/full-split1/375 1614s ok 591 /regex/full-split1/377 1614s ok 592 /regex/full-split1/378 1614s ok 593 /regex/full-split1/404 1614s # End of full-split1 tests 1614s # Start of split2 tests 1614s ok 594 /regex/split2/379 1614s ok 595 /regex/split2/383 1614s ok 596 /regex/split2/395 1614s # End of split2 tests 1614s # Start of full-split2 tests 1614s ok 597 /regex/full-split2/380 1614s ok 598 /regex/full-split2/381 1614s ok 599 /regex/full-split2/382 1614s ok 600 /regex/full-split2/384 1614s ok 601 /regex/full-split2/396 1614s ok 602 /regex/full-split2/399 1614s ok 603 /regex/full-split2/405 1614s # End of full-split2 tests 1614s # Start of split3 tests 1614s ok 604 /regex/split3/385 1614s ok 605 /regex/split3/387 1614s ok 606 /regex/split3/389 1614s ok 607 /regex/split3/391 1614s ok 608 /regex/split3/393 1614s ok 609 /regex/split3/397 1614s ok 610 /regex/split3/400 1614s ok 611 /regex/split3/402 1614s # End of split3 tests 1614s # Start of full-split3 tests 1614s ok 612 /regex/full-split3/386 1614s ok 613 /regex/full-split3/388 1614s ok 614 /regex/full-split3/390 1614s ok 615 /regex/full-split3/392 1614s ok 616 /regex/full-split3/394 1614s ok 617 /regex/full-split3/398 1614s ok 618 /regex/full-split3/401 1614s ok 619 /regex/full-split3/403 1614s ok 620 /regex/full-split3/406 1614s ok 621 /regex/full-split3/407 1614s # End of full-split3 tests 1614s # Start of check-repacement tests 1614s ok 622 /regex/check-repacement/408 1614s ok 623 /regex/check-repacement/409 1614s ok 624 /regex/check-repacement/410 1614s ok 625 /regex/check-repacement/411 1614s ok 626 /regex/check-repacement/412 1614s ok 627 /regex/check-repacement/413 1614s ok 628 /regex/check-repacement/414 1614s ok 629 /regex/check-repacement/415 1614s # End of check-repacement tests 1614s # Start of expand tests 1614s ok 630 /regex/expand/416 1614s ok 631 /regex/expand/417 1614s ok 632 /regex/expand/418 1614s ok 633 /regex/expand/419 1614s ok 634 /regex/expand/420 1614s ok 635 /regex/expand/421 1614s ok 636 /regex/expand/422 1614s ok 637 /regex/expand/423 1614s ok 638 /regex/expand/424 1614s ok 639 /regex/expand/425 1614s ok 640 /regex/expand/426 1614s ok 641 /regex/expand/427 1614s ok 642 /regex/expand/428 1614s ok 643 /regex/expand/429 1614s ok 644 /regex/expand/430 1614s ok 645 /regex/expand/431 1614s ok 646 /regex/expand/432 1614s ok 647 /regex/expand/433 1614s ok 648 /regex/expand/434 1614s ok 649 /regex/expand/435 1614s ok 650 /regex/expand/436 1614s ok 651 /regex/expand/437 1614s ok 652 /regex/expand/438 1614s ok 653 /regex/expand/439 1614s ok 654 /regex/expand/440 1614s ok 655 /regex/expand/441 1614s ok 656 /regex/expand/442 1614s ok 657 /regex/expand/443 1614s ok 658 /regex/expand/444 1614s ok 659 /regex/expand/445 1614s ok 660 /regex/expand/446 1614s ok 661 /regex/expand/447 1614s ok 662 /regex/expand/448 1614s ok 663 /regex/expand/449 1614s ok 664 /regex/expand/450 1614s ok 665 /regex/expand/451 1614s ok 666 /regex/expand/452 1614s ok 667 /regex/expand/453 1614s ok 668 /regex/expand/454 1614s ok 669 /regex/expand/455 1614s ok 670 /regex/expand/456 1614s ok 671 /regex/expand/457 1614s ok 672 /regex/expand/458 1614s ok 673 /regex/expand/459 1614s ok 674 /regex/expand/460 1614s ok 675 /regex/expand/461 1614s ok 676 /regex/expand/462 1614s ok 677 /regex/expand/463 1614s ok 678 /regex/expand/464 1614s ok 679 /regex/expand/465 1614s ok 680 /regex/expand/466 1614s ok 681 /regex/expand/467 1614s ok 682 /regex/expand/468 1614s ok 683 /regex/expand/469 1614s ok 684 /regex/expand/470 1614s ok 685 /regex/expand/471 1614s ok 686 /regex/expand/472 1614s ok 687 /regex/expand/473 1614s ok 688 /regex/expand/474 1614s ok 689 /regex/expand/475 1614s ok 690 /regex/expand/476 1614s ok 691 /regex/expand/477 1614s ok 692 /regex/expand/478 1614s ok 693 /regex/expand/479 1614s ok 694 /regex/expand/480 1614s ok 695 /regex/expand/481 1614s # End of expand tests 1614s # Start of replace tests 1614s ok 696 /regex/replace/482 1614s ok 697 /regex/replace/483 1614s ok 698 /regex/replace/484 1614s ok 699 /regex/replace/485 1614s ok 700 /regex/replace/486 1614s ok 701 /regex/replace/487 1614s ok 702 /regex/replace/488 1614s ok 703 /regex/replace/489 1614s ok 704 /regex/replace/490 1614s ok 705 /regex/replace/491 1614s ok 706 /regex/replace/492 1614s ok 707 /regex/replace/493 1614s ok 708 /regex/replace/494 1614s ok 709 /regex/replace/495 1614s ok 710 /regex/replace/496 1614s ok 711 /regex/replace/497 1614s ok 712 /regex/replace/498 1614s ok 713 /regex/replace/499 1614s ok 714 /regex/replace/500 1614s ok 715 /regex/replace/501 1614s ok 716 /regex/replace/502 1614s ok 717 /regex/replace/503 1614s ok 718 /regex/replace/504 1614s ok 719 /regex/replace/505 1614s ok 720 /regex/replace/506 1614s ok 721 /regex/replace/507 1614s ok 722 /regex/replace/508 1614s ok 723 /regex/replace/509 1614s # End of replace tests 1614s # Start of replace-optimized tests 1614s ok 724 /regex/replace-optimized/482 1614s ok 725 /regex/replace-optimized/483 1614s ok 726 /regex/replace-optimized/484 1614s ok 727 /regex/replace-optimized/485 1614s ok 728 /regex/replace-optimized/486 1614s ok 729 /regex/replace-optimized/487 1614s ok 730 /regex/replace-optimized/488 1614s ok 731 /regex/replace-optimized/489 1614s ok 732 /regex/replace-optimized/490 1614s ok 733 /regex/replace-optimized/491 1614s ok 734 /regex/replace-optimized/492 1614s ok 735 /regex/replace-optimized/493 1614s ok 736 /regex/replace-optimized/494 1614s ok 737 /regex/replace-optimized/495 1614s ok 738 /regex/replace-optimized/496 1614s ok 739 /regex/replace-optimized/497 1614s ok 740 /regex/replace-optimized/498 1614s ok 741 /regex/replace-optimized/499 1614s ok 742 /regex/replace-optimized/500 1614s ok 743 /regex/replace-optimized/501 1614s ok 744 /regex/replace-optimized/502 1614s ok 745 /regex/replace-optimized/503 1614s ok 746 /regex/replace-optimized/504 1614s ok 747 /regex/replace-optimized/505 1614s ok 748 /regex/replace-optimized/506 1614s ok 749 /regex/replace-optimized/507 1614s ok 750 /regex/replace-optimized/508 1614s ok 751 /regex/replace-optimized/509 1614s # End of replace-optimized tests 1614s # Start of replace-literally tests 1614s ok 752 /regex/replace-literally/510 1614s ok 753 /regex/replace-literally/511 1614s ok 754 /regex/replace-literally/512 1614s ok 755 /regex/replace-literally/513 1614s ok 756 /regex/replace-literally/514 1614s ok 757 /regex/replace-literally/515 1614s ok 758 /regex/replace-literally/516 1614s ok 759 /regex/replace-literally/517 1614s ok 760 /regex/replace-literally/518 1614s ok 761 /regex/replace-literally/519 1614s ok 762 /regex/replace-literally/520 1614s ok 763 /regex/replace-literally/521 1614s ok 764 /regex/replace-literally/522 1614s ok 765 /regex/replace-literally/523 1614s ok 766 /regex/replace-literally/524 1614s ok 767 /regex/replace-literally/525 1614s ok 768 /regex/replace-literally/526 1614s ok 769 /regex/replace-literally/527 1614s ok 770 /regex/replace-literally/528 1614s ok 771 /regex/replace-literally/529 1614s # End of replace-literally tests 1614s # Start of string-number tests 1614s ok 772 /regex/string-number/530 1614s ok 773 /regex/string-number/531 1614s ok 774 /regex/string-number/532 1614s ok 775 /regex/string-number/533 1614s ok 776 /regex/string-number/534 1614s ok 777 /regex/string-number/535 1614s ok 778 /regex/string-number/536 1614s ok 779 /regex/string-number/537 1614s ok 780 /regex/string-number/538 1614s ok 781 /regex/string-number/539 1614s ok 782 /regex/string-number/540 1614s ok 783 /regex/string-number/541 1614s ok 784 /regex/string-number/542 1614s ok 785 /regex/string-number/543 1614s ok 786 /regex/string-number/544 1614s # End of string-number tests 1614s # Start of escape_nul tests 1614s ok 787 /regex/escape_nul/545 1614s ok 788 /regex/escape_nul/546 1614s ok 789 /regex/escape_nul/547 1614s ok 790 /regex/escape_nul/548 1614s ok 791 /regex/escape_nul/549 1614s ok 792 /regex/escape_nul/550 1614s ok 793 /regex/escape_nul/551 1614s ok 794 /regex/escape_nul/552 1614s ok 795 /regex/escape_nul/553 1614s ok 796 /regex/escape_nul/554 1614s ok 797 /regex/escape_nul/555 1614s ok 798 /regex/escape_nul/556 1614s ok 799 /regex/escape_nul/557 1614s ok 800 /regex/escape_nul/558 1614s ok 801 /regex/escape_nul/559 1614s # End of escape_nul tests 1614s # Start of escape tests 1614s ok 802 /regex/escape/560 1614s ok 803 /regex/escape/561 1614s ok 804 /regex/escape/562 1614s ok 805 /regex/escape/563 1614s ok 806 /regex/escape/564 1614s ok 807 /regex/escape/565 1614s ok 808 /regex/escape/566 1614s ok 809 /regex/escape/567 1614s ok 810 /regex/escape/568 1614s ok 811 /regex/escape/569 1614s ok 812 /regex/escape/570 1614s ok 813 /regex/escape/571 1614s ok 814 /regex/escape/572 1614s ok 815 /regex/escape/573 1614s ok 816 /regex/escape/574 1614s ok 817 /regex/escape/575 1614s ok 818 /regex/escape/576 1614s ok 819 /regex/escape/577 1614s # End of escape tests 1614s # Start of match-all0 tests 1614s ok 820 /regex/match-all0/578 1614s ok 821 /regex/match-all0/580 1614s # End of match-all0 tests 1614s # Start of match-all-full0 tests 1614s ok 822 /regex/match-all-full0/579 1614s ok 823 /regex/match-all-full0/581 1614s ok 824 /regex/match-all-full0/582 1614s ok 825 /regex/match-all-full0/583 1614s # End of match-all-full0 tests 1614s # Start of match-all1 tests 1614s ok 826 /regex/match-all1/584 1614s ok 827 /regex/match-all1/586 1614s ok 828 /regex/match-all1/591 1614s # End of match-all1 tests 1614s # Start of match-all-full1 tests 1614s ok 829 /regex/match-all-full1/585 1614s ok 830 /regex/match-all-full1/587 1614s ok 831 /regex/match-all-full1/588 1614s ok 832 /regex/match-all-full1/589 1614s ok 833 /regex/match-all-full1/590 1614s ok 834 /regex/match-all-full1/592 1614s # End of match-all-full1 tests 1614s # Start of match-all2 tests 1614s ok 835 /regex/match-all2/593 1614s ok 836 /regex/match-all2/595 1614s ok 837 /regex/match-all2/597 1614s # End of match-all2 tests 1614s # Start of match-all-full2 tests 1614s ok 838 /regex/match-all-full2/594 1614s ok 839 /regex/match-all-full2/596 1614s ok 840 /regex/match-all-full2/598 1614s # End of match-all-full2 tests 1614s # Start of match-all3 tests 1614s ok 841 /regex/match-all3/599 1614s ok 842 /regex/match-all3/601 1614s # End of match-all3 tests 1614s # Start of match-all-full3 tests 1614s ok 843 /regex/match-all-full3/600 1614s ok 844 /regex/match-all-full3/602 1614s # End of match-all-full3 tests 1614s # Start of match-notempty tests 1614s ok 845 /regex/match-notempty/603 1614s # End of match-notempty tests 1614s # Start of match-notempty-optimized tests 1614s ok 846 /regex/match-notempty-optimized/603 1614s # End of match-notempty-optimized tests 1614s # Start of match-notempty-atstart tests 1614s ok 847 /regex/match-notempty-atstart/604 1614s # End of match-notempty-atstart tests 1614s # Start of match-notempty-atstart-optimized tests 1614s ok 848 /regex/match-notempty-atstart-optimized/604 1614s # End of match-notempty-atstart-optimized tests 1614s # End of regex tests 1614s ok - glib/regex.test 1614s # Running test: glib/application-command-line.test 1614s TAP version 13 1614s # random seed: R02S9d8d7092714742add80d8739bf07c6c5 1614s 1..1 1614s # Start of application-command-line tests 1614s ok 1 /application-command-line/basic-properties 1614s # End of application-command-line tests 1614s ok - glib/application-command-line.test 1614s # Running test: glib/io-channel-basic.test 1614s TAP version 13 1614s # random seed: R02Sc529d85ecc2588e7bed5058c006b4937 1614s 1..1 1614s # Start of gio tests 1614s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1614s # # random seed: R02S2747a8f2d561cb02ab2bea5cdf472331 1614s # # GLib-DEBUG: io-channel-basic: child writing 8+321 bytes to 6 1614s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1614s # GLib-DEBUG: io-channel-basic: ...from 5: 321 bytes 1614s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1614s # # GLib-DEBUG: io-channel-basic: child writing 8+978 bytes to 6 1614s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1614s # GLib-DEBUG: io-channel-basic: ...from 5: 978 bytes 1614s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1615s # # GLib-DEBUG: io-channel-basic: child writing 8+1490 bytes to 6 1615s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1615s # GLib-DEBUG: io-channel-basic: ...from 5: 1490 bytes 1615s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1615s # Executing: glib/io-channel-basic.test 1615s # # GLib-DEBUG: io-channel-basic: child writing 8+3838 bytes to 6 1615s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1615s # GLib-DEBUG: io-channel-basic: ...from 5: 3838 bytes 1615s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1615s # # GLib-DEBUG: io-channel-basic: child writing 8+3846 bytes to 6 1615s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1615s # GLib-DEBUG: io-channel-basic: ...from 5: 3846 bytes 1615s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1615s # # GLib-DEBUG: io-channel-basic: child writing 8+3421 bytes to 6 1615s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1615s # GLib-DEBUG: io-channel-basic: ...from 5: 3421 bytes 1615s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1616s # # GLib-DEBUG: io-channel-basic: child writing 8+4540 bytes to 6 1616s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1616s # GLib-DEBUG: io-channel-basic: ...from 5: 4540 bytes 1616s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1616s # # GLib-DEBUG: io-channel-basic: child writing 8+4682 bytes to 6 1616s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1616s # GLib-DEBUG: io-channel-basic: ...from 5: 4682 bytes 1616s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1616s # # GLib-DEBUG: io-channel-basic: child writing 8+4513 bytes to 6 1616s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1616s # GLib-DEBUG: io-channel-basic: ...from 5: 4513 bytes 1616s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1616s # # GLib-DEBUG: io-channel-basic: child writing 8+128 bytes to 6 1616s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1616s # GLib-DEBUG: io-channel-basic: ...from 5: 128 bytes 1616s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1617s # # GLib-DEBUG: io-channel-basic: child writing 8+1981 bytes to 6 1617s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1617s # GLib-DEBUG: io-channel-basic: ...from 5: 1981 bytes 1617s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1617s # # GLib-DEBUG: io-channel-basic: child writing 8+4247 bytes to 6 1617s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1617s # GLib-DEBUG: io-channel-basic: ...from 5: 4247 bytes 1617s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1617s # # GLib-DEBUG: io-channel-basic: child writing 8+1284 bytes to 6 1617s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1617s # GLib-DEBUG: io-channel-basic: ...from 5: 1284 bytes 1617s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1617s # # GLib-DEBUG: io-channel-basic: child writing 8+4946 bytes to 6 1617s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1617s # GLib-DEBUG: io-channel-basic: ...from 5: 4946 bytes 1617s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1618s # # GLib-DEBUG: io-channel-basic: child writing 8+4325 bytes to 6 1618s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1618s # GLib-DEBUG: io-channel-basic: ...from 5: 4325 bytes 1618s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1618s # # GLib-DEBUG: io-channel-basic: child writing 8+4207 bytes to 6 1618s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1618s # GLib-DEBUG: io-channel-basic: ...from 5: 4207 bytes 1618s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1618s # # GLib-DEBUG: io-channel-basic: child writing 8+172 bytes to 6 1618s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1618s # GLib-DEBUG: io-channel-basic: ...from 5: 172 bytes 1618s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1618s # # GLib-DEBUG: io-channel-basic: child writing 8+4019 bytes to 6 1618s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1618s # GLib-DEBUG: io-channel-basic: ...from 5: 4019 bytes 1618s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1619s # # GLib-DEBUG: io-channel-basic: child writing 8+1095 bytes to 6 1619s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1619s # GLib-DEBUG: io-channel-basic: ...from 5: 1095 bytes 1619s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1619s # # GLib-DEBUG: io-channel-basic: child writing 8+1405 bytes to 6 1619s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1619s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1619s # GLib-DEBUG: io-channel-basic: ...from 5: 1405 bytes 1619s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1619s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1619s # # random seed: R02Scb0447413b003daa9ecb0a7931a68fdc 1619s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1619s # # random seed: R02Sa7382615088167be84c3ab1ee0f0824f 1619s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1619s # # random seed: R02S5cf1ab6ed07a290138089576b7b0c564 1619s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1619s # # random seed: R02S739ea5f42b06744ec76c200c2d0d8d07 1619s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1619s # # random seed: R02S6046410d2c2fff26e08c39a05291ccaf 1619s # # GLib-DEBUG: io-channel-basic: child writing 8+2411 bytes to 9 1619s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1619s # # GLib-DEBUG: io-channel-basic: child writing 8+3478 bytes to 11 1619s # GLib-DEBUG: io-channel-basic: ...from 8: 2411 bytes 1619s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1619s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1619s # GLib-DEBUG: io-channel-basic: ...from 10: 3478 bytes 1619s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1619s # # GLib-DEBUG: io-channel-basic: child writing 8+1787 bytes to 13 1619s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1619s # GLib-DEBUG: io-channel-basic: ...from 12: 1787 bytes 1619s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1619s # # GLib-DEBUG: io-channel-basic: child writing 8+778 bytes to 15 1619s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1619s # GLib-DEBUG: io-channel-basic: ...from 14: 778 bytes 1619s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1619s # # GLib-DEBUG: io-channel-basic: child writing 8+2175 bytes to 17 1619s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1619s # GLib-DEBUG: io-channel-basic: ...from 16: 2175 bytes 1619s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+1961 bytes to 11 1620s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 10: 1961 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+4858 bytes to 9 1620s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 8: 4858 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+4024 bytes to 13 1620s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 12: 4024 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+171 bytes to 15 1620s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 14: 171 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+2256 bytes to 17 1620s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 16: 2256 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1620s # Executing: glib/io-channel-basic.test 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+2175 bytes to 9 1620s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 8: 2175 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+629 bytes to 11 1620s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 10: 629 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+450 bytes to 13 1620s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 12: 450 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+4880 bytes to 15 1620s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 14: 4880 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+128 bytes to 17 1620s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 16: 128 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+329 bytes to 13 1620s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 12: 329 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+301 bytes to 11 1620s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 10: 301 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+534 bytes to 9 1620s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 8: 534 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+4252 bytes to 15 1620s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 14: 4252 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+994 bytes to 17 1620s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 16: 994 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+564 bytes to 13 1620s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 12: 564 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+3085 bytes to 11 1620s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 10: 3085 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+4685 bytes to 9 1620s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 8: 4685 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+1999 bytes to 17 1620s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 16: 1999 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1620s # # GLib-DEBUG: io-channel-basic: child writing 8+3411 bytes to 15 1620s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1620s # GLib-DEBUG: io-channel-basic: ...from 14: 3411 bytes 1620s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+4741 bytes to 11 1621s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 10: 4741 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+2350 bytes to 13 1621s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 12: 2350 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+1313 bytes to 9 1621s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 8: 1313 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+1954 bytes to 17 1621s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 16: 1954 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+4655 bytes to 15 1621s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 14: 4655 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+423 bytes to 11 1621s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 10: 423 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+522 bytes to 13 1621s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 12: 522 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+832 bytes to 9 1621s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 8: 832 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+1606 bytes to 15 1621s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 14: 1606 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+2389 bytes to 17 1621s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 16: 2389 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+3730 bytes to 13 1621s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 12: 3730 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+1735 bytes to 11 1621s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 10: 1735 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+1819 bytes to 9 1621s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 8: 1819 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+2056 bytes to 15 1621s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 14: 2056 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+253 bytes to 17 1621s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 16: 253 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+2982 bytes to 13 1621s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 12: 2982 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+3907 bytes to 11 1621s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 10: 3907 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+1484 bytes to 9 1621s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 8: 1484 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+3599 bytes to 15 1621s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 14: 3599 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1621s # # GLib-DEBUG: io-channel-basic: child writing 8+1840 bytes to 17 1621s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1621s # GLib-DEBUG: io-channel-basic: ...from 16: 1840 bytes 1621s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+4135 bytes to 13 1622s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 12: 4135 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+265 bytes to 11 1622s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 10: 265 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+1259 bytes to 9 1622s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 8: 1259 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+1593 bytes to 15 1622s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 14: 1593 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+1138 bytes to 17 1622s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 16: 1138 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+3440 bytes to 13 1622s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 12: 3440 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+4106 bytes to 11 1622s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 10: 4106 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+4453 bytes to 9 1622s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 8: 4453 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+1932 bytes to 15 1622s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 14: 1932 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+3939 bytes to 17 1622s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 16: 3939 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+3740 bytes to 13 1622s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 12: 3740 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+1049 bytes to 11 1622s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 10: 1049 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+4640 bytes to 9 1622s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 8: 4640 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+736 bytes to 15 1622s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 14: 736 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+3736 bytes to 17 1622s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 16: 3736 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+4486 bytes to 13 1622s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 12: 4486 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+2369 bytes to 11 1622s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 10: 2369 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+3694 bytes to 9 1622s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 8: 3694 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1622s # # GLib-DEBUG: io-channel-basic: child writing 8+1687 bytes to 15 1622s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1622s # GLib-DEBUG: io-channel-basic: ...from 14: 1687 bytes 1622s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+4807 bytes to 17 1623s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 16: 4807 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+3587 bytes to 13 1623s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 12: 3587 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+3744 bytes to 11 1623s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 10: 3744 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+1360 bytes to 9 1623s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 8: 1360 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+1730 bytes to 15 1623s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 14: 1730 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+2859 bytes to 17 1623s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 16: 2859 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+3948 bytes to 13 1623s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 12: 3948 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+2249 bytes to 9 1623s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 8: 2249 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+3967 bytes to 11 1623s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 10: 3967 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+566 bytes to 15 1623s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 14: 566 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+4435 bytes to 17 1623s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 16: 4435 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+2765 bytes to 13 1623s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 12: 2765 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+4078 bytes to 9 1623s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 8: 4078 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+3059 bytes to 11 1623s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 10: 3059 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+4617 bytes to 15 1623s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 14: 4617 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+1162 bytes to 17 1623s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 16: 1162 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+667 bytes to 13 1623s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 12: 667 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+3677 bytes to 9 1623s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 8: 3677 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1623s # # GLib-DEBUG: io-channel-basic: child writing 8+334 bytes to 11 1623s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1623s # GLib-DEBUG: io-channel-basic: ...from 10: 334 bytes 1623s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+3391 bytes to 15 1624s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 14: 3391 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+451 bytes to 17 1624s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 16: 451 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+3760 bytes to 13 1624s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 12: 3760 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+48 bytes to 9 1624s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 8: 48 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+3923 bytes to 11 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+4488 bytes to 15 1624s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 10: 3923 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1624s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 14: 4488 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+3271 bytes to 17 1624s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 16: 3271 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+2568 bytes to 13 1624s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 12: 2568 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+3286 bytes to 9 1624s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 8: 3286 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+611 bytes to 11 1624s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 10: 611 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+2682 bytes to 15 1624s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 14: 2682 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+2266 bytes to 17 1624s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 16: 2266 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+311 bytes to 13 1624s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 12: 311 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+4621 bytes to 9 1624s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 8: 4621 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+1598 bytes to 11 1624s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 10: 1598 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+3220 bytes to 15 1624s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 14: 3220 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1624s # # GLib-DEBUG: io-channel-basic: child writing 8+3139 bytes to 17 1624s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1624s # GLib-DEBUG: io-channel-basic: ...from 16: 3139 bytes 1624s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+4046 bytes to 9 1625s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1625s # GLib-DEBUG: io-channel-basic: ...from 8: 4046 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+578 bytes to 13 1625s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1625s # GLib-DEBUG: io-channel-basic: ...from 12: 578 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+4203 bytes to 15 1625s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1625s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1625s # GLib-DEBUG: io-channel-basic: ...from 14: 4203 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1625s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+4315 bytes to 11 1625s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1625s # GLib-DEBUG: io-channel-basic: ...from 10: 4315 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+4288 bytes to 17 1625s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1625s # GLib-DEBUG: io-channel-basic: ...from 16: 4288 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1625s # Executing: glib/io-channel-basic.test 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+371 bytes to 9 1625s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1625s # GLib-DEBUG: io-channel-basic: ...from 8: 371 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+52 bytes to 13 1625s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1625s # GLib-DEBUG: io-channel-basic: ...from 12: 52 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+1905 bytes to 11 1625s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1625s # GLib-DEBUG: io-channel-basic: ...from 10: 1905 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+3349 bytes to 17 1625s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1625s # GLib-DEBUG: io-channel-basic: ...from 16: 3349 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+4980 bytes to 13 1625s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1625s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1625s # GLib-DEBUG: io-channel-basic: ...from 12: 4980 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+1375 bytes to 9 1625s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1625s # GLib-DEBUG: io-channel-basic: ...from 8: 1375 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+2085 bytes to 11 1625s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1625s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1625s # GLib-DEBUG: io-channel-basic: ...from 10: 2085 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+2417 bytes to 17 1625s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1625s # GLib-DEBUG: io-channel-basic: ...from 16: 2417 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+4147 bytes to 9 1625s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1625s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1625s # GLib-DEBUG: io-channel-basic: ...from 8: 4147 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1625s # # GLib-DEBUG: io-channel-basic: child writing 8+3762 bytes to 17 1625s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1625s # GLib-DEBUG: io-channel-basic: ...from 16: 3762 bytes 1625s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1626s # # GLib-DEBUG: io-channel-basic: child writing 8+1807 bytes to 17 1626s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1626s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1626s # GLib-DEBUG: io-channel-basic: ...from 16: 1807 bytes 1626s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1626s # GLib-DEBUG: io-channel-basic: ...from 16: HUP 1626s ok 1 /gio/io-basics 1626s # slow test /gio/io-basics executed in 11.85 secs 1626s # End of gio tests 1626s ok - glib/io-channel-basic.test 1626s # Running test: glib/appmonitor.test 1626s TAP version 13 1626s # random seed: R02Sa278ce1c7090211b38f0d5897d3d8e91 1626s 1..1 1626s # Start of monitor tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_U5DGK2/monitor/app/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_U5DGK2/monitor/app/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_U5DGK2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_U5DGK2/monitor/app/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_U5DGK2/monitor/app/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_U5DGK2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_U5DGK2/monitor/app/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_U5DGK2/monitor/app/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_U5DGK2/monitor/app/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_U5DGK2/monitor/app/.dirs/runtime 1626s # Using data directory: /tmp/test_appmonitor_U5DGK2/monitor/app/.dirs/data 1626s ok 1 /monitor/app 1626s # End of monitor tests 1626s ok - glib/appmonitor.test 1626s # Running test: glib/object.test 1626s TAP version 13 1626s # random seed: R02S834a04c906c60792fab226ae9636c25e 1626s 1..2 1626s # Start of object tests 1626s # Start of constructor tests 1626s ok 1 /object/constructor/singleton 1626s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1626s # End of constructor tests 1626s # End of object tests 1626s ok - glib/object.test 1626s # Running test: glib/bookmarkfile.test 1626s TAP version 13 1626s # random seed: R02S19c94079f3bc6fb54f846e0a46b09dcc 1626s 1..96 1626s # Start of bookmarks tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/load-from-data-dirs/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/load-from-data-dirs/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/load-from-data-dirs/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/load-from-data-dirs/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/load-from-data-dirs/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/load-from-data-dirs/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/load-from-data-dirs/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/load-from-data-dirs/.dirs/runtime 1626s ok 1 /bookmarks/load-from-data-dirs 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/to-file/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/to-file/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/to-file/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/to-file/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/to-file/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/to-file/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/to-file/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/to-file/.dirs/runtime 1626s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_L9RFK2/bookmarkfile-test-Z62FK2.xbel 1626s # Roundtrip from a valid bookmark file 1626s ok 2 /bookmarks/to-file 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/move-item/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/move-item/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/move-item/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/move-item/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/move-item/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/move-item/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/move-item/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/move-item/.dirs/runtime 1626s ok 3 /bookmarks/move-item 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/corner-cases/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/corner-cases/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/corner-cases/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/corner-cases/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/corner-cases/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/corner-cases/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/corner-cases/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/corner-cases/.dirs/runtime 1626s ok 4 /bookmarks/corner-cases 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/misc/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/misc/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/misc/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/misc/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/misc/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/misc/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/misc/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/misc/.dirs/runtime 1626s ok 5 /bookmarks/misc 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/deprecated/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/deprecated/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/deprecated/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/deprecated/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/deprecated/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/deprecated/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/deprecated/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/deprecated/.dirs/runtime 1626s ok 6 /bookmarks/deprecated 1626s # Start of parse tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-12.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-12.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-12.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-12.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-12.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 1626s ok 7 /bookmarks/parse/fail-12.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-21.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-21.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-21.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-21.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-21.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 1626s ok 8 /bookmarks/parse/fail-21.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-33.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-33.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-33.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-33.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-33.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 1626s ok 9 /bookmarks/parse/fail-33.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-41.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-41.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-41.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-41.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-41.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 1626s ok 10 /bookmarks/parse/fail-41.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-22.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-22.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-22.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-22.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-22.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 1626s ok 11 /bookmarks/parse/fail-22.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-10.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-10.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-10.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-10.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-10.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 1626s ok 12 /bookmarks/parse/fail-10.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-07.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-07.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-07.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-07.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-07.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 1626s ok 13 /bookmarks/parse/fail-07.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-32.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-32.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-32.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-32.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-32.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 1626s ok 14 /bookmarks/parse/fail-32.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-11.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-11.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-11.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-11.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-11.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 1626s ok 15 /bookmarks/parse/fail-11.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-16.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-16.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-16.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-16.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-16.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 1626s ok 16 /bookmarks/parse/fail-16.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-03.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-03.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-03.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-03.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-03.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 1626s ok 17 /bookmarks/parse/fail-03.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-15.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-15.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-15.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-15.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-15.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 1626s ok 18 /bookmarks/parse/fail-15.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-03.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-03.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-03.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-03.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-03.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 1626s ok 19 /bookmarks/parse/valid-03.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-34.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-34.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-34.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-34.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-34.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 1626s ok 20 /bookmarks/parse/fail-34.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-26.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-26.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-26.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-26.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-26.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 1626s ok 21 /bookmarks/parse/fail-26.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-31.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-31.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-31.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-31.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-31.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 1626s ok 22 /bookmarks/parse/fail-31.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-05.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-05.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-05.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-05.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-05.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 1626s ok 23 /bookmarks/parse/fail-05.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-27.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-27.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-27.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-27.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-27.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 1626s ok 24 /bookmarks/parse/fail-27.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-01.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-01.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-01.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-01.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-01.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 1626s ok 25 /bookmarks/parse/valid-01.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-29.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-29.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-29.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-29.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-29.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 1626s ok 26 /bookmarks/parse/fail-29.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-28.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-28.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-28.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-28.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-28.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 1626s ok 27 /bookmarks/parse/fail-28.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-01.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-01.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-01.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-01.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-01.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 1626s ok 28 /bookmarks/parse/fail-01.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-30.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-30.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-30.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-30.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-30.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 1626s ok 29 /bookmarks/parse/fail-30.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-23.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-23.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-23.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-23.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-23.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 1626s ok 30 /bookmarks/parse/fail-23.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-40.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-40.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-40.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-40.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-40.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 1626s ok 31 /bookmarks/parse/fail-40.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-06.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-06.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-06.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-06.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-06.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 1626s ok 32 /bookmarks/parse/fail-06.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-13.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-13.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-13.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-13.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-13.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 1626s ok 33 /bookmarks/parse/fail-13.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-04.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-04.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-04.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-04.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-04.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 1626s ok 34 /bookmarks/parse/fail-04.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-18.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-18.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-18.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-18.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-18.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 1626s ok 35 /bookmarks/parse/fail-18.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-02.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-02.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-02.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-02.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-02.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 1626s ok 36 /bookmarks/parse/fail-02.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-36.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-36.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-36.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-36.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-36.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 1626s ok 37 /bookmarks/parse/fail-36.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-02.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-02.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-02.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-02.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-02.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 1626s ok 38 /bookmarks/parse/valid-02.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-38.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-38.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-38.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-38.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-38.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 1626s ok 39 /bookmarks/parse/fail-38.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-42.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-42.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-42.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-42.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-42.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 1626s ok 40 /bookmarks/parse/fail-42.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-19.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-19.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-19.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-19.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-19.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 1626s ok 41 /bookmarks/parse/fail-19.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-14.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-14.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-14.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-14.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-14.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 1626s ok 42 /bookmarks/parse/fail-14.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-25.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-25.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-25.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-25.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-25.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 1626s ok 43 /bookmarks/parse/fail-25.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-09.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-09.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-09.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-09.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-09.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 1626s ok 44 /bookmarks/parse/fail-09.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-24.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-24.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-24.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-24.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-24.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 1626s ok 45 /bookmarks/parse/fail-24.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-37.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-37.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-37.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-37.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-37.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 1626s ok 46 /bookmarks/parse/fail-37.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-20.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-20.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-20.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-20.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-20.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 1626s ok 47 /bookmarks/parse/fail-20.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-08.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-08.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-08.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-08.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-08.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 1626s ok 48 /bookmarks/parse/fail-08.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-39.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-39.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-39.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-39.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-39.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 1626s ok 49 /bookmarks/parse/fail-39.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-35.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-35.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-35.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-35.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-35.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 1626s ok 50 /bookmarks/parse/fail-35.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-17.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-17.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-17.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-17.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-17.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 1626s ok 51 /bookmarks/parse/fail-17.xbel 1626s # End of parse tests 1626s # Start of copy tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-12.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-12.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-12.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-12.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-12.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 1626s ok 52 /bookmarks/copy/fail-12.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-21.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-21.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-21.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-21.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-21.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 1626s ok 53 /bookmarks/copy/fail-21.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-33.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-33.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-33.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-33.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-33.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 1626s ok 54 /bookmarks/copy/fail-33.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-41.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-41.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-41.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-41.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-41.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 1626s ok 55 /bookmarks/copy/fail-41.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-22.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-22.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-22.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-22.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-22.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 1626s ok 56 /bookmarks/copy/fail-22.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-10.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-10.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-10.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-10.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-10.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 1626s ok 57 /bookmarks/copy/fail-10.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-07.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-07.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-07.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-07.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-07.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 1626s ok 58 /bookmarks/copy/fail-07.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-32.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-32.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-32.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-32.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-32.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 1626s ok 59 /bookmarks/copy/fail-32.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-11.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-11.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-11.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-11.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-11.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 1626s ok 60 /bookmarks/copy/fail-11.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-16.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-16.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-16.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-16.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-16.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 1626s ok 61 /bookmarks/copy/fail-16.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-03.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-03.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-03.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-03.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-03.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 1626s ok 62 /bookmarks/copy/fail-03.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-15.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-15.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-15.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-15.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-15.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 1626s ok 63 /bookmarks/copy/fail-15.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-03.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-03.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-03.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-03.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-03.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 1626s ok 64 /bookmarks/copy/valid-03.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-34.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-34.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-34.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-34.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-34.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 1626s ok 65 /bookmarks/copy/fail-34.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-26.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-26.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-26.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-26.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-26.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 1626s ok 66 /bookmarks/copy/fail-26.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-31.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-31.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-31.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-31.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-31.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 1626s ok 67 /bookmarks/copy/fail-31.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-05.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-05.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-05.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-05.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-05.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 1626s ok 68 /bookmarks/copy/fail-05.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-27.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-27.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-27.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-27.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-27.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 1626s ok 69 /bookmarks/copy/fail-27.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-01.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-01.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-01.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-01.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-01.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 1626s ok 70 /bookmarks/copy/valid-01.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-29.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-29.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-29.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-29.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-29.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 1626s ok 71 /bookmarks/copy/fail-29.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-28.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-28.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-28.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-28.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-28.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 1626s ok 72 /bookmarks/copy/fail-28.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-01.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-01.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-01.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-01.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-01.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 1626s ok 73 /bookmarks/copy/fail-01.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-30.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-30.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-30.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-30.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-30.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 1626s ok 74 /bookmarks/copy/fail-30.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-23.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-23.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-23.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-23.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-23.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 1626s ok 75 /bookmarks/copy/fail-23.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-40.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-40.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-40.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-40.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-40.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 1626s ok 76 /bookmarks/copy/fail-40.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-06.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-06.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-06.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-06.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-06.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 1626s ok 77 /bookmarks/copy/fail-06.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-13.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-13.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-13.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-13.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-13.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 1626s ok 78 /bookmarks/copy/fail-13.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-04.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-04.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-04.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-04.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-04.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 1626s ok 79 /bookmarks/copy/fail-04.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-18.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-18.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-18.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-18.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-18.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 1626s ok 80 /bookmarks/copy/fail-18.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-02.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-02.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-02.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-02.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-02.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 1626s ok 81 /bookmarks/copy/fail-02.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-36.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-36.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-36.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-36.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-36.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 1626s ok 82 /bookmarks/copy/fail-36.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-02.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-02.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-02.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-02.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-02.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 1626s ok 83 /bookmarks/copy/valid-02.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-38.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-38.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-38.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-38.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-38.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 1626s ok 84 /bookmarks/copy/fail-38.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-42.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-42.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-42.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-42.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-42.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 1626s ok 85 /bookmarks/copy/fail-42.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-19.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-19.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-19.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-19.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-19.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 1626s ok 86 /bookmarks/copy/fail-19.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-14.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-14.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-14.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-14.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-14.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 1626s ok 87 /bookmarks/copy/fail-14.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-25.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-25.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-25.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-25.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-25.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 1626s ok 88 /bookmarks/copy/fail-25.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-09.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-09.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-09.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-09.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-09.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 1626s ok 89 /bookmarks/copy/fail-09.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-24.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-24.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-24.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-24.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-24.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 1626s ok 90 /bookmarks/copy/fail-24.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-37.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-37.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-37.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-37.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-37.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 1626s ok 91 /bookmarks/copy/fail-37.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-20.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-20.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-20.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-20.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-20.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 1626s ok 92 /bookmarks/copy/fail-20.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-08.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-08.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-08.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-08.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-08.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 1626s ok 93 /bookmarks/copy/fail-08.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-39.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-39.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-39.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-39.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-39.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 1626s ok 94 /bookmarks/copy/fail-39.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-35.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-35.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-35.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-35.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-35.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 1626s ok 95 /bookmarks/copy/fail-35.xbel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-17.xbel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-17.xbel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-17.xbel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-17.xbel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-17.xbel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_L9RFK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 1626s ok 96 /bookmarks/copy/fail-17.xbel 1626s # End of copy tests 1626s # End of bookmarks tests 1626s ok - glib/bookmarkfile.test 1626s # Running test: glib/gdatetime.test 1626s TAP version 13 1626s # random seed: R02S03c4832edce288e71ad777f0371a77be 1626s 1..68 1626s # Start of GDateTime tests 1626s # Bug Reference: http://bugzilla.gnome.org/702674 1626s ok 1 /GDateTime/invalid 1626s ok 2 /GDateTime/add_days 1626s ok 3 /GDateTime/add_full 1626s ok 4 /GDateTime/add_hours 1626s ok 5 /GDateTime/add_minutes 1626s ok 6 /GDateTime/add_months 1626s ok 7 /GDateTime/add_seconds 1626s ok 8 /GDateTime/add_weeks 1626s ok 9 /GDateTime/add_years 1626s ok 10 /GDateTime/compare 1626s ok 11 /GDateTime/diff 1626s ok 12 /GDateTime/equal 1626s ok 13 /GDateTime/get_day_of_week 1626s ok 14 /GDateTime/get_day_of_month 1626s ok 15 /GDateTime/get_day_of_year 1626s ok 16 /GDateTime/get_hour 1626s ok 17 /GDateTime/get_microsecond 1626s ok 18 /GDateTime/get_minute 1626s ok 19 /GDateTime/get_month 1626s ok 20 /GDateTime/get_second 1626s ok 21 /GDateTime/get_utc_offset 1626s ok 22 /GDateTime/get_year 1626s ok 23 /GDateTime/hash 1626s ok 24 /GDateTime/new_from_unix 1626s ok 25 /GDateTime/new_from_unix_utc 1626s ok 26 /GDateTime/new_from_timeval 1626s ok 27 /GDateTime/new_from_timeval_utc 1626s ok 28 /GDateTime/new_from_iso8601 1626s ok 29 /GDateTime/new_full 1626s ok 30 /GDateTime/now 1626s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1626s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1626s # %a -> expected: Sat 1626s # %a -> actual: Sat 1626s # %A -> expected: Saturday 1626s # %A -> actual: Saturday 1626s # %b -> expected: Oct 1626s # %b -> actual: Oct 1626s # %B -> expected: October 1626s # %B -> actual: October 1626s # %d -> expected: 24 1626s # %d -> actual: 24 1626s # %d -> expected: 01 1626s # %d -> actual: 01 1626s # %e -> expected: 24 1626s # %e -> actual: 24 1626s # %e -> expected:  1 1626s # %e -> actual:  1 1626s # %f -> expected: 001000 1626s # %f -> actual: 001000 1626s # %h -> expected: Oct 1626s # %h -> actual: Oct 1626s # %H -> expected: 00 1626s # %H -> actual: 00 1626s # %H -> expected: 15 1626s # %H -> actual: 15 1626s # %I -> expected: 12 1626s # %I -> actual: 12 1626s # %I -> expected: 12 1626s # %I -> actual: 12 1626s # %I -> expected: 03 1626s # %I -> actual: 03 1626s # %j -> expected: 297 1626s # %j -> actual: 297 1626s # %k -> expected:  0 1626s # %k -> actual:  0 1626s # %k -> expected: 13 1626s # %k -> actual: 13 1626s # %l -> expected: 12 1626s # %l -> actual: 12 1626s # %I -> expected: 12 1626s # %I -> actual: 12 1626s # %l -> expected:  1 1626s # %l -> actual:  1 1626s # %l -> expected: 10 1626s # %l -> actual: 10 1626s # %m -> expected: 10 1626s # %m -> actual: 10 1626s # %M -> expected: 00 1626s # %M -> actual: 00 1626s # %p -> expected: AM 1626s # %p -> actual: AM 1626s # %p -> expected: PM 1626s # %p -> actual: PM 1626s # %P -> expected: am 1626s # %P -> actual: am 1626s # %P -> expected: pm 1626s # %P -> actual: pm 1626s # %r -> expected: 12:00:00 AM 1626s # %r -> actual: 12:00:00 AM 1626s # %r -> expected: 01:13:13 PM 1626s # %r -> actual: 01:13:13 PM 1626s # %R -> expected: 00:00 1626s # %R -> actual: 00:00 1626s # %R -> expected: 13:13 1626s # %R -> actual: 13:13 1626s # %S -> expected: 00 1626s # %S -> actual: 00 1626s # %t -> expected: 1626s # %t -> actual: 1626s # %u -> expected: 6 1626s # %u -> actual: 6 1626s # %x -> expected: 10/24/09 1626s # %x -> actual: 10/24/09 1626s # %X -> expected: 00:00:00 1626s # %X -> actual: 00:00:00 1626s # %X -> expected: 13:14:15 1626s # %X -> actual: 13:14:15 1626s # %y -> expected: 09 1626s # %y -> actual: 09 1626s # %Y -> expected: 2009 1626s # %Y -> actual: 2009 1626s # %% -> expected: % 1626s # %% -> actual: % 1626s # % -> expected: 1626s # % -> actual: 1626s # %9 -> expected: (null) 1626s # %9 -> actual: (null) 1626s # %Z -> expected: UTC 1626s # %Z -> actual: UTC 1626s ok 32 /GDateTime/printf 1626s # %a -> expected: 1626s # %a -> actual: 1626s # %A -> expected: 1626s # %A -> actual: 1626s # %b -> expected: 10 1626s # %b -> actual: 10 1626s # %B -> expected: 10 1626s # %B -> actual: 10 1626s # %c -> expected: 2009ǯ1024 0000ʬ00 1626s # %c -> actual: 2009ǯ1024 0000ʬ00 1626s # %C -> expected: 20 1626s # %C -> actual: 20 1626s # %d -> expected: 24 1626s # %d -> actual: 24 1626s # %d -> expected: 01 1626s # %d -> actual: 01 1626s # %e -> expected: 24 1626s # %e -> actual: 24 1626s # %h -> expected: 10 1626s # %h -> actual: 10 1626s # %H -> expected: 00 1626s # %H -> actual: 00 1626s # %H -> expected: 15 1626s # %H -> actual: 15 1626s # %I -> expected: 12 1626s # %I -> actual: 12 1626s # %I -> expected: 12 1626s # %I -> actual: 12 1626s # %I -> expected: 03 1626s # %I -> actual: 03 1626s # %j -> expected: 297 1626s # %j -> actual: 297 1626s # %k -> expected: ?0 1626s # %k -> actual: ?0 1626s # %k -> expected: 13 1626s # %k -> actual: 13 1626s # %l -> expected: 12 1626s # %l -> actual: 12 1626s # %I -> expected: 12 1626s # %I -> actual: 12 1626s # %l -> expected: ?1 1626s # %l -> actual: ?1 1626s # %l -> expected: 10 1626s # %l -> actual: 10 1626s # %m -> expected: 10 1626s # %m -> actual: 10 1626s # %M -> expected: 00 1626s # %M -> actual: 00 1626s # %p -> expected: 1626s # %p -> actual: 1626s # %p -> expected: 1626s # %p -> actual: 1626s # %P -> expected: 1626s # %P -> actual: 1626s # %P -> expected: 1626s # %P -> actual: 1626s # %r -> expected: 1200ʬ00 1626s # %r -> actual: 1200ʬ00 1626s # %r -> expected: 0113ʬ13 1626s # %r -> actual: 0113ʬ13 1626s # %R -> expected: 00:00 1626s # %R -> actual: 00:00 1626s # %R -> expected: 13:13 1626s # %R -> actual: 13:13 1626s # %S -> expected: 00 1626s # %S -> actual: 00 1626s # %t -> expected: 1626s # %t -> actual: 1626s # %u -> expected: 6 1626s # %u -> actual: 6 1626s # %x -> expected: 2009ǯ1024 1626s # %x -> actual: 2009ǯ1024 1626s # %X -> expected: 0000ʬ00 1626s # %X -> actual: 0000ʬ00 1626s # %X -> expected: 1314ʬ15 1626s # %X -> actual: 1314ʬ15 1626s # %y -> expected: 09 1626s # %y -> actual: 09 1626s # %Y -> expected: 2009 1626s # %Y -> actual: 2009 1626s # %% -> expected: % 1626s # %% -> actual: % 1626s # % -> expected: 1626s # % -> actual: 1626s # %9 -> expected: (null) 1626s # %9 -> actual: (null) 1626s # %Ec -> expected: ʿ21ǯ1024 0000ʬ00 1626s # %Ec -> actual: ʿ21ǯ1024 0000ʬ00 1626s # %EC -> expected: ʿ 1626s # %EC -> actual: ʿ 1626s # %Ex -> expected: ʿ21ǯ1024 1626s # %Ex -> actual: ʿ21ǯ1024 1626s # %EX -> expected: 0000ʬ00 1626s # %EX -> actual: 0000ʬ00 1626s # %Ey -> expected: 21 1626s # %Ey -> actual: 21 1626s # %EY -> expected: ʿ21ǯ 1626s # %EY -> actual: ʿ21ǯ 1626s ok 33 /GDateTime/non_utf8_printf 1626s # ???? -> expected: ???? 1626s # ???? -> actual: ???? 1626s # %H?%M -> expected: 23?15 1626s # %H?%M -> actual: 23?15 1626s # %H?%M -> expected: 23?15 1626s # %H?%M -> actual: 23?15 1626s ok 34 /GDateTime/format_unrepresentable 1626s ok 35 /GDateTime/format_iso8601 1627s ok 36 /GDateTime/strftime 1627s # slow test /GDateTime/strftime executed in 0.66 secs 1627s # %d -> expected: 01 1627s # %d -> actual: 01 1627s # %_d -> expected: 1 1627s # %_d -> actual: 1 1627s # %-d -> expected: 1 1627s # %-d -> actual: 1 1627s # %0d -> expected: 01 1627s # %0d -> actual: 01 1627s # %d -> expected: 21 1627s # %d -> actual: 21 1627s # %_d -> expected: 21 1627s # %_d -> actual: 21 1627s # %-d -> expected: 21 1627s # %-d -> actual: 21 1627s # %0d -> expected: 21 1627s # %0d -> actual: 21 1627s # %e -> expected:  1 1627s # %e -> actual:  1 1627s # %_e -> expected: 1 1627s # %_e -> actual: 1 1627s # %-e -> expected: 1 1627s # %-e -> actual: 1 1627s # %0e -> expected: 01 1627s # %0e -> actual: 01 1627s # %e -> expected: 21 1627s # %e -> actual: 21 1627s # %_e -> expected: 21 1627s # %_e -> actual: 21 1627s # %-e -> expected: 21 1627s # %-e -> actual: 21 1627s # %0e -> expected: 21 1627s # %0e -> actual: 21 1627s # %a -> expected: Thu 1627s # %a -> actual: Thu 1627s # %^a -> expected: THU 1627s # %^a -> actual: THU 1627s # %#a -> expected: THU 1627s # %#a -> actual: THU 1627s # %A -> expected: Thursday 1627s # %A -> actual: Thursday 1627s # %^A -> expected: THURSDAY 1627s # %^A -> actual: THURSDAY 1627s # %#A -> expected: THURSDAY 1627s # %#A -> actual: THURSDAY 1627s # %b -> expected: Jan 1627s # %b -> actual: Jan 1627s # %^b -> expected: JAN 1627s # %^b -> actual: JAN 1627s # %#b -> expected: JAN 1627s # %#b -> actual: JAN 1627s # %B -> expected: January 1627s # %B -> actual: January 1627s # %^B -> expected: JANUARY 1627s # %^B -> actual: JANUARY 1627s # %#B -> expected: JANUARY 1627s # %#B -> actual: JANUARY 1627s # %h -> expected: Jan 1627s # %h -> actual: Jan 1627s # %^h -> expected: JAN 1627s # %^h -> actual: JAN 1627s # %#h -> expected: JAN 1627s # %#h -> actual: JAN 1627s # %Z -> expected: UTC 1627s # %Z -> actual: UTC 1627s # %^Z -> expected: UTC 1627s # %^Z -> actual: UTC 1627s # %#Z -> expected: utc 1627s # %#Z -> actual: utc 1627s # %H -> expected: 01 1627s # %H -> actual: 01 1627s # %_H -> expected: 1 1627s # %_H -> actual: 1 1627s # %-H -> expected: 1 1627s # %-H -> actual: 1 1627s # %0H -> expected: 01 1627s # %0H -> actual: 01 1627s # %H -> expected: 21 1627s # %H -> actual: 21 1627s # %_H -> expected: 21 1627s # %_H -> actual: 21 1627s # %-H -> expected: 21 1627s # %-H -> actual: 21 1627s # %0H -> expected: 21 1627s # %0H -> actual: 21 1627s # %I -> expected: 01 1627s # %I -> actual: 01 1627s # %_I -> expected: 1 1627s # %_I -> actual: 1 1627s # %-I -> expected: 1 1627s # %-I -> actual: 1 1627s # %0I -> expected: 01 1627s # %0I -> actual: 01 1627s # %I -> expected: 11 1627s # %I -> actual: 11 1627s # %_I -> expected: 11 1627s # %_I -> actual: 11 1627s # %-I -> expected: 11 1627s # %-I -> actual: 11 1627s # %0I -> expected: 11 1627s # %0I -> actual: 11 1627s # %k -> expected:  1 1627s # %k -> actual:  1 1627s # %_k -> expected: 1 1627s # %_k -> actual: 1 1627s # %-k -> expected: 1 1627s # %-k -> actual: 1 1627s # %0k -> expected: 01 1627s # %0k -> actual: 01 1627s # %l -> expected:  1 1627s # %l -> actual:  1 1627s # %_l -> expected: 1 1627s # %_l -> actual: 1 1627s # %-l -> expected: 1 1627s # %-l -> actual: 1 1627s # %0l -> expected: 01 1627s # %0l -> actual: 01 1627s # %l -> expected: 11 1627s # %l -> actual: 11 1627s # %_l -> expected: 11 1627s # %_l -> actual: 11 1627s # %-l -> expected: 11 1627s # %-l -> actual: 11 1627s # %0l -> expected: 11 1627s # %0l -> actual: 11 1627s # %p -> expected: AM 1627s # %p -> actual: AM 1627s # %^p -> expected: AM 1627s # %^p -> actual: AM 1627s # %#p -> expected: am 1627s # %#p -> actual: am 1627s # %P -> expected: am 1627s # %P -> actual: am 1627s # %^P -> expected: AM 1627s # %^P -> actual: AM 1627s # %#P -> expected: am 1627s # %#P -> actual: am 1627s # %OH -> expected: ۲۳ 1627s # %OH -> actual: ۲۳ 1627s # %OI -> expected: ۱۱ 1627s # %OI -> actual: ۱۱ 1627s # %OM -> expected: ۰۰ 1627s # %OM -> actual: ۰۰ 1627s # %Om -> expected: ۰۷ 1627s # %Om -> actual: ۰۷ 1627s # %0Om -> expected: ۰۷ 1627s # %0Om -> actual: ۰۷ 1627s # %-Om -> expected: ۷ 1627s # %-Om -> actual: ۷ 1627s # %_Om -> expected: ۷ 1627s # %_Om -> actual: ۷ 1627s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1627s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1627s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1627s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1627s # %C -> expected: 20 1627s # %C -> actual: 20 1627s # %EC -> expected: 20 1627s # %EC -> actual: 20 1627s # %x -> expected: 02/01/09 1627s # %x -> actual: 02/01/09 1627s # %Ex -> expected: 02/01/09 1627s # %Ex -> actual: 02/01/09 1627s # %X -> expected: 01:02:03 1627s # %X -> actual: 01:02:03 1627s # %EX -> expected: 01:02:03 1627s # %EX -> actual: 01:02:03 1627s # %y -> expected: 09 1627s # %y -> actual: 09 1627s # %Ey -> expected: 09 1627s # %Ey -> actual: 09 1627s # %Y -> expected: 2009 1627s # %Y -> actual: 2009 1627s # %EY -> expected: 2009 1627s # %EY -> actual: 2009 1627s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1627s # Bug Reference: http://bugzilla.gnome.org/749206 1627s # %B -> expected: January 1627s # %B -> actual: January 1627s # %OB -> expected: February 1627s # %OB -> actual: February 1627s # %b -> expected: Mar 1627s # %b -> actual: Mar 1627s # %Ob -> expected: Apr 1627s # %Ob -> actual: Apr 1627s # %h -> expected: May 1627s # %h -> actual: May 1627s # %Oh -> expected: Jun 1627s # %Oh -> actual: Jun 1627s # %B -> expected: Juli 1627s # %B -> actual: Juli 1627s # %OB -> expected: August 1627s # %OB -> actual: August 1627s # %b -> expected: Sep 1627s # %b -> actual: Sep 1627s # %Ob -> expected: Okt 1627s # %Ob -> actual: Okt 1627s # %h -> expected: Nov 1627s # %h -> actual: Nov 1627s # %Oh -> expected: Dez 1627s # %Oh -> actual: Dez 1627s # %B -> expected: enero 1627s # %B -> actual: enero 1627s # %OB -> expected: febrero 1627s # %OB -> actual: febrero 1627s # %b -> expected: mar 1627s # %b -> actual: mar 1627s # %Ob -> expected: abr 1627s # %Ob -> actual: abr 1627s # %h -> expected: may 1627s # %h -> actual: may 1627s # %Oh -> expected: jun 1627s # %Oh -> actual: jun 1627s # %B -> expected: juillet 1627s # %B -> actual: juillet 1627s # %OB -> expected: août 1627s # %OB -> actual: août 1627s # %b -> expected: sept. 1627s # %b -> actual: sept. 1627s # %Ob -> expected: oct. 1627s # %Ob -> actual: oct. 1627s # %h -> expected: nov. 1627s # %h -> actual: nov. 1627s # %Oh -> expected: déc. 1627s # %Oh -> actual: déc. 1627s # %B -> expected: Ιανουαρίου 1627s # %B -> actual: Ιανουαρίου 1627s # %B -> expected: Φεβρουαρίου 1627s # %B -> actual: Φεβρουαρίου 1627s # %B -> expected: Μαρτίου 1627s # %B -> actual: Μαρτίου 1627s # %OB -> expected: Απρίλιος 1627s # %OB -> actual: Απρίλιος 1627s # %OB -> expected: Μάιος 1627s # %OB -> actual: Μάιος 1627s # %OB -> expected: Ιούνιος 1627s # %OB -> actual: Ιούνιος 1627s # %b -> expected: Ιουλ 1627s # %b -> actual: Ιουλ 1627s # %Ob -> expected: Αύγ 1627s # %Ob -> actual: Αύγ 1627s # %B -> expected: svibnja 1627s # %B -> actual: svibnja 1627s # %B -> expected: lipnja 1627s # %B -> actual: lipnja 1627s # %B -> expected: srpnja 1627s # %B -> actual: srpnja 1627s # %OB -> expected: Kolovoz 1627s # %OB -> actual: kolovoz 1627s # %OB -> expected: Rujan 1627s # %OB -> actual: rujan 1627s # %OB -> expected: Listopad 1627s # %OB -> actual: listopad 1627s # %b -> expected: Stu 1627s # %b -> actual: stu 1627s # %Ob -> expected: Pro 1627s # %Ob -> actual: pro 1627s # %B -> expected: sausio 1627s # %B -> actual: sausio 1627s # %B -> expected: vasario 1627s # %B -> actual: vasario 1627s # %B -> expected: kovo 1627s # %B -> actual: kovo 1627s # %OB -> expected: balandis 1627s # %OB -> actual: balandis 1627s # %OB -> expected: gegužė 1627s # %OB -> actual: gegužė 1627s # %OB -> expected: birželis 1627s # %OB -> actual: birželis 1627s # %b -> expected: liep. 1627s # %b -> actual: liep. 1627s # %Ob -> expected: rugp. 1627s # %Ob -> actual: rugp. 1627s # %B -> expected: maja 1627s # %B -> actual: maja 1627s # %B -> expected: czerwca 1627s # %B -> actual: czerwca 1627s # %B -> expected: lipca 1627s # %B -> actual: lipca 1627s # %OB -> expected: sierpień 1627s # %OB -> actual: sierpień 1627s # %OB -> expected: wrzesień 1627s # %OB -> actual: wrzesień 1627s # %OB -> expected: październik 1627s # %OB -> actual: październik 1627s # %b -> expected: lis 1627s # %b -> actual: lis 1627s # %Ob -> expected: gru 1627s # %Ob -> actual: gru 1627s # %B -> expected: января 1627s # %B -> actual: января 1627s # %B -> expected: февраля 1627s # %B -> actual: февраля 1627s # %B -> expected: марта 1627s # %B -> actual: марта 1627s # %OB -> expected: Апрель 1627s # %OB -> actual: Апрель 1627s # %OB -> expected: Май 1627s # %OB -> actual: Май 1627s # %OB -> expected: Июнь 1627s # %OB -> actual: Июнь 1627s # %b -> expected: июл 1627s # %b -> actual: июл 1627s # %Ob -> expected: авг 1627s # %Ob -> actual: авг 1627s # %b -> expected: мая 1627s # %b -> actual: мая 1627s # %Ob -> expected: май 1627s # %Ob -> actual: май 1627s ok 38 /GDateTime/month_names 1627s ok 39 /GDateTime/to_local 1627s ok 40 /GDateTime/to_unix 1627s ok 41 /GDateTime/to_timeval 1627s ok 42 /GDateTime/to_utc 1627s ok 43 /GDateTime/now_utc 1627s ok 44 /GDateTime/dst 1627s # Bug Reference: http://bugzilla.gnome.org/642935 1627s ok 45 /GDateTime/test_z 1629s ok 46 /GDateTime/test-all-dates 1629s # slow test /GDateTime/test-all-dates executed in 2.55 secs 1629s ok 47 /GDateTime/unix_usec 1629s # Start of new_from_unix tests 1629s # Bug Reference: http://bugzilla.gnome.org/782089 1629s ok 48 /GDateTime/new_from_unix/overflow 1629s # End of new_from_unix tests 1629s # Start of new_from_timeval tests 1629s # Bug Reference: http://bugzilla.gnome.org/782089 1629s # Maximum supported GTimeVal.tv_sec = 253402300799 1629s ok 49 /GDateTime/new_from_timeval/overflow 1629s # End of new_from_timeval tests 1629s # Start of new_from_iso8601 tests 1629s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1629s # Vector 0: 1990-11-01T10:21:17Z 1629s # Vector 1: 19901101T102117Z 1629s # Vector 2: 1970-01-01T00:00:17.12Z 1629s # Vector 3: 1970-01-01T00:00:17.1234Z 1629s # Vector 4: 1970-01-01T00:00:17.123456Z 1629s # Vector 5: 1980-02-22T12:36:00+02:00 1629s # Vector 6: 1990-12-31T15:59:60-08:00 1629s # Vector 7: 1629s # Vector 8: x 1629s # Vector 9: 123x 1629s # Vector 10: 2001-10+x 1629s # Vector 11: 1980-02-22T 1629s # Vector 12: 2001-10-08Tx 1629s # Vector 13: 2001-10-08T10:11x 1629s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1629s # Vector 15: 1980-02-22T10:36:00Zulu 1629s # Vector 16: 2T0+819855292164632335 1629s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1629s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1629s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1629s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1629s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1629s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1629s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1629s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1629s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1629s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1629s # Vector 27: 20180803T140805.446178377+0100 1629s # Vector 28: 21474836480803T140805.446178377+0100 1629s # Vector 29: 20181303T140805.446178377+0100 1629s # Vector 30: 20180003T140805.446178377+0100 1629s # Vector 31: 20180800T140805.446178377+0100 1629s # Vector 32: 20180832T140805.446178377+0100 1629s # Vector 33: 20180803T240805.446178377+0100 1629s # Vector 34: 20180803T146005.446178377+0100 1629s # Vector 35: 20180803T140863.446178377+0100 1629s # Vector 36: 20180803T140805.446178377+10000 1629s # Vector 37: -0005-01-01T00:00:00Z 1629s # Vector 38: 2018-08-06 1629s # Vector 39: 20180803T140805,446178377+0100 1629s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1629s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1629s # Vector 42: 1990-11-01T10:21:17 1629s # Vector 43: 1719W462 407777-07 1629s # Vector 44: 4011090 260528Z 1629s # Vector 45: 0000W011 228214-22 1629s ok 50 /GDateTime/new_from_iso8601/2 1629s # End of new_from_iso8601 tests 1629s # Start of format_mixed tests 1629s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1629s # %b -> expected: mar 1629s # %b -> actual: Mar 1629s # %B -> expected: march 1629s # %B -> actual: March 1629s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1629s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1629s # %b -> expected: mar 1629s # %b -> actual: Mar 1629s # %B -> expected: march 1629s # %B -> actual: March 1629s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1629s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1629s # %b -> expected: Mär 1629s # %b -> actual: Mär 1629s # %B -> expected: März 1629s # %B -> actual: März 1629s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1629s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1629s # %b -> expected: Mär 1629s # %b -> actual: Mär 1629s # %B -> expected: März 1629s # %B -> actual: März 1629s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1629s # End of format_mixed tests 1629s # Start of strftime tests 1629s # %r -> expected: (null) 1629s # %r -> actual: (null) 1629s ok 55 /GDateTime/strftime/error_handling 1629s # End of strftime tests 1629s # Start of eras tests 1629s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1629s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1629s # %EC -> expected: 令和 1629s # %EC -> actual: 令和 1629s # %Ex -> expected: 令和05年06月01日 1629s # %Ex -> actual: 令和05年06月01日 1629s # %EX -> expected: 00時00分00秒 1629s # %EX -> actual: 00時00分00秒 1629s # %Ey -> expected: 05 1629s # %Ey -> actual: 05 1629s # %EY -> expected: 令和05年 1629s # %EY -> actual: 令和05年 1629s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1629s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1629s # %EC -> expected: 平成 1629s # %EC -> actual: 平成 1629s # %Ex -> expected: 平成31年04月30日 1629s # %Ex -> actual: 平成31年04月30日 1629s # %EX -> expected: 00時00分00秒 1629s # %EX -> actual: 00時00分00秒 1629s # %Ey -> expected: 31 1629s # %Ey -> actual: 31 1629s # %EY -> expected: 平成31年 1629s # %EY -> actual: 平成31年 1629s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1629s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1629s # %EC -> expected: 昭和 1629s # %EC -> actual: 昭和 1629s # %Ex -> expected: 昭和元年12月25日 1629s # %Ex -> actual: 昭和元年12月25日 1629s # %EX -> expected: 00時00分00秒 1629s # %EX -> actual: 00時00分00秒 1629s # %Ey -> expected: 01 1629s # %Ey -> actual: 01 1629s # %EY -> expected: 昭和元年 1629s # %EY -> actual: 昭和元年 1629s ok 56 /GDateTime/eras/japan 1629s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1629s # Vector 0: 1629s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1629s # 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年 1629s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1629s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1629s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1629s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1629s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1629s # Vector 8: + 1629s # Vector 9: +: 1629s # Vector 10: +:: 1629s # Vector 11: +:200 1629s # Vector 12: +:2nonsense 1629s # Vector 13: +:2nonsense: 1629s # Vector 14: +:2: 1629s # Vector 15: +:2:: 1629s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1629s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1629s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1629s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1629s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1629s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1629s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1629s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1629s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1629s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1629s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1629s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1629s # Vector 28: +:2:2020/01/01 1629s # Vector 29: +:2:2020/01/01: 1629s # Vector 30: +:2:2020/01/01:: 1629s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1629s # Vector 32: +:2:2020/01/01:+* 1629s # Vector 33: +:2:2020/01/01:+*: 1629s # Vector 34: +:2:2020/01/01:+*:: 1629s # Vector 35: +:2:2020/01/01:+*:令和 1629s # Vector 36: +:2:2020/01/01:+*:令和: 1629s # Vector 37: +:2:2020/01/01:+*:令和:; 1629s ok 58 /GDateTime/eras/parsing 1629s # End of eras tests 1629s # End of GDateTime tests 1629s # Start of GTimeZone tests 1629s ok 59 /GTimeZone/find-interval 1629s ok 60 /GTimeZone/adjust-time 1629s ok 61 /GTimeZone/no-header 1629s ok 62 /GTimeZone/no-header-identifier 1629s ok 63 /GTimeZone/posix-parse 1629s # Bug Reference: http://bugzilla.gnome.org/697715 1629s ok 64 /GTimeZone/floating-point 1629s # System time zone identifier: Etc/UTC 1629s ok 65 /GTimeZone/identifier 1629s # Vector 0: -158400 1629s # Vector 1: -10000 1629s # Vector 2: -3600 1629s # Vector 3: -61 1629s # Vector 4: -60 1629s # Vector 5: -59 1629s # Vector 6: 0 1629s # Vector 7: 59 1629s # Vector 8: 60 1629s # Vector 9: 61 1629s # Vector 10: 3600 1629s # Vector 11: 10000 1629s # Vector 12: 158400 1629s ok 66 /GTimeZone/new-offset 1629s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1629s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1629s ok 67 /GTimeZone/parse-rfc8536 1629s # /GTimeZone/caching summary: GTimeZone instances are cached 1629s ok 68 /GTimeZone/caching 1629s # End of GTimeZone tests 1629s ok - glib/gdatetime.test 1629s # Running test: glib/utils.test 1629s TAP version 13 1629s # random seed: R02S5c90ad0e5a403ffdd5ca59027083d847 1629s 1..40 1629s # Start of utils tests 1629s ok 1 /utils/language-names 1629s ok 2 /utils/locale-variants 1629s ok 3 /utils/version 1629s ok 4 /utils/appname 1629s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1629s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1629s ok 5 /utils/prgname-thread-safety 1629s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1629s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1629s ok 6 /utils/tmpdir 1629s ok 7 /utils/basic_bits 1629s ok 8 /utils/bits 1629s ok 9 /utils/swap 1629s ok 10 /utils/find-program 1629s ok 11 /utils/find-program-for-path 1629s ok 12 /utils/debug 1629s ok 13 /utils/codeset 1629s ok 14 /utils/codeset2 1629s ok 15 /utils/console-charset 1629s ok 16 /utils/gettext 1629s ok 17 /utils/username 1629s ok 18 /utils/realname 1629s ok 19 /utils/hostname 1629s ok 20 /utils/xdgdirs 1629s ok 21 /utils/specialdir 1629s # NAME: Ubuntu 1629s ok 22 /utils/os-info 1629s ok 23 /utils/clear-pointer 1629s ok 24 /utils/clear-pointer-cast 1629s ok 25 /utils/take-pointer 1629s ok 26 /utils/clear-source 1629s ok 27 /utils/misc-mem 1629s # /utils/aligned-mem summary: Aligned memory allocator 1629s # Alignment must not be zero 1629s # Alignment must be a power of two 1629s # Alignment must be a multiple of sizeof(void*) 1629s ok 28 /utils/aligned-mem 1629s # /utils/free-sized summary: Check that g_free_sized() works 1629s ok 29 /utils/free-sized 1629s ok 30 /utils/nullify 1629s ok 31 /utils/atexit 1629s ok 32 /utils/check-setuid 1629s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1629s ok 33 /utils/int-limits 1629s ok 34 /utils/clear-list 1629s ok 35 /utils/clear-slist 1629s # Start of specialdir tests 1629s ok 36 /utils/specialdir/desktop 1629s # End of specialdir tests 1629s # Start of clear-pointer tests 1629s ok 37 /utils/clear-pointer/side-effects 1629s # End of clear-pointer tests 1629s # Start of aligned-mem tests 1629s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1629s ok 38 /utils/aligned-mem/alignment 1629s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1629s ok 39 /utils/aligned-mem/zeroed 1629s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1629s ok 40 /utils/aligned-mem/free-sized 1629s # Start of subprocess tests 1629s # End of subprocess tests 1629s # End of aligned-mem tests 1629s # End of utils tests 1629s ok - glib/utils.test 1629s # Running test: glib/properties-refcount4.test 1629s TAP version 13 1629s # random seed: R02S4e4ff96a85ab1652a63a8ced861be8be 1629s 1..1 1629s # Start of gobject tests 1629s # Start of refcount tests 1629s ok 1 /gobject/refcount/properties-4 1629s # End of refcount tests 1629s # End of gobject tests 1629s ok - glib/properties-refcount4.test 1629s # Running test: glib/utils-isolated.test 1629s TAP version 13 1629s # random seed: R02Sbba4831a4eae604831a89d50cac55d8c 1629s 1..9 1629s # Start of utils-isolated tests 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/tmp-dir/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/tmp-dir/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/tmp-dir/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/tmp-dir/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/tmp-dir/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/tmp-dir/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/tmp-dir/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/tmp-dir/.dirs/runtime 1629s ok 1 /utils-isolated/tmp-dir 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/home-dir/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/home-dir/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/home-dir/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/home-dir/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/home-dir/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/home-dir/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/home-dir/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/home-dir/.dirs/runtime 1629s ok 2 /utils-isolated/home-dir 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-cache-dir/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-cache-dir/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-cache-dir/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-cache-dir/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-cache-dir/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-cache-dir/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-cache-dir/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-cache-dir/.dirs/runtime 1629s ok 3 /utils-isolated/user-cache-dir 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-config-dirs/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-config-dirs/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-config-dirs/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-config-dirs/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-config-dirs/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-config-dirs/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-config-dirs/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-config-dirs/.dirs/runtime 1629s ok 4 /utils-isolated/system-config-dirs 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-config-dir/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-config-dir/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-config-dir/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-config-dir/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-config-dir/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-config-dir/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-config-dir/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-config-dir/.dirs/runtime 1629s ok 5 /utils-isolated/user-config-dir 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-data-dirs/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-data-dirs/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-data-dirs/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-data-dirs/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-data-dirs/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-data-dirs/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-data-dirs/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/system-data-dirs/.dirs/runtime 1630s ok 6 /utils-isolated/system-data-dirs 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-data-dir/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-data-dir/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-data-dir/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-data-dir/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-data-dir/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-data-dir/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-data-dir/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-data-dir/.dirs/runtime 1630s ok 7 /utils-isolated/user-data-dir 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-state-dir/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-state-dir/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-state-dir/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-state-dir/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-state-dir/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-state-dir/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-state-dir/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-state-dir/.dirs/runtime 1630s ok 8 /utils-isolated/user-state-dir 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-runtime-dir/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-runtime-dir/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-runtime-dir/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-runtime-dir/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-runtime-dir/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-runtime-dir/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-runtime-dir/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_9DVYJ2/utils-isolated/user-runtime-dir/.dirs/runtime 1630s ok 9 /utils-isolated/user-runtime-dir 1630s # End of utils-isolated tests 1630s ok - glib/utils-isolated.test 1630s # Running test: glib/data-input-stream.test 1630s TAP version 13 1630s # random seed: R02S4ddcfc09e13fc959223973b0d792b072 1630s 1..10 1630s # Start of data-input-stream tests 1630s ok 1 /data-input-stream/basic 1630s ok 2 /data-input-stream/read-lines-LF 1630s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1630s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1630s ok 5 /data-input-stream/read-lines-CR 1630s # Executing: glib/data-input-stream.test 1630s ok 6 /data-input-stream/read-lines-CR-LF 1630s ok 7 /data-input-stream/read-lines-any 1630s ok 8 /data-input-stream/read-until 1630s ok 9 /data-input-stream/read-upto 1630s ok 10 /data-input-stream/read-int 1630s # End of data-input-stream tests 1630s ok - glib/data-input-stream.test 1630s # Running test: glib/hook.test 1630s TAP version 13 1630s # random seed: R02S1dbb6cf3a096a57c938346e4a77a504e 1630s 1..2 1630s # Start of hook tests 1630s ok 1 /hook/basics 1630s ok 2 /hook/corner-cases 1630s # End of hook tests 1630s ok - glib/hook.test 1630s # Running test: glib/signal-handler.test 1630s TAP version 13 1630s # random seed: R02Scd2b2a29ee5cbc085997a37d8d23ae6b 1630s 1..7 1630s # Start of signal tests 1630s # Start of handler tests 1630s # min perf: connected 1 handlers in 0.000 seconds 1630s ok 1 /signal/handler/connect-many 1630s # min perf: disconnected 1 handlers in 0.000 seconds 1630s ok 2 /signal/handler/disconnect-many-ordered 1630s # min perf: disconnected 1 handlers in 0.000 seconds 1630s ok 3 /signal/handler/disconnect-many-inverse 1630s # min perf: disconnected 1 handlers in 0.000 seconds 1630s ok 4 /signal/handler/disconnect-many-random 1630s # min perf: disconnected 1 handlers in 0.000 seconds 1630s ok 5 /signal/handler/disconnect-2-signals 1630s # min perf: disconnected 1 handlers in 0.000 seconds 1630s ok 6 /signal/handler/disconnect-2-objects 1630s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1630s ok 7 /signal/handler/block-many 1630s # End of handler tests 1630s # End of signal tests 1630s ok - glib/signal-handler.test 1630s # Running test: glib/unicode.test 1630s TAP version 13 1630s # random seed: R02S5434409315f1b5d55ebaefb005488a6f 1630s 1..39 1630s # Start of unicode tests 1630s ok 1 /unicode/alnum 1630s ok 2 /unicode/alpha 1630s ok 3 /unicode/break-type 1630s ok 4 /unicode/canonical-decomposition 1630s ok 5 /unicode/casefold 1630s # Cannot set locale to lt_LT, skipping 1630s # Cannot set locale to lt_LT, skipping 1630s # Cannot set locale to lt_LT, skipping 1630s # Cannot set locale to lt_LT, skipping 1630s # Cannot set locale to lt_LT, skipping 1630s # Cannot set locale to lt_LT, skipping 1630s # Cannot set locale to lt_LT, skipping 1630s # Cannot set locale to lt_LT, skipping 1630s # Cannot set locale to lt_LT, skipping 1630s # Cannot set locale to lt_LT, skipping 1630s # Cannot set locale to lt_LT, skipping 1630s ok 6 /unicode/casemap_and_casefold 1630s ok 7 /unicode/cases 1630s ok 8 /unicode/character-type 1630s ok 9 /unicode/cntrl 1630s ok 10 /unicode/combining-class 1630s ok 11 /unicode/compose 1630s ok 12 /unicode/decompose 1630s ok 13 /unicode/decompose-tail 1630s ok 14 /unicode/defined 1630s ok 15 /unicode/digit 1630s ok 16 /unicode/digit-value 1630s ok 17 /unicode/fully-decompose-canonical 1630s ok 18 /unicode/fully-decompose-len 1630s ok 19 /unicode/normalization 1630s ok 20 /unicode/graph 1630s # Testing script Zyyy (code 1517910393) 1630s # Testing script Zinh (code 1516858984) 1630s # Testing script Zmth (code 1517122664) 1630s # Testing script Arab (code 1098015074) 1630s # Testing script Armn (code 1098018158) 1630s # Testing script Beng (code 1113943655) 1630s # Testing script Bopo (code 1114599535) 1630s # Testing script Cher (code 1130915186) 1630s # Testing script Copt (code 1131376756) 1630s # Testing script Cyrl (code 1132032620) 1630s # Testing script Dsrt (code 1148416628) 1630s # Testing script Deva (code 1147500129) 1630s # Testing script Ethi (code 1165256809) 1630s # Testing script Geor (code 1197830002) 1630s # Testing script Goth (code 1198486632) 1630s # Testing script Grek (code 1198679403) 1630s # Testing script Gujr (code 1198877298) 1630s # Testing script Guru (code 1198879349) 1630s # Testing script Hani (code 1214344809) 1630s # Testing script Hang (code 1214344807) 1630s # Testing script Hebr (code 1214603890) 1630s # Testing script Hira (code 1214870113) 1630s # Testing script Knda (code 1265525857) 1630s # Testing script Kana (code 1264676449) 1630s # Testing script Khmr (code 1265134962) 1630s # Testing script Laoo (code 1281453935) 1630s # Testing script Latn (code 1281455214) 1630s # Testing script Mlym (code 1298954605) 1630s # Testing script Mong (code 1299148391) 1630s # Testing script Mymr (code 1299803506) 1630s # Testing script Ogam (code 1332175213) 1630s # Testing script Ital (code 1232363884) 1630s # Testing script Orya (code 1332902241) 1630s # Testing script Runr (code 1383427698) 1630s # Testing script Sinh (code 1399418472) 1630s # Testing script Syrc (code 1400468067) 1630s # Testing script Taml (code 1415671148) 1630s # Testing script Telu (code 1415933045) 1630s # Testing script Thaa (code 1416126817) 1630s # Testing script Thai (code 1416126825) 1630s # Testing script Tibt (code 1416192628) 1630s # Testing script Cans (code 1130458739) 1630s # Testing script Yiii (code 1500080489) 1630s # Testing script Tglg (code 1416064103) 1630s # Testing script Hano (code 1214344815) 1630s # Testing script Buhd (code 1114990692) 1630s # Testing script Tagb (code 1415669602) 1630s # Testing script Brai (code 1114792297) 1630s # Testing script Cprt (code 1131442804) 1630s # Testing script Limb (code 1281977698) 1630s # Testing script Osma (code 1332964705) 1630s # Testing script Shaw (code 1399349623) 1630s # Testing script Linb (code 1281977954) 1630s # Testing script Tale (code 1415670885) 1630s # Testing script Ugar (code 1432838514) 1630s # Testing script Talu (code 1415670901) 1630s # Testing script Bugi (code 1114990441) 1630s # Testing script Glag (code 1198285159) 1630s # Testing script Tfng (code 1415999079) 1630s # Testing script Sylo (code 1400466543) 1630s # Testing script Xpeo (code 1483761007) 1630s # Testing script Khar (code 1265131890) 1630s # Testing script Zzzz (code 1517976186) 1630s # Testing script Bali (code 1113681001) 1630s # Testing script Xsux (code 1483961720) 1630s # Testing script Phnx (code 1349021304) 1630s # Testing script Phag (code 1349017959) 1630s # Testing script Nkoo (code 1315663727) 1630s # Testing script Kali (code 1264675945) 1630s # Testing script Lepc (code 1281716323) 1630s # Testing script Rjng (code 1382706791) 1630s # Testing script Sund (code 1400204900) 1630s # Testing script Saur (code 1398895986) 1630s # Testing script Cham (code 1130914157) 1630s # Testing script Olck (code 1332503403) 1630s # Testing script Vaii (code 1449224553) 1630s # Testing script Cari (code 1130459753) 1630s # Testing script Lyci (code 1283023721) 1630s # Testing script Lydi (code 1283023977) 1630s # Testing script Avst (code 1098281844) 1630s # Testing script Bamu (code 1113681269) 1630s # Testing script Egyp (code 1164409200) 1630s # Testing script Armi (code 1098018153) 1630s # Testing script Phli (code 1349020777) 1630s # Testing script Prti (code 1349678185) 1630s # Testing script Java (code 1247901281) 1630s # Testing script Kthi (code 1265920105) 1630s # Testing script Lisu (code 1281979253) 1630s # Testing script Mtei (code 1299473769) 1630s # Testing script Sarb (code 1398895202) 1630s # Testing script Orkh (code 1332898664) 1630s # Testing script Samr (code 1398893938) 1630s # Testing script Lana (code 1281453665) 1630s # Testing script Tavt (code 1415673460) 1630s # Testing script Batk (code 1113683051) 1630s # Testing script Brah (code 1114792296) 1630s # Testing script Mand (code 1298230884) 1630s # Testing script Cakm (code 1130457965) 1630s # Testing script Merc (code 1298494051) 1630s # Testing script Mero (code 1298494063) 1630s # Testing script Plrd (code 1349284452) 1630s # Testing script Shrd (code 1399353956) 1630s # Testing script Sora (code 1399812705) 1630s # Testing script Takr (code 1415670642) 1630s # Testing script Bass (code 1113682803) 1630s # Testing script Aghb (code 1097295970) 1630s # Testing script Dupl (code 1148547180) 1630s # Testing script Elba (code 1164730977) 1630s # Testing script Gran (code 1198678382) 1630s # Testing script Khoj (code 1265135466) 1630s # Testing script Sind (code 1399418468) 1630s # Testing script Lina (code 1281977953) 1630s # Testing script Mahj (code 1298229354) 1630s # Testing script Mani (code 1298230889) 1630s # Testing script Mend (code 1298493028) 1630s # Testing script Modi (code 1299145833) 1630s # Testing script Mroo (code 1299345263) 1630s # Testing script Nbat (code 1315070324) 1630s # Testing script Narb (code 1315009122) 1630s # Testing script Perm (code 1348825709) 1630s # Testing script Hmng (code 1215131239) 1630s # Testing script Palm (code 1348562029) 1630s # Testing script Pauc (code 1348564323) 1630s # Testing script Phlp (code 1349020784) 1630s # Testing script Sidd (code 1399415908) 1630s # Testing script Tirh (code 1416196712) 1630s # Testing script Wara (code 1466004065) 1630s # Testing script Ahom (code 1097363309) 1630s # Testing script Hluw (code 1215067511) 1630s # Testing script Hatr (code 1214346354) 1630s # Testing script Mult (code 1299541108) 1630s # Testing script Hung (code 1215655527) 1630s # Testing script Sgnw (code 1399287415) 1630s # Testing script Adlm (code 1097100397) 1630s # Testing script Bhks (code 1114139507) 1630s # Testing script Marc (code 1298231907) 1630s # Testing script Newa (code 1315272545) 1630s # Testing script Osge (code 1332963173) 1630s # Testing script Tang (code 1415671399) 1630s # Testing script Gonm (code 1198485101) 1630s # Testing script Nshu (code 1316186229) 1630s # Testing script Soyo (code 1399814511) 1630s # Testing script Zanb (code 1516334690) 1630s # Testing script Dogr (code 1148151666) 1630s # Testing script Gong (code 1198485095) 1630s # Testing script Rohg (code 1383032935) 1630s # Testing script Maka (code 1298230113) 1630s # Testing script Medf (code 1298490470) 1630s # Testing script Sogo (code 1399809903) 1630s # Testing script Sogd (code 1399809892) 1630s # Testing script Elym (code 1164736877) 1630s # Testing script Nand (code 1315008100) 1630s # Testing script Hmnp (code 1215131248) 1630s # Testing script Wcho (code 1466132591) 1630s # Testing script Chrs (code 1130918515) 1630s # Testing script Diak (code 1147756907) 1630s # Testing script Kits (code 1265202291) 1630s # Testing script Yezi (code 1499822697) 1630s # Testing script Cpmn (code 1131441518) 1630s # Testing script Ougr (code 1333094258) 1630s # Testing script Tnsa (code 1416524641) 1630s # Testing script Toto (code 1416590447) 1630s # Testing script Vith (code 1449751656) 1630s # Testing script Kawi (code 1264678761) 1630s # Testing script Nagm (code 1315006317) 1630s ok 21 /unicode/iso15924 1630s ok 22 /unicode/lower 1630s ok 23 /unicode/mark 1630s ok 24 /unicode/mirror 1630s ok 25 /unicode/print 1630s ok 26 /unicode/punctuation 1630s ok 27 /unicode/script 1630s ok 28 /unicode/space 1630s ok 29 /unicode/strdown 1630s ok 30 /unicode/strup 1630s ok 31 /unicode/turkish-strupdown 1630s ok 32 /unicode/title 1630s ok 33 /unicode/upper 1630s ok 34 /unicode/validate 1630s ok 35 /unicode/wide 1630s ok 36 /unicode/xdigit 1630s ok 37 /unicode/xdigit-value 1630s ok 38 /unicode/zero-width 1630s ok 39 /unicode/normalize 1630s # End of unicode tests 1630s ok - glib/unicode.test 1630s # Running test: glib/accumulator.test 1630s TAP version 13 1630s # random seed: R02S806140fa443b791b8e01d05d15d273cd 1630s 1..1 1630s # Start of gobject tests 1630s ok 1 /gobject/accumulator 1630s # End of gobject tests 1630s ok - glib/accumulator.test 1630s # Running test: glib/network-monitor.test 1630s TAP version 13 1630s # random seed: R02S985b051dead1675a4b1d106a5556cb20 1630s 1..4 1630s # Start of network-monitor tests 1630s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1630s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1630s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1630s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1630s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1630s ok 1 /network-monitor/default 1630s ok 2 /network-monitor/remove_default 1631s ok 3 /network-monitor/add_networks 1631s ok 4 /network-monitor/remove_networks 1631s # End of network-monitor tests 1631s ok - glib/network-monitor.test 1631s # Running test: glib/utf8-performance.test 1631s TAP version 13 1631s # random seed: R02Sddaca1197b4f6684e2d7fa67fd6f3a9b 1631s 1..36 1631s # Start of utf8 tests 1631s # Start of perf tests 1631s # Start of get_char tests 1631s # max perf: 21.5 MB/s 1631s ok 1 /utf8/perf/get_char/ascii 1631s # max perf: 67.0 MB/s 1631s ok 2 /utf8/perf/get_char/latin1 1631s # max perf: 160.0 MB/s 1631s ok 3 /utf8/perf/get_char/cyrillic 1631s # max perf: 156.0 MB/s 1631s ok 4 /utf8/perf/get_char/han 1631s # End of get_char tests 1631s # Start of get_char-backwards tests 1631s # max perf: 43.0 MB/s 1631s ok 5 /utf8/perf/get_char-backwards/ascii 1631s # max perf: 67.0 MB/s 1631s ok 6 /utf8/perf/get_char-backwards/latin1 1631s # max perf: 80.0 MB/s 1631s ok 7 /utf8/perf/get_char-backwards/cyrillic 1631s # max perf: 156.0 MB/s 1631s ok 8 /utf8/perf/get_char-backwards/han 1631s # End of get_char-backwards tests 1631s # Start of get_char_validated tests 1631s # max perf: 43.0 MB/s 1631s ok 9 /utf8/perf/get_char_validated/ascii 1631s # max perf: 67.0 MB/s 1631s ok 10 /utf8/perf/get_char_validated/latin1 1631s # max perf: 160.0 MB/s 1631s ok 11 /utf8/perf/get_char_validated/cyrillic 1631s # max perf: 78.0 MB/s 1631s ok 12 /utf8/perf/get_char_validated/han 1631s # End of get_char_validated tests 1631s # Start of utf8_to_ucs4 tests 1631s # max perf: 14.3 MB/s 1631s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1631s # max perf: 33.5 MB/s 1631s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1631s # max perf: 53.3 MB/s 1631s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1631s # max perf: 156.0 MB/s 1631s ok 16 /utf8/perf/utf8_to_ucs4/han 1631s # End of utf8_to_ucs4 tests 1631s # Start of utf8_to_ucs4-sized tests 1631s # max perf: 43.0 MB/s 1631s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1631s # max perf: 67.0 MB/s 1631s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1631s # max perf: 80.0 MB/s 1631s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1631s # max perf: 78.0 MB/s 1631s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1631s # End of utf8_to_ucs4-sized tests 1631s # Start of utf8_to_ucs4_fast tests 1631s # max perf: 21.5 MB/s 1631s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1631s # max perf: 67.0 MB/s 1631s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1631s # max perf: 160.0 MB/s 1631s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1631s # max perf: inf MB/s 1631s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1631s # End of utf8_to_ucs4_fast tests 1631s # Start of utf8_to_ucs4_fast-sized tests 1631s # max perf: 43.0 MB/s 1631s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1631s # max perf: inf MB/s 1631s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1631s # max perf: 160.0 MB/s 1631s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1631s # max perf: 156.0 MB/s 1631s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1631s # End of utf8_to_ucs4_fast-sized tests 1631s # Start of utf8_validate tests 1631s # max perf: inf MB/s 1631s ok 29 /utf8/perf/utf8_validate/ascii 1631s # max perf: inf MB/s 1631s ok 30 /utf8/perf/utf8_validate/latin1 1631s # max perf: 160.0 MB/s 1631s ok 31 /utf8/perf/utf8_validate/cyrillic 1631s # max perf: 156.0 MB/s 1631s ok 32 /utf8/perf/utf8_validate/han 1631s # End of utf8_validate tests 1631s # Start of utf8_validate-sized tests 1631s # max perf: inf MB/s 1631s ok 33 /utf8/perf/utf8_validate-sized/ascii 1631s # max perf: 67.0 MB/s 1631s ok 34 /utf8/perf/utf8_validate-sized/latin1 1631s # max perf: 160.0 MB/s 1631s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1631s # max perf: 156.0 MB/s 1631s ok 36 /utf8/perf/utf8_validate-sized/han 1631s # End of utf8_validate-sized tests 1631s # End of perf tests 1631s # End of utf8 tests 1631s ok - glib/utf8-performance.test 1631s # Running test: glib/data-output-stream.test 1631s TAP version 13 1631s # random seed: R02Sde4c23f8e1501fd89769dade223a42b4 1631s 1..7 1631s # Start of data-output-stream tests 1631s ok 1 /data-output-stream/basic 1631s ok 2 /data-output-stream/write-lines-LF 1631s ok 3 /data-output-stream/write-lines-CR 1631s ok 4 /data-output-stream/write-lines-CR-LF 1631s ok 5 /data-output-stream/write-int 1631s ok 6 /data-output-stream/seek 1631s ok 7 /data-output-stream/truncate 1631s # End of data-output-stream tests 1631s ok - glib/data-output-stream.test 1631s # Running test: glib/contenttype.test 1631s TAP version 13 1631s # random seed: R02S697ddf6df2bf329ef0c07c54e92a89cd 1631s 1..13 1631s # Start of contenttype tests 1631s ok 1 /contenttype/guess 1631s ok 2 /contenttype/guess_svg_from_data 1631s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1631s ok 4 /contenttype/unknown 1631s ok 5 /contenttype/subtype 1631s ok 6 /contenttype/list 1631s ok 7 /contenttype/executable 1631s ok 8 /contenttype/description 1631s ok 9 /contenttype/icon 1631s ok 10 /contenttype/symbolic-icon 1631s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1631s ok 11 /contenttype/tree 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1631s ok 12 /contenttype/tree_invalid_encoding 1631s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1631s ok 13 /contenttype/test_type_is_a_special_case 1631s # End of contenttype tests 1631s ok - glib/contenttype.test 1631s # Running test: glib/testfilemonitor.test 1631s TAP version 13 1631s # random seed: R02Sc7282b48b4f8bb1411f1e623df6168b6 1631s 1..8 1631s # Start of monitor tests 1631s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1631s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1631s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1631s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1631s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1631s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1631s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1631s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1631s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1631s # Start of file tests 1631s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1631s # End of file tests 1631s # End of monitor tests 1631s ok - glib/testfilemonitor.test 1631s # Running test: glib/spawn-test.test 1631s TAP version 13 1631s # random seed: R02Se835e16cb921735340e76ec1ff482d97 1631s 1..2 1631s # Start of spawn tests 1631s ok 1 /spawn/basics 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1631s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1631s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1631s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1631s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1631s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1631s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1631s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1631s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1631s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1631s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1631s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1631s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1631s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1631s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1631s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1631s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1631s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1631s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1631s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1631s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1631s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1631s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1631s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1631s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1631s # Fetching GSpawn result with stdin open, stdout open, stderr open 1631s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1631s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1631s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1631s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1631s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1631s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1631s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1631s ok 2 /spawn/stdio-overwrite 1631s # End of spawn tests 1631s ok - glib/spawn-test.test 1631s # Running test: glib/defaultvalue.test 1631s TAP version 13 1631s # random seed: R02S3184e350f9fb82026d3825102a0aec40 1631s 1..84 1631s # Start of Default Values tests 1631s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1631s ok 2 /Default Values/GAppLaunchContext 1631s ok 3 /Default Values/GApplicationCommandLine 1631s # skipping GApplication:is-remote 1631s ok 4 /Default Values/GApplication 1631s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1631s ok 6 /Default Values/GBindingGroup 1631s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1631s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1631s ok 9 /Default Values/GBytesIcon 1631s ok 10 /Default Values/GCancellable 1631s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1631s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1631s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1631s ok 14 /Default Values/GCredentials 1631s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1631s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1631s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1631s ok 18 /Default Values/GDBusAuthObserver 1631s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1631s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1631s ok 21 /Default Values/GDBusMessage 1631s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1631s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1631s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1631s ok 25 /Default Values/GDBusObjectProxy 1631s ok 26 /Default Values/GDBusObjectSkeleton 1631s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1631s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1631s ok 29 /Default Values/GEmblem 1631s ok 30 /Default Values/GEmblemedIcon 1631s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1631s ok 32 /Default Values/GFileInfo 1631s ok 33 /Default Values/GFileInputStream 1631s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1631s ok 35 /Default Values/GFileOutputStream 1631s ok 36 /Default Values/GFilenameCompleter 1631s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1631s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1631s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1631s ok 40 /Default Values/GInitiallyUnowned 1631s ok 41 /Default Values/GIOModule 1631s ok 42 /Default Values/GListStore 1631s ok 43 /Default Values/GMemoryInputStream 1631s ok 44 /Default Values/GMemoryOutputStream 1631s ok 45 /Default Values/GMenu 1631s ok 46 /Default Values/GMenuItem 1631s ok 47 /Default Values/GMountOperation 1631s ok 48 /Default Values/GNativeSocketAddress 1631s ok 49 /Default Values/GNetworkAddress 1631s ok 50 /Default Values/GNetworkService 1631s ok 51 /Default Values/GNotification 1631s ok 52 /Default Values/GObject 1631s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1631s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1631s # skipping GProxyAddressEnumerator:proxy-resolver 1631s ok 54 /Default Values/GProxyAddressEnumerator 1631s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1631s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1631s ok 57 /Default Values/GSignalGroup 1631s ok 58 /Default Values/GSimpleAction 1631s ok 59 /Default Values/GSimpleActionGroup 1631s ok 60 /Default Values/GSimpleAsyncResult 1631s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1631s ok 62 /Default Values/GSimplePermission 1631s ok 63 /Default Values/GSimpleProxyResolver 1631s # skipping GSocketClient:proxy-resolver 1631s ok 64 /Default Values/GSocketClient 1631s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1631s ok 66 /Default Values/GSocket # SKIP initialization failed 1631s ok 67 /Default Values/GSocketListener 1631s ok 68 /Default Values/GSocketService 1631s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1631s ok 70 /Default Values/GSubprocessLauncher 1631s # GLib-GIO-DEBUG: GTask 0xb86e7e51ef50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1631s ok 71 /Default Values/GTask 1631s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1631s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1631s ok 74 /Default Values/GTestDBus 1631s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1631s ok 76 /Default Values/GThreadedSocketService 1631s ok 77 /Default Values/GTlsInteraction 1631s ok 78 /Default Values/GTlsPassword 1631s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1631s ok 80 /Default Values/GUnixFDList 1631s ok 81 /Default Values/GVfs 1631s ok 82 /Default Values/GVolumeMonitor 1631s ok 83 /Default Values/GZlibCompressor 1631s ok 84 /Default Values/GZlibDecompressor 1631s # End of Default Values tests 1631s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1631s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1631s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1631s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1631s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1631s ok - glib/defaultvalue.test 1631s # Running test: glib/module-test-plugin.test 1631s TAP version 13 1631s # random seed: R02Sc47c1281e6f2d65350ca3943f18d13a6 1631s 1..2 1631s # Start of module tests 1631s ok 1 /module/basics 1631s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1631s ok 2 /module/invalid-libtool-archive 1631s # End of module tests 1631s ok - glib/module-test-plugin.test 1631s # Running test: glib/gdbus-address-get-session.test 1631s TAP version 13 1631s # random seed: R02S74e5bbce2475c4d91808bd05e068aa16 1631s 1..2 1631s # Start of gdbus tests 1631s ok 1 /gdbus/x11-autolaunch 1631s ok 2 /gdbus/xdg-runtime 1631s # End of gdbus tests 1631s ok - glib/gdbus-address-get-session.test 1631s # Running test: glib/bindinggroup.test 1631s TAP version 13 1631s # random seed: R02S2137144c25b817d7215475f7cf291e86 1631s 1..11 1631s # Start of GObject tests 1631s # Start of BindingGroup tests 1631s ok 1 /GObject/BindingGroup/invalid 1631s ok 2 /GObject/BindingGroup/default 1631s ok 3 /GObject/BindingGroup/bidirectional 1631s ok 4 /GObject/BindingGroup/transform 1631s ok 5 /GObject/BindingGroup/transform-closures 1631s ok 6 /GObject/BindingGroup/same-object 1631s ok 7 /GObject/BindingGroup/weak-ref-source 1631s ok 8 /GObject/BindingGroup/weak-ref-target 1631s ok 9 /GObject/BindingGroup/properties 1631s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1631s ok 11 /GObject/BindingGroup/empty-closures 1631s # End of BindingGroup tests 1631s # End of GObject tests 1631s ok - glib/bindinggroup.test 1631s # Running test: glib/permission.test 1631s TAP version 13 1631s # random seed: R02S48bfb9000ad7414e694a461531f47a2a 1631s 1..1 1631s # Start of permission tests 1631s ok 1 /permission/simple 1631s # End of permission tests 1631s ok - glib/permission.test 1631s # Running test: glib/signals.test 1631s TAP version 13 1631s # random seed: R02S6df12e006d34ca532a2c1945b5ae1471 1631s 1..31 1631s # Start of gobject tests 1631s # Start of signals tests 1631s ok 1 /gobject/signals/all-types 1631s ok 2 /gobject/signals/variant 1631s ok 3 /gobject/signals/destroy-target-object 1631s ok 4 /gobject/signals/generic-marshaller-1 1631s ok 5 /gobject/signals/generic-marshaller-2 1631s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1631s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1631s ok 8 /gobject/signals/generic-marshaller-int-return 1631s ok 9 /gobject/signals/generic-marshaller-uint-return 1631s ok 10 /gobject/signals/generic-marshaller-interface-return 1631s ok 11 /gobject/signals/custom-marshaller 1631s ok 12 /gobject/signals/connect 1631s ok 13 /gobject/signals/emission-hook 1631s ok 14 /gobject/signals/emitv 1631s ok 15 /gobject/signals/accumulator 1631s # Signal: accumulator-class-first 1631s # Signal: accumulator-class-last 1631s # Signal: accumulator-class-cleanup 1631s # Signal: accumulator-class-first-last 1631s # Signal: accumulator-class-first-last-cleanup 1631s # Signal: accumulator-class-last-cleanup 1631s ok 16 /gobject/signals/accumulator-class 1631s ok 17 /gobject/signals/introspection 1631s ok 18 /gobject/signals/block-handler 1631s ok 19 /gobject/signals/stop-emission 1631s ok 20 /gobject/signals/invocation-hint 1631s ok 21 /gobject/signals/test-disconnection-wrong-object 1631s ok 22 /gobject/signals/clear-signal-handler 1631s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1631s ok 23 /gobject/signals/lookup 1631s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1631s ok 24 /gobject/signals/parse-name 1631s ok 25 /gobject/signals/is-valid-name 1631s ok 26 /gobject/signals/weak-ref-disconnect 1631s # Start of lookup tests 1631s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1631s ok 27 /gobject/signals/lookup/invalid 1631s # End of lookup tests 1631s # Start of parse-name tests 1631s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1631s # Parser input: 1631s # Parser input: 7zip 1631s # Parser input: invalid:signal 1631s # Parser input: simple-detailed:: 1631s # Parser input: simple-detailed: 1631s # Parser input: : 1631s # Parser input: :: 1631s # Parser input: :valid-detail 1631s # Parser input: ::valid-detail 1631s ok 28 /gobject/signals/parse-name/invalid 1631s # End of parse-name tests 1631s # Start of invalid-name tests 1631s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1631s ok 29 /gobject/signals/invalid-name/colon 1631s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1631s ok 30 /gobject/signals/invalid-name/first-char 1631s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1631s ok 31 /gobject/signals/invalid-name/empty 1631s # End of invalid-name tests 1631s # End of signals tests 1631s # End of gobject tests 1631s ok - glib/signals.test 1631s # Running test: glib/properties-refcount1.test 1631s TAP version 13 1631s # random seed: R02Sda40c5d6be11330ed438f7ab19f02c56 1631s 1..1 1631s # Start of gobject tests 1631s # Start of refcount tests 1631s # .c 1631s # .d 1631s # .b 1631s # .f 1631s # .e 1632s # .c 1632s # .b 1632s # .d 1632s # .f 1632s # .e 1632s # .c 1632s # .d 1632s # .b 1632s # .e 1632s # .f 1632s # .c 1632s # .d 1632s # .b 1632s # .e 1632s # .f 1632s # .c 1632s # .b 1632s # .d 1632s # .f 1632s # .e 1632s # .c 1632s # .b 1632s # .d 1633s # .f 1633s # .e 1633s # .b 1633s # .c 1633s # .d 1633s # .e 1633s # .f 1633s # .b 1633s # .c 1633s # .d 1633s # .f 1633s # .e 1633s # .c 1633s # .b 1633s # .d 1633s # .f 1633s # .e 1633s # .b 1633s # .c 1633s # .d 1633s # .e 1633s # .f 1634s # .b 1634s # .c 1634s # .d 1634s # .e 1634s # .f 1634s # .c 1634s # .b 1634s # .d 1634s # .f 1634s # .e 1634s # .b 1634s # .c 1634s # .d 1634s # .f 1634s # .e 1634s ok 1 /gobject/refcount/properties-1 1634s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 1634s # End of refcount tests 1634s # End of gobject tests 1634s ok - glib/properties-refcount1.test 1634s # Running test: glib/cxx-17.test 1634s TAP version 13 1634s # random seed: R02S226d85e43431b0679f08fe85942aaa9f 1634s 1..2 1634s # Start of gtask tests 1634s # 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. 1634s ok 1 /gtask/name 1634s # Start of name tests 1634s # 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. 1634s ok 2 /gtask/name/macro-wrapper 1634s # End of name tests 1634s # End of gtask tests 1634s ok - glib/cxx-17.test 1634s # Running test: glib/struct-info.test 1634s TAP version 13 1634s # random seed: R02S93a15c88071b3b65c3ee7576f5396e57 1634s 1..4 1634s # Start of struct-info tests 1634s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_P484J2/struct-info/field-iterators/.dirs/home 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_P484J2/struct-info/field-iterators/.dirs/cache 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_P484J2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_P484J2/struct-info/field-iterators/.dirs/system-config2 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_P484J2/struct-info/field-iterators/.dirs/config 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_P484J2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_P484J2/struct-info/field-iterators/.dirs/system-data2 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_P484J2/struct-info/field-iterators/.dirs/data 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_P484J2/struct-info/field-iterators/.dirs/state 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_P484J2/struct-info/field-iterators/.dirs/runtime 1634s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1634s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1634s ok 1 /struct-info/field-iterators 1634s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_P484J2/struct-info/sizeof-gvalue/.dirs/home 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_P484J2/struct-info/sizeof-gvalue/.dirs/cache 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_P484J2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_P484J2/struct-info/sizeof-gvalue/.dirs/system-config2 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_P484J2/struct-info/sizeof-gvalue/.dirs/config 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_P484J2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_P484J2/struct-info/sizeof-gvalue/.dirs/system-data2 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_P484J2/struct-info/sizeof-gvalue/.dirs/data 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_P484J2/struct-info/sizeof-gvalue/.dirs/state 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_P484J2/struct-info/sizeof-gvalue/.dirs/runtime 1634s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1634s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1634s ok 2 /struct-info/sizeof-gvalue 1634s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_P484J2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_P484J2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_P484J2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_P484J2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_P484J2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_P484J2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_P484J2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_P484J2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_P484J2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_P484J2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1634s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1634s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1634s ok 3 /struct-info/is-pointer-for-struct-method-arg 1634s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_P484J2/struct-info/boxed/.dirs/home 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_P484J2/struct-info/boxed/.dirs/cache 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_P484J2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_P484J2/struct-info/boxed/.dirs/system-config2 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_P484J2/struct-info/boxed/.dirs/config 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_P484J2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_P484J2/struct-info/boxed/.dirs/system-data2 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_P484J2/struct-info/boxed/.dirs/data 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_P484J2/struct-info/boxed/.dirs/state 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_P484J2/struct-info/boxed/.dirs/runtime 1634s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1634s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1634s ok 4 /struct-info/boxed 1634s # End of struct-info tests 1634s ok - glib/struct-info.test 1634s # Running test: glib/utils-c-99.test 1634s TAP version 13 1634s # random seed: R02S8006ccd8050922aa86e392d901a49766 1634s 1..40 1634s # Start of utils tests 1634s ok 1 /utils/language-names 1634s ok 2 /utils/locale-variants 1634s ok 3 /utils/version 1634s ok 4 /utils/appname 1634s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1634s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1634s ok 5 /utils/prgname-thread-safety 1634s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1634s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1634s ok 6 /utils/tmpdir 1634s ok 7 /utils/basic_bits 1634s ok 8 /utils/bits 1634s ok 9 /utils/swap 1634s ok 10 /utils/find-program 1634s ok 11 /utils/find-program-for-path 1634s ok 12 /utils/debug 1634s ok 13 /utils/codeset 1634s ok 14 /utils/codeset2 1634s ok 15 /utils/console-charset 1634s ok 16 /utils/gettext 1634s ok 17 /utils/username 1634s ok 18 /utils/realname 1634s ok 19 /utils/hostname 1634s ok 20 /utils/xdgdirs 1634s ok 21 /utils/specialdir 1634s # NAME: Ubuntu 1634s ok 22 /utils/os-info 1634s ok 23 /utils/clear-pointer 1634s ok 24 /utils/clear-pointer-cast 1634s ok 25 /utils/take-pointer 1634s ok 26 /utils/clear-source 1634s ok 27 /utils/misc-mem 1634s # /utils/aligned-mem summary: Aligned memory allocator 1634s # Alignment must not be zero 1634s # Alignment must be a power of two 1634s # Alignment must be a multiple of sizeof(void*) 1634s ok 28 /utils/aligned-mem 1634s # /utils/free-sized summary: Check that g_free_sized() works 1634s ok 29 /utils/free-sized 1634s ok 30 /utils/nullify 1634s ok 31 /utils/atexit 1634s ok 32 /utils/check-setuid 1634s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1634s ok 33 /utils/int-limits 1634s ok 34 /utils/clear-list 1634s ok 35 /utils/clear-slist 1634s # Start of specialdir tests 1634s ok 36 /utils/specialdir/desktop 1634s # End of specialdir tests 1634s # Start of clear-pointer tests 1634s ok 37 /utils/clear-pointer/side-effects 1634s # End of clear-pointer tests 1634s # Start of aligned-mem tests 1634s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1634s ok 38 /utils/aligned-mem/alignment 1634s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1634s ok 39 /utils/aligned-mem/zeroed 1634s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1634s ok 40 /utils/aligned-mem/free-sized 1634s # Start of subprocess tests 1634s # End of subprocess tests 1634s # End of aligned-mem tests 1634s # End of utils tests 1634s ok - glib/utils-c-99.test 1634s # Running test: glib/signals-refcount4.test 1634s TAP version 13 1634s # random seed: R02Sb362f2b497e8a77ec12adf43e15dfec9 1634s 1..1 1634s # Start of gobject tests 1634s # Start of refcount tests 1634s # init 0xb19a8bdad420 1634s # 1634s # init 0xb19a8bdad5c0 1634s # 1635s # Executing: glib/signals-refcount4.test 1639s # dispose 0xb19a8bdad420! 1639s # 1639s # dispose 0xb19a8bdad5c0! 1639s # 1639s ok 1 /gobject/refcount/signals 1639s # slow test /gobject/refcount/signals executed in 5.01 secs 1639s # End of refcount tests 1639s # End of gobject tests 1639s ok - glib/signals-refcount4.test 1639s # Running test: glib/array-test.test 1639s TAP version 13 1639s # random seed: R02S46d70d81998f8a6970d9e4b477309e7b 1639s 1..113 1639s # Start of array tests 1639s ok 1 /array/ref-count 1639s ok 2 /array/steal 1639s ok 3 /array/clear-func 1639s ok 4 /array/binary-search 1639s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1639s ok 5 /array/copy-sized 1639s ok 6 /array/overflow-append-vals 1639s ok 7 /array/overflow-set-size 1639s # Start of new tests 1639s ok 8 /array/new/zero-terminated 1639s ok 9 /array/new/take 1639s ok 10 /array/new/take-zero-terminated 1639s # Start of take tests 1639s ok 11 /array/new/take/empty 1639s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1639s # End of take tests 1639s # End of new tests 1639s # Start of set-size tests 1639s ok 13 /array/set-size/non-zero-terminated-no-clear 1639s ok 14 /array/set-size/non-zero-terminated-clear 1639s ok 15 /array/set-size/zero-terminated-no-clear 1639s ok 16 /array/set-size/zero-terminated-clear 1639s # Start of sized tests 1639s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1639s ok 18 /array/set-size/sized/non-zero-terminated-clear 1639s ok 19 /array/set-size/sized/zero-terminated-no-clear 1639s ok 20 /array/set-size/sized/zero-terminated-clear 1639s # End of sized tests 1639s # End of set-size tests 1639s # Start of append-val tests 1639s ok 21 /array/append-val/non-zero-terminated-no-clear 1639s ok 22 /array/append-val/non-zero-terminated-clear 1639s ok 23 /array/append-val/zero-terminated-no-clear 1639s ok 24 /array/append-val/zero-terminated-clear 1639s # End of append-val tests 1639s # Start of prepend-val tests 1639s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1639s ok 26 /array/prepend-val/non-zero-terminated-clear 1639s ok 27 /array/prepend-val/zero-terminated-no-clear 1639s ok 28 /array/prepend-val/zero-terminated-clear 1639s # End of prepend-val tests 1639s # Start of prepend-vals tests 1639s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1639s ok 30 /array/prepend-vals/non-zero-terminated-clear 1639s ok 31 /array/prepend-vals/zero-terminated-no-clear 1639s ok 32 /array/prepend-vals/zero-terminated-clear 1639s # End of prepend-vals tests 1639s # Start of insert-vals tests 1639s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1639s ok 34 /array/insert-vals/non-zero-terminated-clear 1639s ok 35 /array/insert-vals/zero-terminated-no-clear 1639s ok 36 /array/insert-vals/zero-terminated-clear 1639s # End of insert-vals tests 1639s # Start of remove-index tests 1639s ok 37 /array/remove-index/non-zero-terminated-no-clear 1639s ok 38 /array/remove-index/non-zero-terminated-clear 1639s ok 39 /array/remove-index/zero-terminated-no-clear 1639s ok 40 /array/remove-index/zero-terminated-clear 1639s # End of remove-index tests 1639s # Start of remove-index-fast tests 1639s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1639s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1639s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1639s ok 44 /array/remove-index-fast/zero-terminated-clear 1639s # End of remove-index-fast tests 1639s # Start of remove-range tests 1639s ok 45 /array/remove-range/non-zero-terminated-no-clear 1639s ok 46 /array/remove-range/non-zero-terminated-clear 1639s ok 47 /array/remove-range/zero-terminated-no-clear 1639s ok 48 /array/remove-range/zero-terminated-clear 1639s # End of remove-range tests 1639s # Start of copy tests 1639s ok 49 /array/copy/non-zero-terminated-no-clear 1639s ok 50 /array/copy/non-zero-terminated-clear 1639s ok 51 /array/copy/zero-terminated-no-clear 1639s ok 52 /array/copy/zero-terminated-clear 1639s # End of copy tests 1639s # Start of sort tests 1639s ok 53 /array/sort/non-zero-terminated-no-clear 1639s ok 54 /array/sort/non-zero-terminated-clear 1639s ok 55 /array/sort/zero-terminated-no-clear 1639s ok 56 /array/sort/zero-terminated-clear 1639s # End of sort tests 1639s # Start of sort-with-data tests 1639s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1639s ok 58 /array/sort-with-data/non-zero-terminated-clear 1639s ok 59 /array/sort-with-data/zero-terminated-no-clear 1639s ok 60 /array/sort-with-data/zero-terminated-clear 1639s # End of sort-with-data tests 1639s # End of array tests 1639s # Start of pointerarray tests 1639s ok 61 /pointerarray/add 1639s ok 62 /pointerarray/insert 1639s ok 63 /pointerarray/new-take 1639s ok 64 /pointerarray/new-take-null-terminated 1639s ok 65 /pointerarray/new-from-array 1639s ok 66 /pointerarray/new-from-null-terminated-array 1639s ok 67 /pointerarray/free-func 1639s ok 68 /pointerarray/array_extend_and_steal 1639s ok 69 /pointerarray/sort 1639s ok 70 /pointerarray/sort-with-data 1639s ok 71 /pointerarray/sort-values 1639s ok 72 /pointerarray/sort-values-with-data 1639s ok 73 /pointerarray/remove-range 1639s ok 74 /pointerarray/steal 1639s # Start of free tests 1639s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1639s ok 75 /pointerarray/free/null-terminated 1639s # End of free tests 1639s # Start of new-take tests 1639s ok 76 /pointerarray/new-take/empty 1639s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1639s ok 78 /pointerarray/new-take/with-free-func 1639s # End of new-take tests 1639s # Start of new-take-null-terminated tests 1639s ok 79 /pointerarray/new-take-null-terminated/empty 1639s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1639s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1639s # End of new-take-null-terminated tests 1639s # Start of new-from-array tests 1639s ok 82 /pointerarray/new-from-array/empty 1639s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1639s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1639s # End of new-from-array tests 1639s # Start of new-from-null-terminated-array tests 1639s ok 85 /pointerarray/new-from-null-terminated-array/empty 1640s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1640s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1640s # End of new-from-null-terminated-array tests 1640s # Start of ref-count tests 1640s ok 88 /pointerarray/ref-count/not-null-terminated 1640s ok 89 /pointerarray/ref-count/null-terminated 1640s # End of ref-count tests 1640s # Start of array_copy tests 1640s # /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 1640s ok 90 /pointerarray/array_copy/not-null-terminated 1640s # /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 1640s ok 91 /pointerarray/array_copy/null-terminated 1640s # End of array_copy tests 1640s # Start of array_extend tests 1640s ok 92 /pointerarray/array_extend/not-null-terminated 1640s ok 93 /pointerarray/array_extend/null-terminated 1640s # End of array_extend tests 1640s # Start of sort tests 1640s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1640s ok 94 /pointerarray/sort/example 1640s # End of sort tests 1640s # Start of sort-with-data tests 1640s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1640s ok 95 /pointerarray/sort-with-data/example 1640s # End of sort-with-data tests 1640s # Start of sort-values tests 1640s ok 96 /pointerarray/sort-values/example 1640s # End of sort-values tests 1640s # Start of sort-values-with-data tests 1640s ok 97 /pointerarray/sort-values-with-data/example 1640s # End of sort-values-with-data tests 1640s # Start of find tests 1640s ok 98 /pointerarray/find/empty 1640s ok 99 /pointerarray/find/non-empty 1640s # End of find tests 1640s # Start of steal_index tests 1640s ok 100 /pointerarray/steal_index/not-null-terminated 1640s ok 101 /pointerarray/steal_index/null-terminated 1640s # End of steal_index tests 1640s # End of pointerarray tests 1640s # Start of bytearray tests 1640s ok 102 /bytearray/steal 1640s ok 103 /bytearray/append 1640s ok 104 /bytearray/prepend 1640s ok 105 /bytearray/remove 1640s ok 106 /bytearray/remove-fast 1640s ok 107 /bytearray/remove-range 1640s ok 108 /bytearray/ref-count 1640s ok 109 /bytearray/sort 1640s ok 110 /bytearray/sort-with-data 1640s ok 111 /bytearray/new-take 1640s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1640s ok 113 /bytearray/free-to-bytes 1640s # End of bytearray tests 1640s ok - glib/array-test.test 1640s # Running test: glib/tls-database.test 1640s TAP version 13 1640s # random seed: R02Sdfad6908314ea4631102bc7cf3439055 1640s 1..1 1640s # Start of tls-backend tests 1640s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1640s ok 1 /tls-backend/set-default-database 1640s # End of tls-backend tests 1640s ok - glib/tls-database.test 1640s # Running test: glib/proxy-test.test 1640s TAP version 13 1640s # random seed: R02S8fdeae7b99b25ce8a6b8674fca6eb24c 1640s 1..11 1640s # Start of proxy tests 1640s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1640s ok 1 /proxy/direct_sync 1640s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb22f69d28ac0 and GSocketClientAsyncConnectData 0xb22f69d1e390 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1640s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb22f69d294d0 for GSocketClientAsyncConnectData 0xb22f69d1e390 1640s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1640s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1640s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1640s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1640s ok 2 /proxy/direct_async 1640s ok 3 /proxy/single_sync 1640s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb22f69d2add0 and GSocketClientAsyncConnectData 0xb22f69d29f20 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1640s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb22f69d2b930 for GSocketClientAsyncConnectData 0xb22f69d29f20 1640s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1640s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1640s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1640s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1640s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1640s ok 4 /proxy/single_async 1640s ok 5 /proxy/multiple_sync 1640s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb22f69d2b660 and GSocketClientAsyncConnectData 0xb22f69d2b430 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1640s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb22f69d2bfb0 for GSocketClientAsyncConnectData 0xb22f69d2b430 1640s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1640s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1640s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1640s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1640s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb22f69d2b9c0 for GSocketClientAsyncConnectData 0xb22f69d2b430 1640s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1640s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1640s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1640s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1640s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1640s ok 6 /proxy/multiple_async 1640s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1640s ok 7 /proxy/invalid-uris-sync 1640s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1640s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb22f69d2b930 and GSocketClientAsyncConnectData 0xb22f69d2b240 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1640s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1640s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb22f69d2b3b0 and GSocketClientAsyncConnectData 0xb22f69d2b240 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1640s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1640s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb22f69d2b3b0 and GSocketClientAsyncConnectData 0xb22f69d2b240 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1640s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb22f69d25b00 for GSocketClientAsyncConnectData 0xb22f69d2b240 1640s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1640s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1640s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1640s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1640s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb22f69d2b660 and GSocketClientAsyncConnectData 0xb22f69d2b720 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1640s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb22f69d291e0 for GSocketClientAsyncConnectData 0xb22f69d2b720 1640s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1640s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1640s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1640s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1640s ok 8 /proxy/invalid-uris-async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb22f69d2b3b0 and GSocketClientAsyncConnectData 0xb22f69d2b240 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1640s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1640s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1640s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb22f69d2b3b0 and GSocketClientAsyncConnectData 0xb22f69d2b720 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1640s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb22f69d2c070 for GSocketClientAsyncConnectData 0xb22f69d2b720 1640s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1640s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1640s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1640s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1640s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1640s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb22f69d2b3b0 and GSocketClientAsyncConnectData 0xb22f69d2b240 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1640s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb22f69d2c7f0 for GSocketClientAsyncConnectData 0xb22f69d2b240 1640s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1640s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1640s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1640s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1640s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1640s ok 9 /proxy/dns 1640s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb22f69d2b3b0 and GSocketClientAsyncConnectData 0xb22f69d2b720 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1640s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb22f69d2c820 for GSocketClientAsyncConnectData 0xb22f69d2b720 1640s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1640s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1640s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1640s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1640s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1640s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb22f69d2b3b0 and GSocketClientAsyncConnectData 0xb22f69d2ad10 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1640s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb22f69d2cd60 for GSocketClientAsyncConnectData 0xb22f69d2ad10 1640s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1640s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1640s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1640s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1640s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1640s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1640s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb22f69d2b3b0 and GSocketClientAsyncConnectData 0xb22f69d2b720 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1640s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb22f69d2bce0 for GSocketClientAsyncConnectData 0xb22f69d2b720 1640s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1640s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1640s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1640s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1640s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1640s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1640s ok 10 /proxy/override 1640s ok 11 /proxy/enumerator-ports 1640s # End of proxy tests 1640s ok - glib/proxy-test.test 1640s # Running test: glib/queue.test 1640s TAP version 13 1640s # random seed: R02S64e4f8b1a41e36d35ccdbcc632866cca 1640s 1..12 1640s # Start of queue tests 1640s ok 1 /queue/basic 1640s ok 2 /queue/copy 1640s ok 3 /queue/off-by-one 1640s ok 4 /queue/find-custom 1640s ok 5 /queue/static 1640s ok 6 /queue/clear 1640s ok 7 /queue/free-full 1640s ok 8 /queue/clear-full 1640s ok 9 /queue/insert-sibling-link 1640s ok 10 /queue/push-nth-link 1640s # Start of clear-full tests 1640s ok 11 /queue/clear-full/noop 1640s # End of clear-full tests 1640s # Start of random tests 1640s # Executing: glib/queue.test 1640s ok 12 /queue/random/seed:299143763 1640s # End of random tests 1640s # End of queue tests 1640s ok - glib/queue.test 1640s # Running test: glib/deftype.test 1640s ok - glib/deftype.test 1640s # Running test: glib/spawn-singlethread.test 1640s TAP version 13 1640s # random seed: R02Se34da0c00cfa7a6343a7d475b44bea9b 1640s 1..9 1640s # Start of gthread tests 1640s ok 1 /gthread/spawn-single-sync 1640s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1640s ok 2 /gthread/spawn-stderr-socket 1640s ok 3 /gthread/spawn-single-async 1640s # thread 1 1640s # thread 1 1640s ok 4 /gthread/spawn-single-async-with-fds 1640s ok 5 /gthread/spawn-async-with-invalid-fds 1640s ok 6 /gthread/spawn-script 1640s ok 7 /gthread/spawn-posix-spawn 1640s # Start of spawn tests 1640s ok 8 /gthread/spawn/nonexistent 1640s # FD map: 1640s # • 5 → 15 1640s # • 6 → 16 1640s # • 7 → 17 1640s # • 8 → 18 1640s # • 9 → 19 1640s # • 10 → 20 1640s # • 11 → 21 1640s # • 12 → 22 1640s # • 13 → 23 1640s # • 3 → 13 1640s ok 9 /gthread/spawn/fd-assignment-clash 1640s # End of spawn tests 1640s # End of gthread tests 1640s ok - glib/spawn-singlethread.test 1640s # Running test: glib/debugcontroller.test 1640s TAP version 13 1640s # random seed: R02Sb353a50d23ffdfa1553aad9d03185f43 1640s 1..3 1640s # Start of debug-controller tests 1640s # Start of dbus tests 1640s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1640s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1640s # GLib-GIO-DEBUG: Debug output enabled 1640s # GLib-GIO-DEBUG: Debug output disabled 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s ok 1 /debug-controller/dbus/basic 1640s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1640s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s ok 2 /debug-controller/dbus/duplicate 1640s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1640s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1640s # End of dbus tests 1640s # End of debug-controller tests 1640s ok - glib/debugcontroller.test 1640s # Running test: glib/macros-c-17.test 1640s TAP version 13 1640s # random seed: R02S73429615df65fd28a7e220d9d3397cc1 1640s 1..4 1640s # Start of C tests 1640s ok 1 /C/standard-17 1640s # End of C tests 1640s # Start of alignof tests 1640s ok 2 /alignof/fallback 1640s # End of alignof tests 1640s # Start of assert tests 1640s ok 3 /assert/static 1640s # End of assert tests 1640s # Start of struct tests 1640s ok 4 /struct/sizeof_member 1640s # End of struct tests 1640s ok - glib/macros-c-17.test 1640s # Running test: glib/network-monitor-race.test 1640s TAP version 13 1640s # random seed: R02S1632b0559328337864c960dfa4715e8f 1640s 1..1 1640s # Start of network-monitor tests 1640s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1643s ok 1 /network-monitor/create-in-thread 1643s # slow test /network-monitor/create-in-thread executed in 2.55 secs 1643s # End of network-monitor tests 1643s ok - glib/network-monitor-race.test 1643s # Running test: glib/gapplication.test 1643s TAP version 13 1643s # random seed: R02Se27149a34bc4db81ee8b55944d934e1b 1643s 1..24 1643s # Start of gapplication tests 1643s ok 1 /gapplication/no-dbus 1643s ok 2 /gapplication/no-appid 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1643s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s ok 3 /gapplication/properties 1643s ok 4 /gapplication/app-id 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1643s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s ok 5 /gapplication/quit 1643s ok 6 /gapplication/registered 1643s ok 7 /gapplication/local-actions 1643s ok 8 /gapplication/local-command-line 1643s ok 9 /gapplication/resource-path 1643s ok 10 /gapplication/test-help 1643s ok 11 /gapplication/command-line-done 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1643s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s ok 12 /gapplication/test-busy 1643s ok 13 /gapplication/test-handle-local-options1 1643s ok 14 /gapplication/test-handle-local-options2 1643s ok 15 /gapplication/test-handle-local-options3 1643s ok 16 /gapplication/api 1643s ok 17 /gapplication/version 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1643s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1643s # launching subprocess 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s ok 18 /gapplication/replace 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1643s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1643s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1643s # launching subprocess 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s ok 19 /gapplication/no-replace 1644s # slow test /gapplication/no-replace executed in 0.54 secs 1644s # Start of dbus tests 1644s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1644s # Message 0 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # Message 1 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # Message 2 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s ok 20 /gapplication/dbus/activate 1644s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1644s # Message 0 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1644s # Message 1 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # Message 2 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # Message 3 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s ok 21 /gapplication/dbus/open 1644s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1644s # Message 0 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # Message 1 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # Message 2 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s ok 22 /gapplication/dbus/command-line 1644s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s ok 23 /gapplication/dbus/command-line-done 1644s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1644s # Message 0 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # Message 1 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # Message 2 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # Message 3 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # Message 4 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # Message 5 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s ok 24 /gapplication/dbus/activate-action 1644s # End of dbus tests 1644s # End of gapplication tests 1644s ok - glib/gapplication.test 1644s # Running test: glib/once.test 1644s TAP version 13 1644s # random seed: R02S176daba30d166c18259817c59b68142b 1644s 1..5 1644s # Start of once tests 1644s # /once/single-threaded summary: Test g_once() usage from a single thread 1644s ok 1 /once/single-threaded 1644s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1644s ok 2 /once/multi-threaded 1644s # End of once tests 1644s # Start of once-init tests 1644s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1644s ok 3 /once-init/single-threaded 1644s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1644s ok 4 /once-init/multi-threaded 1644s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1644s ok 5 /once-init/string 1644s # End of once-init tests 1644s ok - glib/once.test 1644s # Running test: glib/gdbus-peer.test 1644s TAP version 13 1644s # random seed: R02S30fbc84d52324da8fc13eb3bba3839b7 1644s 1..12 1644s # Start of gdbus tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/.dirs/runtime 1644s # Testing with unix:dir address 1644s # Testing with unix:tmpdir address 1644s # Testing with unix:path address 1644s ok 1 /gdbus/peer-to-peer 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/delayed-message-processing/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/delayed-message-processing/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_DN1BK2/gdbus/delayed-message-processing/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/delayed-message-processing/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_DN1BK2/gdbus/delayed-message-processing/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/delayed-message-processing/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/delayed-message-processing/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DN1BK2/gdbus/delayed-message-processing/.dirs/runtime 1644s # Testing with unix:dir address 1645s ok 2 /gdbus/delayed-message-processing 1645s # slow test /gdbus/delayed-message-processing executed in 0.52 secs 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/nonce-tcp/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/nonce-tcp/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_DN1BK2/gdbus/nonce-tcp/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/nonce-tcp/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_DN1BK2/gdbus/nonce-tcp/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/nonce-tcp/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/nonce-tcp/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DN1BK2/gdbus/nonce-tcp/.dirs/runtime 1645s ok 3 /gdbus/nonce-tcp 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/tcp-anonymous/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/tcp-anonymous/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_DN1BK2/gdbus/tcp-anonymous/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/tcp-anonymous/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_DN1BK2/gdbus/tcp-anonymous/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/tcp-anonymous/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/tcp-anonymous/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DN1BK2/gdbus/tcp-anonymous/.dirs/runtime 1645s ok 4 /gdbus/tcp-anonymous 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/credentials/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/credentials/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_DN1BK2/gdbus/credentials/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/credentials/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_DN1BK2/gdbus/credentials/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/credentials/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/credentials/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DN1BK2/gdbus/credentials/.dirs/runtime 1645s ok 5 /gdbus/credentials 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/codegen-peer-to-peer/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/codegen-peer-to-peer/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_DN1BK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/codegen-peer-to-peer/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_DN1BK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/codegen-peer-to-peer/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/codegen-peer-to-peer/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DN1BK2/gdbus/codegen-peer-to-peer/.dirs/runtime 1645s # Testing with unix:dir address 1645s # Executing: glib/gdbus-peer.test 1645s # Machine ID: 0298a0e3c1c14b7b98003cec56d916e7 1646s ok 6 /gdbus/codegen-peer-to-peer 1646s # slow test /gdbus/codegen-peer-to-peer executed in 1.12 secs 1646s # Start of peer-to-peer tests 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/signals/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/signals/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/signals/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/signals/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/signals/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/signals/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/signals/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/signals/.dirs/runtime 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1646s # Testing with unix:dir address 1646s ok 7 /gdbus/peer-to-peer/signals 1646s # Start of invalid tests 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/server/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/server/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/server/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/server/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1646s ok 8 /gdbus/peer-to-peer/invalid/server 1646s # Start of conn tests 1646s # Start of stream tests 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1646s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1646s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1646s # End of stream tests 1646s # Start of addr tests 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1646s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DN1BK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1646s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1646s # End of addr tests 1646s # End of conn tests 1646s # End of invalid tests 1646s # End of peer-to-peer tests 1646s # End of gdbus tests 1646s ok - glib/gdbus-peer.test 1646s # Running test: glib/pathbuf.test 1646s TAP version 13 1646s # random seed: R02Sc88d4334846150bbbc45ae6988cc6f8b 1646s 1..3 1646s # Start of pathbuf tests 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/init/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/init/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_3YDBK2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_3YDBK2/pathbuf/init/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/init/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_3YDBK2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_3YDBK2/pathbuf/init/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/init/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/init/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_3YDBK2/pathbuf/init/.dirs/runtime 1646s # Initializing empty path buf 1646s # Initializing with empty path 1646s # Initializing with full path 1646s # Initializing with no path 1646s # Allocating GPathBuf on the heap 1646s ok 1 /pathbuf/init 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/push-pop/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/push-pop/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_3YDBK2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_3YDBK2/pathbuf/push-pop/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/push-pop/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_3YDBK2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_3YDBK2/pathbuf/push-pop/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/push-pop/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/push-pop/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_3YDBK2/pathbuf/push-pop/.dirs/runtime 1646s # Pushing relative path component 1646s # Pushing absolute path component 1646s # Popping a path component 1646s # Can't pop the last element of a path buffer 1646s ok 2 /pathbuf/push-pop 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/filename-extension/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/filename-extension/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_3YDBK2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_3YDBK2/pathbuf/filename-extension/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/filename-extension/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_3YDBK2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_3YDBK2/pathbuf/filename-extension/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/filename-extension/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_3YDBK2/pathbuf/filename-extension/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_3YDBK2/pathbuf/filename-extension/.dirs/runtime 1646s ok 3 /pathbuf/filename-extension 1646s # End of pathbuf tests 1646s ok - glib/pathbuf.test 1646s # Running test: glib/bytes.test 1646s TAP version 13 1646s # random seed: R02Sde31929c6f5f3336d434d484708ceac0 1646s 1..21 1646s # Start of bytes tests 1646s ok 1 /bytes/new 1646s ok 2 /bytes/new-take 1646s ok 3 /bytes/new-static 1646s ok 4 /bytes/new-with-free-func 1646s ok 5 /bytes/new-from-bytes 1646s ok 6 /bytes/new-from-bytes-slice 1646s ok 7 /bytes/new-from-bytes-shared-ref 1646s ok 8 /bytes/hash 1646s ok 9 /bytes/equal 1646s ok 10 /bytes/compare 1646s ok 11 /bytes/null 1646s ok 12 /bytes/get-region 1646s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1646s ok 13 /bytes/unref-null 1646s # Start of to-data tests 1646s ok 14 /bytes/to-data/transferred 1646s ok 15 /bytes/to-data/two-refs 1646s ok 16 /bytes/to-data/non-malloc 1646s ok 17 /bytes/to-data/different-free-func 1646s # End of to-data tests 1646s # Start of to-array tests 1646s ok 18 /bytes/to-array/transferred 1646s ok 19 /bytes/to-array/two-refs 1646s ok 20 /bytes/to-array/non-malloc 1646s # Start of transferred tests 1646s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1646s ok 21 /bytes/to-array/transferred/oversize 1646s # End of transferred tests 1646s # End of to-array tests 1646s # End of bytes tests 1646s ok - glib/bytes.test 1646s # Running test: glib/references.test 1646s TAP version 13 1646s # random seed: R02S86ec82b597edb735c9d8c058ddb0529f 1646s 1..1 1646s # Start of gobject tests 1646s ok 1 /gobject/references 1646s # End of gobject tests 1646s ok - glib/references.test 1646s # Running test: glib/base64.test 1646s TAP version 13 1646s # random seed: R02Sfe84ce5662dd9f6a2d336cdc5395d5ea 1646s 1..28 1646s # Start of base64 tests 1646s ok 1 /base64/encode 1646s ok 2 /base64/decode 1646s ok 3 /base64/decode-inplace 1646s ok 4 /base64/encode-decode 1646s # Start of full tests 1646s ok 5 /base64/full/1 1646s ok 6 /base64/full/2 1646s ok 7 /base64/full/3 1646s ok 8 /base64/full/4 1646s # End of full tests 1646s # Start of encode tests 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1646s ok 9 /base64/encode/empty 1646s # Start of incremental tests 1646s # Start of small-block tests 1646s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1646s ok 10 /base64/encode/incremental/small-block/1 1646s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1646s ok 11 /base64/encode/incremental/small-block/2 1646s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1646s ok 12 /base64/encode/incremental/small-block/3 1646s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1646s ok 13 /base64/encode/incremental/small-block/4 1646s # End of small-block tests 1646s # End of incremental tests 1646s # End of encode tests 1646s # Start of incremental tests 1646s # Start of nobreak tests 1646s ok 14 /base64/incremental/nobreak/1 1646s ok 15 /base64/incremental/nobreak/2 1646s ok 16 /base64/incremental/nobreak/3 1646s ok 17 /base64/incremental/nobreak/4-a 1646s ok 18 /base64/incremental/nobreak/4-b 1646s ok 19 /base64/incremental/nobreak/4-c 1646s # End of nobreak tests 1646s # Start of break tests 1646s ok 20 /base64/incremental/break/1 1646s ok 21 /base64/incremental/break/2 1646s ok 22 /base64/incremental/break/3 1646s # End of break tests 1646s # Start of smallblock tests 1646s ok 23 /base64/incremental/smallblock/1 1646s ok 24 /base64/incremental/smallblock/2 1646s ok 25 /base64/incremental/smallblock/3 1646s ok 26 /base64/incremental/smallblock/4 1646s # End of smallblock tests 1646s # End of incremental tests 1646s # Start of decode tests 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1646s ok 27 /base64/decode/empty 1646s # End of decode tests 1646s # Start of encode-decode tests 1646s # Vector 0: 1646s # Vector 1: f 1646s # Vector 2: fo 1646s # Vector 3: foo 1646s # Vector 4: foob 1646s # Vector 5: fooba 1646s # Vector 6: foobar 1646s ok 28 /base64/encode-decode/rfc4648 1646s # End of encode-decode tests 1646s # End of base64 tests 1646s ok - glib/base64.test 1646s # Running test: glib/string.test 1646s TAP version 13 1646s # random seed: R02S7516758db9312d5eca103a865157d0f1 1646s 1..23 1646s # Start of string tests 1646s ok 1 /string/test-string-chunks 1646s ok 2 /string/test-string-chunk-insert 1646s ok 3 /string/test-string-new 1646s ok 4 /string/test-string-printf 1646s ok 5 /string/test-string-assign 1646s ok 6 /string/test-string-append-c 1646s ok 7 /string/test-string-append 1646s ok 8 /string/test-string-append-vprintf 1646s ok 9 /string/test-string-prepend-c 1646s ok 10 /string/test-string-prepend 1646s ok 11 /string/test-string-insert 1646s ok 12 /string/test-string-insert-unichar 1646s ok 13 /string/test-string-equal 1646s ok 14 /string/test-string-truncate 1646s ok 15 /string/test-string-overwrite 1646s ok 16 /string/test-string-nul-handling 1646s ok 17 /string/test-string-up-down 1646s ok 18 /string/test-string-set-size 1646s ok 19 /string/test-string-to-bytes 1646s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1646s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1646s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1646s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1646s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1646s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1646s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1646s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1646s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1646s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1646s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1646s # -> 4 replacements, "fd fr fals" 1646s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1646s # -> 3 replacements, "aaaaaaaaa" 1646s # 7: Replacing "a" with "" (limit 0) in "aaa" 1646s # -> 3 replacements, "" 1646s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1646s # -> 1 replacements, "bba" 1646s # 9: Replacing "" with "bar" (limit 0) in "foo" 1646s # -> 4 replacements, "barfbarobarobar" 1646s # 10: Replacing "" with "x" (limit 0) in "" 1646s # -> 1 replacements, "x" 1646s # 11: Replacing "" with "" (limit 0) in "" 1646s # -> 1 replacements, "" 1646s ok 20 /string/test-string-replace 1646s ok 21 /string/test-string-steal 1646s ok 22 /string/test-string-new-take 1646s # Start of test-string-new-take tests 1646s ok 23 /string/test-string-new-take/null 1646s # End of test-string-new-take tests 1646s # End of string tests 1646s ok - glib/string.test 1646s # Running test: glib/defaultiface.test 1646s TAP version 13 1646s # random seed: R02S4ad89cca2d1ebafba11f5a23a98751cd 1646s 1..2 1646s # Start of gobject tests 1646s ok 1 /gobject/static-iface 1646s ok 2 /gobject/dynamic-iface 1646s # End of gobject tests 1646s ok - glib/defaultiface.test 1646s # Running test: glib/async-splice-output-stream.test 1646s TAP version 13 1646s # random seed: R02S6888522a93230f27792c3b5355255cad 1646s 1..5 1646s # Start of async-splice tests 1646s ok 1 /async-splice/copy-chunks 1646s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1646s ok 2 /async-splice/copy-chunks-threaded-input 1646s ok 3 /async-splice/copy-chunks-threaded-output 1646s ok 4 /async-splice/copy-chunks-threaded 1646s ok 5 /async-splice/cancelled 1646s # End of async-splice tests 1646s ok - glib/async-splice-output-stream.test 1646s # Running test: glib/buffered-input-stream.test 1646s TAP version 13 1646s # random seed: R02Sc7d75df0c31c578beb96f9a47afb7d00 1646s 1..10 1646s # Start of buffered-input-stream tests 1646s ok 1 /buffered-input-stream/peek 1646s ok 2 /buffered-input-stream/peek-buffer 1646s ok 3 /buffered-input-stream/set-buffer-size 1646s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1646s ok 4 /buffered-input-stream/read-byte 1646s ok 5 /buffered-input-stream/read 1646s ok 6 /buffered-input-stream/read-async 1646s ok 7 /buffered-input-stream/skip 1646s ok 8 /buffered-input-stream/skip-async 1646s ok 9 /buffered-input-stream/seek 1646s # End of buffered-input-stream tests 1646s # Start of filter-input-stream tests 1646s ok 10 /filter-input-stream/close 1646s # End of filter-input-stream tests 1646s ok - glib/buffered-input-stream.test 1646s # Running test: glib/gdbus-method-invocation.test 1646s TAP version 13 1646s # random seed: R02Sb0e94e08d9e088337c100aee8426a662 1646s 1..1 1646s # Start of gdbus tests 1646s # Start of method-invocation tests 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_V0W5J2/gdbus/method-invocation/return/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_V0W5J2/gdbus/method-invocation/return/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_V0W5J2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_V0W5J2/gdbus/method-invocation/return/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_V0W5J2/gdbus/method-invocation/return/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_V0W5J2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_V0W5J2/gdbus/method-invocation/return/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_V0W5J2/gdbus/method-invocation/return/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_V0W5J2/gdbus/method-invocation/return/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_V0W5J2/gdbus/method-invocation/return/.dirs/runtime 1646s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1646s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1646s # Calling org.freedesktop.DBus.Properties.Get 1646s # Calling org.freedesktop.DBus.Properties.Get 1646s # Calling org.freedesktop.DBus.Properties.Get 1646s # Calling org.freedesktop.DBus.Properties.Set 1646s # Calling org.freedesktop.DBus.Properties.GetAll 1646s # Calling org.example.Foo.WrongReturnType 1646s # Calling org.example.Foo.GetFDs 1646s # Calling org.example.Foo.GetFDs 1646s # Calling org.example.Foo.ReturnError 1646s # Calling org.example.Foo.CloseBeforeReturning 1646s ok 1 /gdbus/method-invocation/return 1646s # End of method-invocation tests 1646s # End of gdbus tests 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s ok - glib/gdbus-method-invocation.test 1646s # Running test: glib/unix-fd.test 1646s TAP version 13 1646s # random seed: R02S3e7509b033eb1775d6a87762927d0c8e 1646s 1..2 1646s # Start of unix-fd tests 1646s ok 1 /unix-fd/fd-list 1646s ok 2 /unix-fd/scm 1646s # End of unix-fd tests 1646s ok - glib/unix-fd.test 1646s # Running test: glib/g-file-info.test 1646s TAP version 13 1646s # random seed: R02S1430df217c5e33aa6eb1e949183f202f 1646s 1..6 1646s # Start of g-file-info tests 1646s ok 1 /g-file-info/test_g_file_info 1646s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1646s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1646s ok 2 /g-file-info/xattrs 1646s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1646s ok 3 /g-file-info/set-modified-date-time-precision 1646s # Start of test_g_file_info tests 1646s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1646s ok 4 /g-file-info/test_g_file_info/modification-time 1646s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1646s ok 5 /g-file-info/test_g_file_info/access-time 1646s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1646s ok 6 /g-file-info/test_g_file_info/creation-time 1646s # End of test_g_file_info tests 1646s # End of g-file-info tests 1646s ok - glib/g-file-info.test 1646s # Running test: glib/boxed.test 1646s TAP version 13 1646s # random seed: R02S58c5f6417e5f93d9c54fd99403dd17b5 1646s 1..27 1646s # Start of boxed tests 1646s ok 1 /boxed/define 1646s ok 2 /boxed/ownership 1646s ok 3 /boxed/closure 1646s ok 4 /boxed/date 1646s ok 5 /boxed/value 1646s ok 6 /boxed/string 1646s ok 7 /boxed/hashtable 1646s ok 8 /boxed/array 1646s ok 9 /boxed/ptrarray 1646s ok 10 /boxed/regex 1646s ok 11 /boxed/varianttype 1646s ok 12 /boxed/error 1646s ok 13 /boxed/datetime 1646s ok 14 /boxed/matchinfo 1646s ok 15 /boxed/keyfile 1646s ok 16 /boxed/mainloop 1646s ok 17 /boxed/maincontext 1646s ok 18 /boxed/source 1646s ok 19 /boxed/variantbuilder 1646s ok 20 /boxed/timezone 1646s ok 21 /boxed/pollfd 1646s ok 22 /boxed/markup 1646s ok 23 /boxed/thread 1646s ok 24 /boxed/checksum 1646s ok 25 /boxed/tree 1646s ok 26 /boxed/patternspec 1646s ok 27 /boxed/rand 1646s # End of boxed tests 1646s ok - glib/boxed.test 1646s # Running test: glib/genmarshal.py.test 1647s TAP version 13 1647s ok 1 __main__.TestGenmarshal.test_empty_list 1647s # tmpdir: /tmp/tmphasm2l9k 1647s # genmarshal: /usr/bin/glib-genmarshal 1647s # /tmp/tmphasm2l9k/tmpq1bfe_t7.list: 1647s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmphasm2l9k/tmpq1bfe_t7.list', '--header', '--quiet'] 1647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1647s # 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. */ 1647s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1647s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1647s # 1647s # #include 1647s # 1647s # G_BEGIN_DECLS 1647s # 1647s # 1647s # G_END_DECLS 1647s # 1647s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1647s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmphasm2l9k/tmpq1bfe_t7.list', '--body', '--quiet'] 1647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1647s # 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. */ 1647s # #include 1647s # 1647s # #ifdef G_ENABLE_DEBUG 1647s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1647s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1647s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1647s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1647s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1647s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1647s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1647s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1647s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1647s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1647s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1647s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1647s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1647s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1647s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1647s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1647s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1647s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1647s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1647s # #else /* !G_ENABLE_DEBUG */ 1647s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1647s # * Do not access GValues directly in your code. Instead, use the 1647s # * g_value_get_*() functions 1647s # */ 1647s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1647s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1647s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1647s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1647s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1647s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1647s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1647s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1647s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1647s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1647s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1647s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1647s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1647s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1647s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1647s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1647s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1647s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1647s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1647s # #endif /* !G_ENABLE_DEBUG */ 1647s ok 2 __main__.TestGenmarshal.test_help 1647s # tmpdir: /tmp/tmpnbs_6xwi 1647s # genmarshal: /usr/bin/glib-genmarshal 1647s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1647s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1647s # [--internal] [--valist-marshallers] [-v] 1647s # [--g-fatal-warnings] [--include-header [HEADER]] 1647s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1647s # [--prototypes] [--header] [--body] 1647s # [--stdinc | --nostdinc] [--quiet | --verbose] 1647s # [FILE ...] 1647s # 1647s # Generate signal marshallers for GObject 1647s # 1647s # positional arguments: 1647s # FILE Files with lists of marshallers to generate, or "-" 1647s # for standard input 1647s # 1647s # options: 1647s # -h, --help show this help message and exit 1647s # --prefix STRING Specify marshaller prefix 1647s # --output FILE Write output into the specified file 1647s # --skip-source Skip source location comments 1647s # --internal Mark generated functions as internal 1647s # --valist-marshallers Generate va_list marshallers 1647s # -v, --version Print version information, and exit 1647s # --g-fatal-warnings Make warnings fatal 1647s # --include-header [HEADER] 1647s # Include the specified header in the body 1647s # --pragma-once Use "pragma once" as the inclusion guard 1647s # -D CPP_DEFINES Pre-processor define 1647s # -U CPP_UNDEFINES Pre-processor undefine 1647s # --prototypes Generate the marshallers prototype in the C code 1647s # --header Generate C headers 1647s # --body Generate C code 1647s # --stdinc Include standard marshallers 1647s # --nostdinc Use standard marshallers 1647s # --quiet Only print warnings and errors 1647s # --verbose Be verbose, and include debugging information 1647s ok 3 __main__.TestGenmarshal.test_no_args 1647s # tmpdir: /tmp/tmpv0oc2dfk 1647s # genmarshal: /usr/bin/glib-genmarshal 1647s # Running: ['/usr/bin/glib-genmarshal'] 1647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1647s # Output: 1648s ok 4 __main__.TestGenmarshal.test_void_boolean 1648s # tmpdir: /tmp/tmp36jqojua 1648s # genmarshal: /usr/bin/glib-genmarshal 1648s # /tmp/tmp36jqojua/tmpn6hr_z3k.list: VOID:BOOLEAN 1648s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp36jqojua/tmpn6hr_z3k.list', '--header', '--quiet'] 1648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1648s # 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. */ 1648s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1648s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1648s # 1648s # #include 1648s # 1648s # G_BEGIN_DECLS 1648s # 1648s # /* VOID:BOOLEAN (/tmp/tmp36jqojua/tmpn6hr_z3k.list:1) */ 1648s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1648s # 1648s # 1648s # G_END_DECLS 1648s # 1648s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1648s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp36jqojua/tmpn6hr_z3k.list', '--body', '--quiet'] 1648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1648s # 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. */ 1648s # #include 1648s # 1648s # #ifdef G_ENABLE_DEBUG 1648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1648s # #else /* !G_ENABLE_DEBUG */ 1648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1648s # * Do not access GValues directly in your code. Instead, use the 1648s # * g_value_get_*() functions 1648s # */ 1648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1648s # #endif /* !G_ENABLE_DEBUG */ 1648s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1648s # tmpdir: /tmp/tmpi5_aagpj 1648s # genmarshal: /usr/bin/glib-genmarshal 1648s # /tmp/tmpi5_aagpj/tmpr8x2c6tu.list: VOID:BOOLEAN,INT64 1648s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpi5_aagpj/tmpr8x2c6tu.list', '--header', '--quiet'] 1648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1648s # 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. */ 1648s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1648s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1648s # 1648s # #include 1648s # 1648s # G_BEGIN_DECLS 1648s # 1648s # /* VOID:BOOLEAN,INT64 (/tmp/tmpi5_aagpj/tmpr8x2c6tu.list:1) */ 1648s # extern 1648s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1648s # GValue *return_value, 1648s # guint n_param_values, 1648s # const GValue *param_values, 1648s # gpointer invocation_hint, 1648s # gpointer marshal_data); 1648s # 1648s # 1648s # G_END_DECLS 1648s # 1648s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1648s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpi5_aagpj/tmpr8x2c6tu.list', '--body', '--quiet'] 1648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1648s # 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. */ 1648s # #include 1648s # 1648s # #ifdef G_ENABLE_DEBUG 1648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1648s # #else /* !G_ENABLE_DEBUG */ 1648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1648s # * Do not access GValues directly in your code. Instead, use the 1648s # * g_value_get_*() functions 1648s # */ 1648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1648s # #endif /* !G_ENABLE_DEBUG */ 1648s # 1648s # /* VOID:BOOLEAN,INT64 (/tmp/tmpi5_aagpj/tmpr8x2c6tu.list:1) */ 1648s # void 1648s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1648s # GValue *return_value G_GNUC_UNUSED, 1648s # guint n_param_values, 1648s # const GValue *param_values, 1648s # gpointer invocation_hint G_GNUC_UNUSED, 1648s # gpointer marshal_data) 1648s # { 1648s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1648s # gboolean arg1, 1648s # gint64 arg2, 1648s # gpointer data2); 1648s # GCClosure *cc = (GCClosure *) closure; 1648s # gpointer data1, data2; 1648s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1648s # 1648s # g_return_if_fail (n_param_values == 3); 1648s # 1648s # if (G_CCLOSURE_SWAP_DATA (closure)) 1648s # { 1648s # data1 = closure->data; 1648s # data2 = g_value_peek_pointer (param_values + 0); 1648s # } 1648s # else 1648s # { 1648s # data1 = g_value_peek_pointer (param_values + 0); 1648s # data2 = closure->data; 1648s # } 1648s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1648s # 1648s # callback (data1, 1648s # g_marshal_value_peek_boolean (param_values + 1), 1648s # g_marshal_value_peek_int64 (param_values + 2), 1648s # data2); 1648s # } 1648s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1648s # tmpdir: /tmp/tmp7f5jsw51 1648s # genmarshal: /usr/bin/glib-genmarshal 1648s # /tmp/tmp7f5jsw51/tmp98ba8nir.list: VOID:PARAM 1648s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7f5jsw51/tmp98ba8nir.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1648s # 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. */ 1648s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1648s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1648s # 1648s # G_BEGIN_DECLS 1648s # 1648s # /* VOID:PARAM (/tmp/tmp7f5jsw51/tmp98ba8nir.list:1) */ 1648s # extern 1648s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1648s # GValue *return_value, 1648s # guint n_param_values, 1648s # const GValue *param_values, 1648s # gpointer invocation_hint, 1648s # gpointer marshal_data); 1648s # extern 1648s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1648s # GValue *return_value, 1648s # gpointer instance, 1648s # va_list args, 1648s # gpointer marshal_data, 1648s # int n_params, 1648s # GType *param_types); 1648s # 1648s # 1648s # G_END_DECLS 1648s # 1648s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1648s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7f5jsw51/tmp98ba8nir.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1648s # 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. */ 1648s # #ifdef G_ENABLE_DEBUG 1648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1648s # #else /* !G_ENABLE_DEBUG */ 1648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1648s # * Do not access GValues directly in your code. Instead, use the 1648s # * g_value_get_*() functions 1648s # */ 1648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1648s # #endif /* !G_ENABLE_DEBUG */ 1648s # 1648s # /* VOID:PARAM (/tmp/tmp7f5jsw51/tmp98ba8nir.list:1) */ 1648s # void 1648s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1648s # GValue *return_value G_GNUC_UNUSED, 1648s # guint n_param_values, 1648s # const GValue *param_values, 1648s # gpointer invocation_hint G_GNUC_UNUSED, 1648s # gpointer marshal_data) 1648s # { 1648s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1648s # gpointer arg1, 1648s # gpointer data2); 1648s # GCClosure *cc = (GCClosure *) closure; 1648s # gpointer data1, data2; 1648s # GMarshalFunc_VOID__PARAM callback; 1648s # 1648s # g_return_if_fail (n_param_values == 2); 1648s # 1648s # if (G_CCLOSURE_SWAP_DATA (closure)) 1648s # { 1648s # data1 = closure->data; 1648s # data2 = g_value_peek_pointer (param_values + 0); 1648s # } 1648s # else 1648s # { 1648s # data1 = g_value_peek_pointer (param_values + 0); 1648s # data2 = closure->data; 1648s # } 1648s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1648s # 1648s # callback (data1, 1648s # g_marshal_value_peek_param (param_values + 1), 1648s # data2); 1648s # } 1648s # 1648s # void 1648s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1648s # GValue *return_value G_GNUC_UNUSED, 1648s # gpointer instance, 1648s # va_list args, 1648s # gpointer marshal_data, 1648s # int n_params, 1648s # GType *param_types) 1648s # { 1648s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1648s # gpointer arg1, 1648s # gpointer data2); 1648s # GCClosure *cc = (GCClosure *) closure; 1648s # gpointer data1, data2; 1648s # GMarshalFunc_VOID__PARAM callback; 1648s # gpointer arg0; 1648s # va_list args_copy; 1648s # 1648s # va_copy (args_copy, args); 1648s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1648s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1648s # arg0 = g_param_spec_ref (arg0); 1648s # va_end (args_copy); 1648s # 1648s # 1648s # if (G_CCLOSURE_SWAP_DATA (closure)) 1648s # { 1648s # data1 = closure->data; 1648s # data2 = instance; 1648s # } 1648s # else 1648s # { 1648s # data1 = instance; 1648s # data2 = closure->data; 1648s # } 1648s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1648s # 1648s # callback (data1, 1648s # arg0, 1648s # data2); 1648s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1648s # g_param_spec_unref (arg0); 1648s # } 1648s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1648s # tmpdir: /tmp/tmpplb8cope 1648s # genmarshal: /usr/bin/glib-genmarshal 1648s # /tmp/tmpplb8cope/tmp73te6pl2.list: VOID:STRING 1648s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpplb8cope/tmp73te6pl2.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1648s # 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. */ 1648s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1648s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1648s # 1648s # G_BEGIN_DECLS 1648s # 1648s # /* VOID:STRING (/tmp/tmpplb8cope/tmp73te6pl2.list:1) */ 1648s # extern 1648s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1648s # GValue *return_value, 1648s # guint n_param_values, 1648s # const GValue *param_values, 1648s # gpointer invocation_hint, 1648s # gpointer marshal_data); 1648s # extern 1648s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1648s # GValue *return_value, 1648s # gpointer instance, 1648s # va_list args, 1648s # gpointer marshal_data, 1648s # int n_params, 1648s # GType *param_types); 1648s # 1648s # 1648s # G_END_DECLS 1648s # 1648s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1648s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpplb8cope/tmp73te6pl2.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1648s # 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. */ 1648s # #ifdef G_ENABLE_DEBUG 1648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1648s # #else /* !G_ENABLE_DEBUG */ 1648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1648s # * Do not access GValues directly in your code. Instead, use the 1648s # * g_value_get_*() functions 1648s # */ 1648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1648s # #endif /* !G_ENABLE_DEBUG */ 1648s # 1648s # /* VOID:STRING (/tmp/tmpplb8cope/tmp73te6pl2.list:1) */ 1648s # void 1648s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1648s # GValue *return_value G_GNUC_UNUSED, 1648s # guint n_param_values, 1648s # const GValue *param_values, 1648s # gpointer invocation_hint G_GNUC_UNUSED, 1648s # gpointer marshal_data) 1648s # { 1648s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1648s # gpointer arg1, 1648s # gpointer data2); 1648s # GCClosure *cc = (GCClosure *) closure; 1648s # gpointer data1, data2; 1648s # GMarshalFunc_VOID__STRING callback; 1648s # 1648s # g_return_if_fail (n_param_values == 2); 1648s # 1648s # if (G_CCLOSURE_SWAP_DATA (closure)) 1648s # { 1648s # data1 = closure->data; 1648s # data2 = g_value_peek_pointer (param_values + 0); 1648s # } 1648s # else 1648s # { 1648s # data1 = g_value_peek_pointer (param_values + 0); 1648s # data2 = closure->data; 1648s # } 1648s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1648s # 1648s # callback (data1, 1648s # g_marshal_value_peek_string (param_values + 1), 1648s # data2); 1648s # } 1648s # 1648s # void 1648s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1648s # GValue *return_value G_GNUC_UNUSED, 1648s # gpointer instance, 1648s # va_list args, 1648s # gpointer marshal_data, 1648s # int n_params, 1648s # GType *param_types) 1648s # { 1648s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1648s # gpointer arg1, 1648s # gpointer data2); 1648s # GCClosure *cc = (GCClosure *) closure; 1648s # gpointer data1, data2; 1648s # GMarshalFunc_VOID__STRING callback; 1648s # gpointer arg0; 1648s # va_list args_copy; 1648s # 1648s # va_copy (args_copy, args); 1648s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1648s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1648s # arg0 = g_strdup (arg0); 1648s # va_end (args_copy); 1648s # 1648s # 1648s # if (G_CCLOSURE_SWAP_DATA (closure)) 1648s # { 1648s # data1 = closure->data; 1648s # data2 = instance; 1648s # } 1648s # else 1648s # { 1648s # data1 = instance; 1648s # data2 = closure->data; 1648s # } 1648s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1648s # 1648s # callback (data1, 1648s # arg0, 1648s # data2); 1648s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1648s # g_free (arg0); 1648s # } 1649s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1649s # tmpdir: /tmp/tmpnh0a76zi 1649s # genmarshal: /usr/bin/glib-genmarshal 1649s # /tmp/tmpnh0a76zi/tmpae18cant.list: VOID:VARIANT 1649s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnh0a76zi/tmpae18cant.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1649s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1649s # 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. */ 1649s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1649s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1649s # 1649s # G_BEGIN_DECLS 1649s # 1649s # /* VOID:VARIANT (/tmp/tmpnh0a76zi/tmpae18cant.list:1) */ 1649s # extern 1649s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1649s # GValue *return_value, 1649s # guint n_param_values, 1649s # const GValue *param_values, 1649s # gpointer invocation_hint, 1649s # gpointer marshal_data); 1649s # extern 1649s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1649s # GValue *return_value, 1649s # gpointer instance, 1649s # va_list args, 1649s # gpointer marshal_data, 1649s # int n_params, 1649s # GType *param_types); 1649s # 1649s # 1649s # G_END_DECLS 1649s # 1649s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1649s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnh0a76zi/tmpae18cant.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1649s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1649s # 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. */ 1649s # #ifdef G_ENABLE_DEBUG 1649s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1649s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1649s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1649s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1649s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1649s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1649s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1649s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1649s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1649s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1649s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1649s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1649s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1649s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1649s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1649s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1649s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1649s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1649s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1649s # #else /* !G_ENABLE_DEBUG */ 1649s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1649s # * Do not access GValues directly in your code. Instead, use the 1649s # * g_value_get_*() functions 1649s # */ 1649s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1649s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1649s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1649s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1649s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1649s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1649s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1649s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1649s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1649s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1649s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1649s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1649s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1649s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1649s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1649s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1649s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1649s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1649s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1649s # #endif /* !G_ENABLE_DEBUG */ 1649s # 1649s # /* VOID:VARIANT (/tmp/tmpnh0a76zi/tmpae18cant.list:1) */ 1649s # void 1649s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1649s # GValue *return_value G_GNUC_UNUSED, 1649s # guint n_param_values, 1649s # const GValue *param_values, 1649s # gpointer invocation_hint G_GNUC_UNUSED, 1649s # gpointer marshal_data) 1649s # { 1649s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1649s # gpointer arg1, 1649s # gpointer data2); 1649s # GCClosure *cc = (GCClosure *) closure; 1649s # gpointer data1, data2; 1649s # GMarshalFunc_VOID__VARIANT callback; 1649s # 1649s # g_return_if_fail (n_param_values == 2); 1649s # 1649s # if (G_CCLOSURE_SWAP_DATA (closure)) 1649s # { 1649s # data1 = closure->data; 1649s # data2 = g_value_peek_pointer (param_values + 0); 1649s # } 1649s # else 1649s # { 1649s # data1 = g_value_peek_pointer (param_values + 0); 1649s # data2 = closure->data; 1649s # } 1649s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1649s # 1649s # callback (data1, 1649s # g_marshal_value_peek_variant (param_values + 1), 1649s # data2); 1649s # } 1649s # 1649s # void 1649s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1649s # GValue *return_value G_GNUC_UNUSED, 1649s # gpointer instance, 1649s # va_list args, 1649s # gpointer marshal_data, 1649s # int n_params, 1649s # GType *param_types) 1649s # { 1649s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1649s # gpointer arg1, 1649s # gpointer data2); 1649s # GCClosure *cc = (GCClosure *) closure; 1649s # gpointer data1, data2; 1649s # GMarshalFunc_VOID__VARIANT callback; 1649s # gpointer arg0; 1649s # va_list args_copy; 1649s # 1649s # va_copy (args_copy, args); 1649s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1649s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1649s # arg0 = g_variant_ref_sink (arg0); 1649s # va_end (args_copy); 1649s # 1649s # 1649s # if (G_CCLOSURE_SWAP_DATA (closure)) 1649s # { 1649s # data1 = closure->data; 1649s # data2 = instance; 1649s # } 1649s # else 1649s # { 1649s # data1 = instance; 1649s # data2 = closure->data; 1649s # } 1649s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1649s # 1649s # callback (data1, 1649s # arg0, 1649s # data2); 1649s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1649s # g_variant_unref (arg0); 1649s # } 1649s 1..8 1649s ok - glib/genmarshal.py.test 1649s # Running test: glib/function-info.test 1649s TAP version 13 1649s # random seed: R02S51a11f75d371b3b940756d61b8bb3973 1649s 1..1 1649s # Start of function-info tests 1649s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_A7WFK2/function-info/invoker/.dirs/home 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_A7WFK2/function-info/invoker/.dirs/cache 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_A7WFK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_A7WFK2/function-info/invoker/.dirs/system-config2 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_A7WFK2/function-info/invoker/.dirs/config 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_A7WFK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_A7WFK2/function-info/invoker/.dirs/system-data2 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_A7WFK2/function-info/invoker/.dirs/data 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_A7WFK2/function-info/invoker/.dirs/state 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_A7WFK2/function-info/invoker/.dirs/runtime 1649s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1649s # /function-info/invoker summary: Test preparing a function invoker 1649s ok 1 /function-info/invoker 1649s # End of function-info tests 1649s ok - glib/function-info.test 1649s # Running test: glib/registered-type-info.test 1649s TAP version 13 1649s # random seed: R02S35421a17f0bdbb06777726e85cad0473 1649s 1..1 1649s # Start of registered-type-info tests 1649s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_MJSHK2/registered-type-info/boxed/.dirs/home 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_MJSHK2/registered-type-info/boxed/.dirs/cache 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_MJSHK2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_MJSHK2/registered-type-info/boxed/.dirs/system-config2 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_MJSHK2/registered-type-info/boxed/.dirs/config 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_MJSHK2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_MJSHK2/registered-type-info/boxed/.dirs/system-data2 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_MJSHK2/registered-type-info/boxed/.dirs/data 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_MJSHK2/registered-type-info/boxed/.dirs/state 1649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_MJSHK2/registered-type-info/boxed/.dirs/runtime 1649s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1649s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1649s # Expecting CClosure to not be boxed 1649s # Expecting TypeCValue to not be boxed 1649s # Expecting InitiallyUnownedClass to not be boxed 1649s # Expecting BookmarkFile to be boxed 1649s # Expecting Closure to be boxed 1649s # Expecting Object to not be boxed 1649s ok 1 /registered-type-info/boxed 1649s # End of registered-type-info tests 1649s ok - glib/registered-type-info.test 1649s # Running test: glib/properties-refcount2.test 1649s TAP version 13 1649s # random seed: R02Sfca6d55712dca2dc91eac8f3c0762d4d 1649s 1..1 1649s # Start of gobject tests 1649s # Start of refcount tests 1649s # init 0xbf29d06bd770 1649s # 1649s # . 1649s # . 1649s # . 1649s # . 1649s # . 1649s # . 1649s # . 1649s # . 1649s # . 1649s # . 1649s # . 1649s # . 1649s # . 1649s # . 1649s # . 1649s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # Executing: glib/properties-refcount2.test 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1650s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1651s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1652s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # . 1653s # dispose 0xbf29d06bd770! 1653s # 1653s ok 1 /gobject/refcount/properties-2 1653s # slow test /gobject/refcount/properties-2 executed in 4.47 secs 1653s # End of refcount tests 1653s # End of gobject tests 1653s ok - glib/properties-refcount2.test 1653s # Running test: glib/threadtests.test 1653s TAP version 13 1653s # random seed: R02Sa08f86a2b500f00fa736fbc8584d53a5 1653s 1..5 1653s # Start of GObject tests 1654s ok 1 /GObject/threaded-object-init 1655s # Executing: glib/threadtests.test 1656s ok 2 /GObject/threaded-weak-ref 1656s # slow test /GObject/threaded-weak-ref executed in 2.64 secs 1656s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1656s # /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 1657s ok 3 /GObject/threaded-toggle-notify 1657s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1657s # Start of threaded-weak-ref tests 1657s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1657s # /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. 1657s ok 5 /GObject/threaded-weak-ref/on-finalization 1657s # End of threaded-weak-ref tests 1657s # End of GObject tests 1657s ok - glib/threadtests.test 1657s # Running test: glib/throws.test 1657s TAP version 13 1657s # random seed: R02S2e54378462c66e0db35c65b20ca68527 1657s 1..3 1657s # Start of throws tests 1657s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_VXSGK2/throws/invoke-gerror/.dirs/home 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_VXSGK2/throws/invoke-gerror/.dirs/cache 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_VXSGK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_VXSGK2/throws/invoke-gerror/.dirs/system-config2 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_VXSGK2/throws/invoke-gerror/.dirs/config 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_VXSGK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_VXSGK2/throws/invoke-gerror/.dirs/system-data2 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_VXSGK2/throws/invoke-gerror/.dirs/data 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_VXSGK2/throws/invoke-gerror/.dirs/state 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_VXSGK2/throws/invoke-gerror/.dirs/runtime 1657s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1657s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1657s ok 1 /throws/invoke-gerror 1657s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_VXSGK2/throws/vfunc-can-throw-gerror/.dirs/home 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_VXSGK2/throws/vfunc-can-throw-gerror/.dirs/cache 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_VXSGK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_VXSGK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_VXSGK2/throws/vfunc-can-throw-gerror/.dirs/config 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_VXSGK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_VXSGK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_VXSGK2/throws/vfunc-can-throw-gerror/.dirs/data 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_VXSGK2/throws/vfunc-can-throw-gerror/.dirs/state 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_VXSGK2/throws/vfunc-can-throw-gerror/.dirs/runtime 1657s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1657s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1657s ok 2 /throws/vfunc-can-throw-gerror 1657s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_VXSGK2/throws/callback-can-throw-gerror/.dirs/home 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_VXSGK2/throws/callback-can-throw-gerror/.dirs/cache 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_VXSGK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_VXSGK2/throws/callback-can-throw-gerror/.dirs/system-config2 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_VXSGK2/throws/callback-can-throw-gerror/.dirs/config 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_VXSGK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_VXSGK2/throws/callback-can-throw-gerror/.dirs/system-data2 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_VXSGK2/throws/callback-can-throw-gerror/.dirs/data 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_VXSGK2/throws/callback-can-throw-gerror/.dirs/state 1657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_VXSGK2/throws/callback-can-throw-gerror/.dirs/runtime 1657s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1657s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1657s ok 3 /throws/callback-can-throw-gerror 1657s # End of throws tests 1657s ok - glib/throws.test 1657s # Running test: glib/mkenums.py.test 1657s TAP version 13 1657s ok 1 __main__.TestMkenums.test_available_in 1657s # tmpdir: /tmp/tmp3w5xqhir 1657s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1657s # /tmp/tmp3w5xqhir/tmp4j9my8wj.h: 1657s # typedef enum { 1657s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1657s # } GDBusServerFlags; 1657s # 1657s # /tmp/tmp3w5xqhir/tmpa8yk0cl4.template: 1657s # /*** BEGIN file-header ***/ 1657s # file-header 1657s # /*** END file-header ***/ 1657s # 1657s # /*** BEGIN file-production ***/ 1657s # file-production 1657s # filename: @filename@ 1657s # basename: @basename@ 1657s # /*** END file-production ***/ 1657s # 1657s # /*** BEGIN enumeration-production ***/ 1657s # enumeration-production 1657s # EnumName: @EnumName@ 1657s # enum_name: @enum_name@ 1657s # ENUMNAME: @ENUMNAME@ 1657s # ENUMSHORT: @ENUMSHORT@ 1657s # ENUMPREFIX: @ENUMPREFIX@ 1657s # enumsince: @enumsince@ 1657s # type: @type@ 1657s # Type: @Type@ 1657s # TYPE: @TYPE@ 1657s # /*** END enumeration-production ***/ 1657s # 1657s # /*** BEGIN value-header ***/ 1657s # value-header 1657s # EnumName: @EnumName@ 1657s # enum_name: @enum_name@ 1657s # ENUMNAME: @ENUMNAME@ 1657s # ENUMSHORT: @ENUMSHORT@ 1657s # ENUMPREFIX: @ENUMPREFIX@ 1657s # enumsince: @enumsince@ 1657s # type: @type@ 1657s # Type: @Type@ 1657s # TYPE: @TYPE@ 1657s # /*** END value-header ***/ 1657s # 1657s # /*** BEGIN value-production ***/ 1657s # value-production 1657s # VALUENAME: @VALUENAME@ 1657s # valuenick: @valuenick@ 1657s # valuenum: @valuenum@ 1657s # type: @type@ 1657s # Type: @Type@ 1657s # TYPE: @TYPE@ 1657s # /*** END value-production ***/ 1657s # 1657s # /*** BEGIN value-tail ***/ 1657s # value-tail 1657s # EnumName: @EnumName@ 1657s # enum_name: @enum_name@ 1657s # ENUMNAME: @ENUMNAME@ 1657s # ENUMSHORT: @ENUMSHORT@ 1657s # ENUMPREFIX: @ENUMPREFIX@ 1657s # enumsince: @enumsince@ 1657s # type: @type@ 1657s # Type: @Type@ 1657s # TYPE: @TYPE@ 1657s # /*** END value-tail ***/ 1657s # 1657s # /*** BEGIN comment ***/ 1657s # comment 1657s # comment: @comment@ 1657s # /*** END comment ***/ 1657s # 1657s # /*** BEGIN file-tail ***/ 1657s # file-tail 1657s # /*** END file-tail ***/ 1657s # 1657s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3w5xqhir/tmpa8yk0cl4.template', '/tmp/tmp3w5xqhir/tmp4j9my8wj.h'] 1657s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1657s # Output: comment 1657s # 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. 1657s # 1657s # 1657s # file-header 1657s # file-production 1657s # filename: /tmp/tmp3w5xqhir/tmp4j9my8wj.h 1657s # basename: tmp4j9my8wj.h 1657s # enumeration-production 1657s # EnumName: GDBusServerFlags 1657s # enum_name: g_dbus_server_flags 1657s # ENUMNAME: G_DBUS_SERVER_FLAGS 1657s # ENUMSHORT: DBUS_SERVER_FLAGS 1657s # ENUMPREFIX: G 1657s # enumsince: 1657s # type: flags 1657s # Type: Flags 1657s # TYPE: FLAGS 1657s # value-header 1657s # EnumName: GDBusServerFlags 1657s # enum_name: g_dbus_server_flags 1657s # ENUMNAME: G_DBUS_SERVER_FLAGS 1657s # ENUMSHORT: DBUS_SERVER_FLAGS 1657s # ENUMPREFIX: G 1657s # enumsince: 1657s # type: flags 1657s # Type: Flags 1657s # TYPE: FLAGS 1657s # value-production 1657s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1657s # valuenick: user 1657s # valuenum: 4 1657s # type: flags 1657s # Type: Flags 1657s # TYPE: FLAGS 1657s # value-tail 1657s # EnumName: GDBusServerFlags 1657s # enum_name: g_dbus_server_flags 1657s # ENUMNAME: G_DBUS_SERVER_FLAGS 1657s # ENUMSHORT: DBUS_SERVER_FLAGS 1657s # ENUMPREFIX: G 1657s # enumsince: 1657s # type: flags 1657s # Type: Flags 1657s # TYPE: FLAGS 1657s # file-tail 1657s # 1657s # comment 1657s # comment: Generated data ends here 1657s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1657s # tmpdir: /tmp/tmp6a2vp90b 1657s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1657s # /tmp/tmp6a2vp90b/tmpvra3bkwm.h: 1657s # typedef enum { 1657s # ENUM_VALUE_WITH_COMMA = ',', 1657s # } TestCommaEnum; 1657s # 1657s # /tmp/tmp6a2vp90b/tmpd8mtpnxg.template: 1657s # /*** BEGIN file-header ***/ 1657s # file-header 1657s # /*** END file-header ***/ 1657s # 1657s # /*** BEGIN file-production ***/ 1657s # file-production 1657s # filename: @filename@ 1657s # basename: @basename@ 1657s # /*** END file-production ***/ 1657s # 1657s # /*** BEGIN enumeration-production ***/ 1657s # enumeration-production 1657s # EnumName: @EnumName@ 1657s # enum_name: @enum_name@ 1657s # ENUMNAME: @ENUMNAME@ 1657s # ENUMSHORT: @ENUMSHORT@ 1657s # ENUMPREFIX: @ENUMPREFIX@ 1657s # enumsince: @enumsince@ 1657s # type: @type@ 1657s # Type: @Type@ 1657s # TYPE: @TYPE@ 1657s # /*** END enumeration-production ***/ 1657s # 1657s # /*** BEGIN value-header ***/ 1657s # value-header 1657s # EnumName: @EnumName@ 1657s # enum_name: @enum_name@ 1657s # ENUMNAME: @ENUMNAME@ 1657s # ENUMSHORT: @ENUMSHORT@ 1657s # ENUMPREFIX: @ENUMPREFIX@ 1657s # enumsince: @enumsince@ 1657s # type: @type@ 1657s # Type: @Type@ 1657s # TYPE: @TYPE@ 1657s # /*** END value-header ***/ 1657s # 1657s # /*** BEGIN value-production ***/ 1657s # value-production 1657s # VALUENAME: @VALUENAME@ 1657s # valuenick: @valuenick@ 1657s # valuenum: @valuenum@ 1657s # type: @type@ 1657s # Type: @Type@ 1657s # TYPE: @TYPE@ 1657s # /*** END value-production ***/ 1657s # 1657s # /*** BEGIN value-tail ***/ 1657s # value-tail 1657s # EnumName: @EnumName@ 1657s # enum_name: @enum_name@ 1657s # ENUMNAME: @ENUMNAME@ 1657s # ENUMSHORT: @ENUMSHORT@ 1657s # ENUMPREFIX: @ENUMPREFIX@ 1657s # enumsince: @enumsince@ 1657s # type: @type@ 1657s # Type: @Type@ 1657s # TYPE: @TYPE@ 1657s # /*** END value-tail ***/ 1657s # 1657s # /*** BEGIN comment ***/ 1657s # comment 1657s # comment: @comment@ 1657s # /*** END comment ***/ 1657s # 1657s # /*** BEGIN file-tail ***/ 1657s # file-tail 1657s # /*** END file-tail ***/ 1657s # 1657s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6a2vp90b/tmpd8mtpnxg.template', '/tmp/tmp6a2vp90b/tmpvra3bkwm.h'] 1657s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1657s # Output: comment 1657s # 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. 1657s # 1657s # 1657s # file-header 1657s # file-production 1657s # filename: /tmp/tmp6a2vp90b/tmpvra3bkwm.h 1657s # basename: tmpvra3bkwm.h 1657s # enumeration-production 1657s # EnumName: TestCommaEnum 1657s # enum_name: test_comma_enum 1657s # ENUMNAME: TEST_COMMA_ENUM 1657s # ENUMSHORT: COMMA_ENUM 1657s # ENUMPREFIX: TEST 1657s # enumsince: 1657s # type: enum 1657s # Type: Enum 1657s # TYPE: ENUM 1657s # value-header 1657s # EnumName: TestCommaEnum 1657s # enum_name: test_comma_enum 1657s # ENUMNAME: TEST_COMMA_ENUM 1657s # ENUMSHORT: COMMA_ENUM 1657s # ENUMPREFIX: TEST 1657s # enumsince: 1657s # type: enum 1657s # Type: Enum 1657s # TYPE: ENUM 1657s # value-production 1657s # VALUENAME: ENUM_VALUE_WITH_COMMA 1657s # valuenick: comma 1657s # valuenum: 44 1657s # type: enum 1657s # Type: Enum 1657s # TYPE: ENUM 1657s # value-tail 1657s # EnumName: TestCommaEnum 1657s # enum_name: test_comma_enum 1657s # ENUMNAME: TEST_COMMA_ENUM 1657s # ENUMSHORT: COMMA_ENUM 1657s # ENUMPREFIX: TEST 1657s # enumsince: 1657s # type: enum 1657s # Type: Enum 1657s # TYPE: ENUM 1657s # file-tail 1657s # 1657s # comment 1657s # comment: Generated data ends here 1658s ok 3 __main__.TestMkenums.test_deprecated_in 1658s # tmpdir: /tmp/tmpi0ukaq8j 1658s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1658s # /tmp/tmpi0ukaq8j/tmpwzx9r_75.h: 1658s # typedef enum { 1658s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1658s # } GDBusServerFlags; 1658s # 1658s # /tmp/tmpi0ukaq8j/tmp5ec63ocj.template: 1658s # /*** BEGIN file-header ***/ 1658s # file-header 1658s # /*** END file-header ***/ 1658s # 1658s # /*** BEGIN file-production ***/ 1658s # file-production 1658s # filename: @filename@ 1658s # basename: @basename@ 1658s # /*** END file-production ***/ 1658s # 1658s # /*** BEGIN enumeration-production ***/ 1658s # enumeration-production 1658s # EnumName: @EnumName@ 1658s # enum_name: @enum_name@ 1658s # ENUMNAME: @ENUMNAME@ 1658s # ENUMSHORT: @ENUMSHORT@ 1658s # ENUMPREFIX: @ENUMPREFIX@ 1658s # enumsince: @enumsince@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END enumeration-production ***/ 1658s # 1658s # /*** BEGIN value-header ***/ 1658s # value-header 1658s # EnumName: @EnumName@ 1658s # enum_name: @enum_name@ 1658s # ENUMNAME: @ENUMNAME@ 1658s # ENUMSHORT: @ENUMSHORT@ 1658s # ENUMPREFIX: @ENUMPREFIX@ 1658s # enumsince: @enumsince@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END value-header ***/ 1658s # 1658s # /*** BEGIN value-production ***/ 1658s # value-production 1658s # VALUENAME: @VALUENAME@ 1658s # valuenick: @valuenick@ 1658s # valuenum: @valuenum@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END value-production ***/ 1658s # 1658s # /*** BEGIN value-tail ***/ 1658s # value-tail 1658s # EnumName: @EnumName@ 1658s # enum_name: @enum_name@ 1658s # ENUMNAME: @ENUMNAME@ 1658s # ENUMSHORT: @ENUMSHORT@ 1658s # ENUMPREFIX: @ENUMPREFIX@ 1658s # enumsince: @enumsince@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END value-tail ***/ 1658s # 1658s # /*** BEGIN comment ***/ 1658s # comment 1658s # comment: @comment@ 1658s # /*** END comment ***/ 1658s # 1658s # /*** BEGIN file-tail ***/ 1658s # file-tail 1658s # /*** END file-tail ***/ 1658s # 1658s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpi0ukaq8j/tmp5ec63ocj.template', '/tmp/tmpi0ukaq8j/tmpwzx9r_75.h'] 1658s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1658s # Output: comment 1658s # 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. 1658s # 1658s # 1658s # file-header 1658s # file-production 1658s # filename: /tmp/tmpi0ukaq8j/tmpwzx9r_75.h 1658s # basename: tmpwzx9r_75.h 1658s # enumeration-production 1658s # EnumName: GDBusServerFlags 1658s # enum_name: g_dbus_server_flags 1658s # ENUMNAME: G_DBUS_SERVER_FLAGS 1658s # ENUMSHORT: DBUS_SERVER_FLAGS 1658s # ENUMPREFIX: G 1658s # enumsince: 1658s # type: flags 1658s # Type: Flags 1658s # TYPE: FLAGS 1658s # value-header 1658s # EnumName: GDBusServerFlags 1658s # enum_name: g_dbus_server_flags 1658s # ENUMNAME: G_DBUS_SERVER_FLAGS 1658s # ENUMSHORT: DBUS_SERVER_FLAGS 1658s # ENUMPREFIX: G 1658s # enumsince: 1658s # type: flags 1658s # Type: Flags 1658s # TYPE: FLAGS 1658s # value-production 1658s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1658s # valuenick: user 1658s # valuenum: 4 1658s # type: flags 1658s # Type: Flags 1658s # TYPE: FLAGS 1658s # value-tail 1658s # EnumName: GDBusServerFlags 1658s # enum_name: g_dbus_server_flags 1658s # ENUMNAME: G_DBUS_SERVER_FLAGS 1658s # ENUMSHORT: DBUS_SERVER_FLAGS 1658s # ENUMPREFIX: G 1658s # enumsince: 1658s # type: flags 1658s # Type: Flags 1658s # TYPE: FLAGS 1658s # file-tail 1658s # 1658s # comment 1658s # comment: Generated data ends here 1658s ok 4 __main__.TestMkenums.test_deprecated_in_for 1658s # tmpdir: /tmp/tmpp_hfknl8 1658s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1658s # /tmp/tmpp_hfknl8/tmp7wz3dul3.h: 1658s # typedef enum { 1658s # 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) 1658s # } GDBusServerFlags; 1658s # 1658s # /tmp/tmpp_hfknl8/tmp0timjy0z.template: 1658s # /*** BEGIN file-header ***/ 1658s # file-header 1658s # /*** END file-header ***/ 1658s # 1658s # /*** BEGIN file-production ***/ 1658s # file-production 1658s # filename: @filename@ 1658s # basename: @basename@ 1658s # /*** END file-production ***/ 1658s # 1658s # /*** BEGIN enumeration-production ***/ 1658s # enumeration-production 1658s # EnumName: @EnumName@ 1658s # enum_name: @enum_name@ 1658s # ENUMNAME: @ENUMNAME@ 1658s # ENUMSHORT: @ENUMSHORT@ 1658s # ENUMPREFIX: @ENUMPREFIX@ 1658s # enumsince: @enumsince@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END enumeration-production ***/ 1658s # 1658s # /*** BEGIN value-header ***/ 1658s # value-header 1658s # EnumName: @EnumName@ 1658s # enum_name: @enum_name@ 1658s # ENUMNAME: @ENUMNAME@ 1658s # ENUMSHORT: @ENUMSHORT@ 1658s # ENUMPREFIX: @ENUMPREFIX@ 1658s # enumsince: @enumsince@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END value-header ***/ 1658s # 1658s # /*** BEGIN value-production ***/ 1658s # value-production 1658s # VALUENAME: @VALUENAME@ 1658s # valuenick: @valuenick@ 1658s # valuenum: @valuenum@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END value-production ***/ 1658s # 1658s # /*** BEGIN value-tail ***/ 1658s # value-tail 1658s # EnumName: @EnumName@ 1658s # enum_name: @enum_name@ 1658s # ENUMNAME: @ENUMNAME@ 1658s # ENUMSHORT: @ENUMSHORT@ 1658s # ENUMPREFIX: @ENUMPREFIX@ 1658s # enumsince: @enumsince@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END value-tail ***/ 1658s # 1658s # /*** BEGIN comment ***/ 1658s # comment 1658s # comment: @comment@ 1658s # /*** END comment ***/ 1658s # 1658s # /*** BEGIN file-tail ***/ 1658s # file-tail 1658s # /*** END file-tail ***/ 1658s # 1658s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp_hfknl8/tmp0timjy0z.template', '/tmp/tmpp_hfknl8/tmp7wz3dul3.h'] 1658s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1658s # Output: comment 1658s # 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. 1658s # 1658s # 1658s # file-header 1658s # file-production 1658s # filename: /tmp/tmpp_hfknl8/tmp7wz3dul3.h 1658s # basename: tmp7wz3dul3.h 1658s # enumeration-production 1658s # EnumName: GDBusServerFlags 1658s # enum_name: g_dbus_server_flags 1658s # ENUMNAME: G_DBUS_SERVER_FLAGS 1658s # ENUMSHORT: DBUS_SERVER_FLAGS 1658s # ENUMPREFIX: G 1658s # enumsince: 1658s # type: flags 1658s # Type: Flags 1658s # TYPE: FLAGS 1658s # value-header 1658s # EnumName: GDBusServerFlags 1658s # enum_name: g_dbus_server_flags 1658s # ENUMNAME: G_DBUS_SERVER_FLAGS 1658s # ENUMSHORT: DBUS_SERVER_FLAGS 1658s # ENUMPREFIX: G 1658s # enumsince: 1658s # type: flags 1658s # Type: Flags 1658s # TYPE: FLAGS 1658s # value-production 1658s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1658s # valuenick: user 1658s # valuenum: 4 1658s # type: flags 1658s # Type: Flags 1658s # TYPE: FLAGS 1658s # value-tail 1658s # EnumName: GDBusServerFlags 1658s # enum_name: g_dbus_server_flags 1658s # ENUMNAME: G_DBUS_SERVER_FLAGS 1658s # ENUMSHORT: DBUS_SERVER_FLAGS 1658s # ENUMPREFIX: G 1658s # enumsince: 1658s # type: flags 1658s # Type: Flags 1658s # TYPE: FLAGS 1658s # file-tail 1658s # 1658s # comment 1658s # comment: Generated data ends here 1658s ok 5 __main__.TestMkenums.test_empty_header 1658s # tmpdir: /tmp/tmpblu2wayg 1658s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1658s # /tmp/tmpblu2wayg/tmpe71qvtyi.h: 1658s # /tmp/tmpblu2wayg/tmpv3uxp4p0.template: 1658s # /*** BEGIN file-header ***/ 1658s # file-header 1658s # /*** END file-header ***/ 1658s # 1658s # /*** BEGIN file-production ***/ 1658s # file-production 1658s # filename: @filename@ 1658s # basename: @basename@ 1658s # /*** END file-production ***/ 1658s # 1658s # /*** BEGIN enumeration-production ***/ 1658s # enumeration-production 1658s # EnumName: @EnumName@ 1658s # enum_name: @enum_name@ 1658s # ENUMNAME: @ENUMNAME@ 1658s # ENUMSHORT: @ENUMSHORT@ 1658s # ENUMPREFIX: @ENUMPREFIX@ 1658s # enumsince: @enumsince@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END enumeration-production ***/ 1658s # 1658s # /*** BEGIN value-header ***/ 1658s # value-header 1658s # EnumName: @EnumName@ 1658s # enum_name: @enum_name@ 1658s # ENUMNAME: @ENUMNAME@ 1658s # ENUMSHORT: @ENUMSHORT@ 1658s # ENUMPREFIX: @ENUMPREFIX@ 1658s # enumsince: @enumsince@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END value-header ***/ 1658s # 1658s # /*** BEGIN value-production ***/ 1658s # value-production 1658s # VALUENAME: @VALUENAME@ 1658s # valuenick: @valuenick@ 1658s # valuenum: @valuenum@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END value-production ***/ 1658s # 1658s # /*** BEGIN value-tail ***/ 1658s # value-tail 1658s # EnumName: @EnumName@ 1658s # enum_name: @enum_name@ 1658s # ENUMNAME: @ENUMNAME@ 1658s # ENUMSHORT: @ENUMSHORT@ 1658s # ENUMPREFIX: @ENUMPREFIX@ 1658s # enumsince: @enumsince@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END value-tail ***/ 1658s # 1658s # /*** BEGIN comment ***/ 1658s # comment 1658s # comment: @comment@ 1658s # /*** END comment ***/ 1658s # 1658s # /*** BEGIN file-tail ***/ 1658s # file-tail 1658s # /*** END file-tail ***/ 1658s # 1658s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblu2wayg/tmpv3uxp4p0.template', '/tmp/tmpblu2wayg/tmpe71qvtyi.h'] 1658s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1658s # Output: comment 1658s # 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. 1658s # 1658s # 1658s # file-header 1658s # file-tail 1658s # 1658s # comment 1658s # comment: Generated data ends here 1658s ok 6 __main__.TestMkenums.test_empty_template 1658s # tmpdir: /tmp/tmpv6ua1fwb 1658s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1658s # /tmp/tmpv6ua1fwb/tmp1poo9d5e.template: 1658s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpv6ua1fwb/tmp1poo9d5e.template'] 1658s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1658s # 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. */ 1658s # 1658s # 1658s # /* Generated data ends here */ 1658s ok 7 __main__.TestMkenums.test_enum_name 1658s # tmpdir: /tmp/tmprvp3qt0a 1658s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1658s # /tmp/tmprvp3qt0a/tmpj61zjifb.h: 1658s # typedef enum _SomeEnumIdentifier { 1658s # ENUM_VALUE 1658s # } SomeEnumIdentifier; 1658s # 1658s # /tmp/tmprvp3qt0a/tmp3h6kz_2m.template: 1658s # /*** BEGIN file-header ***/ 1658s # file-header 1658s # /*** END file-header ***/ 1658s # 1658s # /*** BEGIN file-production ***/ 1658s # file-production 1658s # filename: @filename@ 1658s # basename: @basename@ 1658s # /*** END file-production ***/ 1658s # 1658s # /*** BEGIN enumeration-production ***/ 1658s # enumeration-production 1658s # EnumName: @EnumName@ 1658s # enum_name: @enum_name@ 1658s # ENUMNAME: @ENUMNAME@ 1658s # ENUMSHORT: @ENUMSHORT@ 1658s # ENUMPREFIX: @ENUMPREFIX@ 1658s # enumsince: @enumsince@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END enumeration-production ***/ 1658s # 1658s # /*** BEGIN value-header ***/ 1658s # value-header 1658s # EnumName: @EnumName@ 1658s # enum_name: @enum_name@ 1658s # ENUMNAME: @ENUMNAME@ 1658s # ENUMSHORT: @ENUMSHORT@ 1658s # ENUMPREFIX: @ENUMPREFIX@ 1658s # enumsince: @enumsince@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END value-header ***/ 1658s # 1658s # /*** BEGIN value-production ***/ 1658s # value-production 1658s # VALUENAME: @VALUENAME@ 1658s # valuenick: @valuenick@ 1658s # valuenum: @valuenum@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END value-production ***/ 1658s # 1658s # /*** BEGIN value-tail ***/ 1658s # value-tail 1658s # EnumName: @EnumName@ 1658s # enum_name: @enum_name@ 1658s # ENUMNAME: @ENUMNAME@ 1658s # ENUMSHORT: @ENUMSHORT@ 1658s # ENUMPREFIX: @ENUMPREFIX@ 1658s # enumsince: @enumsince@ 1658s # type: @type@ 1658s # Type: @Type@ 1658s # TYPE: @TYPE@ 1658s # /*** END value-tail ***/ 1658s # 1658s # /*** BEGIN comment ***/ 1658s # comment 1658s # comment: @comment@ 1658s # /*** END comment ***/ 1658s # 1658s # /*** BEGIN file-tail ***/ 1658s # file-tail 1658s # /*** END file-tail ***/ 1658s # 1658s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprvp3qt0a/tmp3h6kz_2m.template', '/tmp/tmprvp3qt0a/tmpj61zjifb.h'] 1658s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1658s # Output: comment 1658s # 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. 1658s # 1658s # 1658s # file-header 1658s # file-production 1658s # filename: /tmp/tmprvp3qt0a/tmpj61zjifb.h 1658s # basename: tmpj61zjifb.h 1658s # enumeration-production 1658s # EnumName: SomeEnumIdentifier 1658s # enum_name: some_enum_identifier 1658s # ENUMNAME: SOME_ENUM_IDENTIFIER 1658s # ENUMSHORT: ENUM_IDENTIFIER 1658s # ENUMPREFIX: SOME 1658s # enumsince: 1658s # type: enum 1658s # Type: Enum 1658s # TYPE: ENUM 1658s # value-header 1658s # EnumName: SomeEnumIdentifier 1658s # enum_name: some_enum_identifier 1658s # ENUMNAME: SOME_ENUM_IDENTIFIER 1658s # ENUMSHORT: ENUM_IDENTIFIER 1658s # ENUMPREFIX: SOME 1658s # enumsince: 1658s # type: enum 1658s # Type: Enum 1658s # TYPE: ENUM 1658s # value-production 1658s # VALUENAME: ENUM_VALUE 1658s # valuenick: value 1658s # valuenum: 0 1658s # type: enum 1658s # Type: Enum 1658s # TYPE: ENUM 1658s # value-tail 1658s # EnumName: SomeEnumIdentifier 1658s # enum_name: some_enum_identifier 1658s # ENUMNAME: SOME_ENUM_IDENTIFIER 1658s # ENUMSHORT: ENUM_IDENTIFIER 1658s # ENUMPREFIX: SOME 1658s # enumsince: 1658s # type: enum 1658s # Type: Enum 1658s # TYPE: ENUM 1658s # file-tail 1658s # 1658s # comment 1658s # comment: Generated data ends here 1659s ok 8 __main__.TestMkenums.test_enum_private_public 1659s # tmpdir: /tmp/tmp4r1oktg4 1659s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1659s # /tmp/tmp4r1oktg4/tmpbnj385_4.h: 1659s # typedef enum { 1659s # ENUM_VALUE_PUBLIC1, 1659s # /*< private >*/ 1659s # ENUM_VALUE_PRIVATE, 1659s # } SomeEnumA 1659s # 1659s # /tmp/tmp4r1oktg4/tmprqyhdb7v.template: 1659s # /*** BEGIN file-header ***/ 1659s # file-header 1659s # /*** END file-header ***/ 1659s # 1659s # /*** BEGIN file-production ***/ 1659s # file-production 1659s # filename: @filename@ 1659s # basename: @basename@ 1659s # /*** END file-production ***/ 1659s # 1659s # /*** BEGIN enumeration-production ***/ 1659s # enumeration-production 1659s # EnumName: @EnumName@ 1659s # enum_name: @enum_name@ 1659s # ENUMNAME: @ENUMNAME@ 1659s # ENUMSHORT: @ENUMSHORT@ 1659s # ENUMPREFIX: @ENUMPREFIX@ 1659s # enumsince: @enumsince@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END enumeration-production ***/ 1659s # 1659s # /*** BEGIN value-header ***/ 1659s # value-header 1659s # EnumName: @EnumName@ 1659s # enum_name: @enum_name@ 1659s # ENUMNAME: @ENUMNAME@ 1659s # ENUMSHORT: @ENUMSHORT@ 1659s # ENUMPREFIX: @ENUMPREFIX@ 1659s # enumsince: @enumsince@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END value-header ***/ 1659s # 1659s # /*** BEGIN value-production ***/ 1659s # value-production 1659s # VALUENAME: @VALUENAME@ 1659s # valuenick: @valuenick@ 1659s # valuenum: @valuenum@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END value-production ***/ 1659s # 1659s # /*** BEGIN value-tail ***/ 1659s # value-tail 1659s # EnumName: @EnumName@ 1659s # enum_name: @enum_name@ 1659s # ENUMNAME: @ENUMNAME@ 1659s # ENUMSHORT: @ENUMSHORT@ 1659s # ENUMPREFIX: @ENUMPREFIX@ 1659s # enumsince: @enumsince@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END value-tail ***/ 1659s # 1659s # /*** BEGIN comment ***/ 1659s # comment 1659s # comment: @comment@ 1659s # /*** END comment ***/ 1659s # 1659s # /*** BEGIN file-tail ***/ 1659s # file-tail 1659s # /*** END file-tail ***/ 1659s # 1659s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4r1oktg4/tmprqyhdb7v.template', '/tmp/tmp4r1oktg4/tmpbnj385_4.h'] 1659s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1659s # Output: comment 1659s # 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. 1659s # 1659s # 1659s # file-header 1659s # file-production 1659s # filename: /tmp/tmp4r1oktg4/tmpbnj385_4.h 1659s # basename: tmpbnj385_4.h 1659s # enumeration-production 1659s # EnumName: SomeEnumA 1659s # enum_name: some_enum_a 1659s # ENUMNAME: SOME_ENUM_A 1659s # ENUMSHORT: ENUM_A 1659s # ENUMPREFIX: SOME 1659s # enumsince: 1659s # type: enum 1659s # Type: Enum 1659s # TYPE: ENUM 1659s # value-header 1659s # EnumName: SomeEnumA 1659s # enum_name: some_enum_a 1659s # ENUMNAME: SOME_ENUM_A 1659s # ENUMSHORT: ENUM_A 1659s # ENUMPREFIX: SOME 1659s # enumsince: 1659s # type: enum 1659s # Type: Enum 1659s # TYPE: ENUM 1659s # value-production 1659s # VALUENAME: ENUM_VALUE_PUBLIC1 1659s # valuenick: public1 1659s # valuenum: 0 1659s # type: enum 1659s # Type: Enum 1659s # TYPE: ENUM 1659s # value-tail 1659s # EnumName: SomeEnumA 1659s # enum_name: some_enum_a 1659s # ENUMNAME: SOME_ENUM_A 1659s # ENUMSHORT: ENUM_A 1659s # ENUMPREFIX: SOME 1659s # enumsince: 1659s # type: enum 1659s # Type: Enum 1659s # TYPE: ENUM 1659s # file-tail 1659s # 1659s # comment 1659s # comment: Generated data ends here 1659s # /tmp/tmp4r1oktg4/tmphd18d4gn.h: 1659s # typedef enum { 1659s # /*< private >*/ 1659s # ENUM_VALUE_PRIVATE, 1659s # /*< public >*/ 1659s # ENUM_VALUE_PUBLIC2, 1659s # } SomeEnumB; 1659s # 1659s # /tmp/tmp4r1oktg4/tmp3amiggjf.template: 1659s # /*** BEGIN file-header ***/ 1659s # file-header 1659s # /*** END file-header ***/ 1659s # 1659s # /*** BEGIN file-production ***/ 1659s # file-production 1659s # filename: @filename@ 1659s # basename: @basename@ 1659s # /*** END file-production ***/ 1659s # 1659s # /*** BEGIN enumeration-production ***/ 1659s # enumeration-production 1659s # EnumName: @EnumName@ 1659s # enum_name: @enum_name@ 1659s # ENUMNAME: @ENUMNAME@ 1659s # ENUMSHORT: @ENUMSHORT@ 1659s # ENUMPREFIX: @ENUMPREFIX@ 1659s # enumsince: @enumsince@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END enumeration-production ***/ 1659s # 1659s # /*** BEGIN value-header ***/ 1659s # value-header 1659s # EnumName: @EnumName@ 1659s # enum_name: @enum_name@ 1659s # ENUMNAME: @ENUMNAME@ 1659s # ENUMSHORT: @ENUMSHORT@ 1659s # ENUMPREFIX: @ENUMPREFIX@ 1659s # enumsince: @enumsince@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END value-header ***/ 1659s # 1659s # /*** BEGIN value-production ***/ 1659s # value-production 1659s # VALUENAME: @VALUENAME@ 1659s # valuenick: @valuenick@ 1659s # valuenum: @valuenum@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END value-production ***/ 1659s # 1659s # /*** BEGIN value-tail ***/ 1659s # value-tail 1659s # EnumName: @EnumName@ 1659s # enum_name: @enum_name@ 1659s # ENUMNAME: @ENUMNAME@ 1659s # ENUMSHORT: @ENUMSHORT@ 1659s # ENUMPREFIX: @ENUMPREFIX@ 1659s # enumsince: @enumsince@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END value-tail ***/ 1659s # 1659s # /*** BEGIN comment ***/ 1659s # comment 1659s # comment: @comment@ 1659s # /*** END comment ***/ 1659s # 1659s # /*** BEGIN file-tail ***/ 1659s # file-tail 1659s # /*** END file-tail ***/ 1659s # 1659s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4r1oktg4/tmp3amiggjf.template', '/tmp/tmp4r1oktg4/tmphd18d4gn.h'] 1659s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1659s # Output: comment 1659s # 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. 1659s # 1659s # 1659s # file-header 1659s # file-production 1659s # filename: /tmp/tmp4r1oktg4/tmphd18d4gn.h 1659s # basename: tmphd18d4gn.h 1659s # enumeration-production 1659s # EnumName: SomeEnumB 1659s # enum_name: some_enum_b 1659s # ENUMNAME: SOME_ENUM_B 1659s # ENUMSHORT: ENUM_B 1659s # ENUMPREFIX: SOME 1659s # enumsince: 1659s # type: enum 1659s # Type: Enum 1659s # TYPE: ENUM 1659s # value-header 1659s # EnumName: SomeEnumB 1659s # enum_name: some_enum_b 1659s # ENUMNAME: SOME_ENUM_B 1659s # ENUMSHORT: ENUM_B 1659s # ENUMPREFIX: SOME 1659s # enumsince: 1659s # type: enum 1659s # Type: Enum 1659s # TYPE: ENUM 1659s # value-production 1659s # VALUENAME: ENUM_VALUE_PUBLIC2 1659s # valuenick: public2 1659s # valuenum: 1 1659s # type: enum 1659s # Type: Enum 1659s # TYPE: ENUM 1659s # value-tail 1659s # EnumName: SomeEnumB 1659s # enum_name: some_enum_b 1659s # ENUMNAME: SOME_ENUM_B 1659s # ENUMSHORT: ENUM_B 1659s # ENUMPREFIX: SOME 1659s # enumsince: 1659s # type: enum 1659s # Type: Enum 1659s # TYPE: ENUM 1659s # file-tail 1659s # 1659s # comment 1659s # comment: Generated data ends here 1659s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1659s # tmpdir: /tmp/tmpy7utxv7i 1659s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1659s # /tmp/tmpy7utxv7i/tmpe4831kl_.h: 1659s # typedef enum { 1659s # /*< private >*/ 1659s # ENUM_VALUE_PRIVATE = 5, 1659s # /*< public >*/ 1659s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1659s # } TestSymbolicEnum; 1659s # 1659s # /tmp/tmpy7utxv7i/tmpl0jyvk1e.template: 1659s # /*** BEGIN file-header ***/ 1659s # file-header 1659s # /*** END file-header ***/ 1659s # 1659s # /*** BEGIN file-production ***/ 1659s # file-production 1659s # filename: @filename@ 1659s # basename: @basename@ 1659s # /*** END file-production ***/ 1659s # 1659s # /*** BEGIN enumeration-production ***/ 1659s # enumeration-production 1659s # EnumName: @EnumName@ 1659s # enum_name: @enum_name@ 1659s # ENUMNAME: @ENUMNAME@ 1659s # ENUMSHORT: @ENUMSHORT@ 1659s # ENUMPREFIX: @ENUMPREFIX@ 1659s # enumsince: @enumsince@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END enumeration-production ***/ 1659s # 1659s # /*** BEGIN value-header ***/ 1659s # value-header 1659s # EnumName: @EnumName@ 1659s # enum_name: @enum_name@ 1659s # ENUMNAME: @ENUMNAME@ 1659s # ENUMSHORT: @ENUMSHORT@ 1659s # ENUMPREFIX: @ENUMPREFIX@ 1659s # enumsince: @enumsince@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END value-header ***/ 1659s # 1659s # /*** BEGIN value-production ***/ 1659s # value-production 1659s # VALUENAME: @VALUENAME@ 1659s # valuenick: @valuenick@ 1659s # valuenum: @valuenum@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END value-production ***/ 1659s # 1659s # /*** BEGIN value-tail ***/ 1659s # value-tail 1659s # EnumName: @EnumName@ 1659s # enum_name: @enum_name@ 1659s # ENUMNAME: @ENUMNAME@ 1659s # ENUMSHORT: @ENUMSHORT@ 1659s # ENUMPREFIX: @ENUMPREFIX@ 1659s # enumsince: @enumsince@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END value-tail ***/ 1659s # 1659s # /*** BEGIN comment ***/ 1659s # comment 1659s # comment: @comment@ 1659s # /*** END comment ***/ 1659s # 1659s # /*** BEGIN file-tail ***/ 1659s # file-tail 1659s # /*** END file-tail ***/ 1659s # 1659s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpy7utxv7i/tmpl0jyvk1e.template', '/tmp/tmpy7utxv7i/tmpe4831kl_.h'] 1659s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1659s # Output: comment 1659s # 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. 1659s # 1659s # 1659s # file-header 1659s # file-production 1659s # filename: /tmp/tmpy7utxv7i/tmpe4831kl_.h 1659s # basename: tmpe4831kl_.h 1659s # enumeration-production 1659s # EnumName: TestSymbolicEnum 1659s # enum_name: test_symbolic_enum 1659s # ENUMNAME: TEST_SYMBOLIC_ENUM 1659s # ENUMSHORT: SYMBOLIC_ENUM 1659s # ENUMPREFIX: TEST 1659s # enumsince: 1659s # type: enum 1659s # Type: Enum 1659s # TYPE: ENUM 1659s # value-header 1659s # EnumName: TestSymbolicEnum 1659s # enum_name: test_symbolic_enum 1659s # ENUMNAME: TEST_SYMBOLIC_ENUM 1659s # ENUMSHORT: SYMBOLIC_ENUM 1659s # ENUMPREFIX: TEST 1659s # enumsince: 1659s # type: enum 1659s # Type: Enum 1659s # TYPE: ENUM 1659s # value-production 1659s # VALUENAME: ENUM_VALUE_PUBLIC 1659s # valuenick: public 1659s # valuenum: 7 1659s # type: enum 1659s # Type: Enum 1659s # TYPE: ENUM 1659s # value-tail 1659s # EnumName: TestSymbolicEnum 1659s # enum_name: test_symbolic_enum 1659s # ENUMNAME: TEST_SYMBOLIC_ENUM 1659s # ENUMSHORT: SYMBOLIC_ENUM 1659s # ENUMPREFIX: TEST 1659s # enumsince: 1659s # type: enum 1659s # Type: Enum 1659s # TYPE: ENUM 1659s # file-tail 1659s # 1659s # comment 1659s # comment: Generated data ends here 1659s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1659s # tmpdir: /tmp/tmpfr8m5_mw 1659s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1659s # /tmp/tmpfr8m5_mw/tmpqw_05a7i.template: 1659s # /*** BEGIN file-header ***/ 1659s # file-header 1659s # filename: @filename@ 1659s # basename: @basename@ 1659s # /*** END file-header ***/ 1659s # 1659s # /*** BEGIN comment ***/ 1659s # comment 1659s # comment: @comment@ 1659s # /*** END comment ***/ 1659s # 1659s # /*** BEGIN file-tail ***/ 1659s # file-tail 1659s # filename: @filename@ 1659s # basename: @basename@ 1659s # /*** END file-tail ***/ 1659s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfr8m5_mw/tmpqw_05a7i.template'] 1659s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1659s # Output: comment 1659s # 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. 1659s # 1659s # 1659s # file-header 1659s # filename: @filename@ 1659s # basename: @basename@ 1659s # file-tail 1659s # filename: @filename@ 1659s # basename: @basename@ 1659s # 1659s # comment 1659s # comment: Generated data ends here 1659s ok 11 __main__.TestMkenums.test_help 1659s # tmpdir: /tmp/tmpjqugei_k 1659s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1659s # Running: ['/usr/bin/glib-mkenums', '--help'] 1659s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1659s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1659s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1659s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1659s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1659s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1659s # [--output OUTPUT] [--version] 1659s # [args ...] 1659s # 1659s # positional arguments: 1659s # args One or more input files, or a single argument 1659s # @rspfile_path pointing to a file that contains the 1659s # actual arguments 1659s # 1659s # options: 1659s # -h, --help show this help message and exit 1659s # --identifier-prefix IDPREFIX 1659s # Identifier prefix 1659s # --symbol-prefix SYMPREFIX 1659s # Symbol prefix 1659s # --fhead FHEAD Output file header 1659s # --ftail FTAIL Output file footer 1659s # --fprod FPROD Put out TEXT every time a new input file is being 1659s # processed. 1659s # --eprod EPROD Per enum text, produced prior to value iterations 1659s # --vhead VHEAD Value header, produced before iterating over enum 1659s # values 1659s # --vprod VPROD Value text, produced for each enum value. 1659s # --vtail VTAIL Value tail, produced after iterating over enum values 1659s # --comments COMMENT_TMPL 1659s # Comment structure 1659s # --template TEMPLATE Template file 1659s # --output OUTPUT 1659s # --version, -v Print version information 1659s # 1659s # Production text substitutions: 1659s # @EnumName@ PrefixTheXEnum 1659s # @enum_name@ prefix_the_xenum 1659s # @ENUMNAME@ PREFIX_THE_XENUM 1659s # @ENUMSHORT@ THE_XENUM 1659s # @ENUMPREFIX@ PREFIX 1659s # @enumsince@ the user-provided since value given 1659s # @VALUENAME@ PREFIX_THE_XVALUE 1659s # @valuenick@ the-xvalue 1659s # @valuenum@ the integer value (limited support, Since: 2.26) 1659s # @type@ either enum or flags 1659s # @Type@ either Enum or Flags 1659s # @TYPE@ either ENUM or FLAGS 1659s # @filename@ name of current input file 1659s # @basename@ base name of the current input file (Since: 2.22) 1659s ok 12 __main__.TestMkenums.test_no_args 1659s # tmpdir: /tmp/tmp6m6l3nb5 1659s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1659s # Running: ['/usr/bin/glib-mkenums'] 1659s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1659s # 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. */ 1659s # 1659s # 1659s # /* Generated data ends here */ 1659s ok 13 __main__.TestMkenums.test_no_headers 1659s # tmpdir: /tmp/tmp820krg9u 1659s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1659s # /tmp/tmp820krg9u/tmprpzzfloj.template: 1659s # /*** BEGIN file-header ***/ 1659s # file-header 1659s # /*** END file-header ***/ 1659s # 1659s # /*** BEGIN file-production ***/ 1659s # file-production 1659s # filename: @filename@ 1659s # basename: @basename@ 1659s # /*** END file-production ***/ 1659s # 1659s # /*** BEGIN enumeration-production ***/ 1659s # enumeration-production 1659s # EnumName: @EnumName@ 1659s # enum_name: @enum_name@ 1659s # ENUMNAME: @ENUMNAME@ 1659s # ENUMSHORT: @ENUMSHORT@ 1659s # ENUMPREFIX: @ENUMPREFIX@ 1659s # enumsince: @enumsince@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END enumeration-production ***/ 1659s # 1659s # /*** BEGIN value-header ***/ 1659s # value-header 1659s # EnumName: @EnumName@ 1659s # enum_name: @enum_name@ 1659s # ENUMNAME: @ENUMNAME@ 1659s # ENUMSHORT: @ENUMSHORT@ 1659s # ENUMPREFIX: @ENUMPREFIX@ 1659s # enumsince: @enumsince@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END value-header ***/ 1659s # 1659s # /*** BEGIN value-production ***/ 1659s # value-production 1659s # VALUENAME: @VALUENAME@ 1659s # valuenick: @valuenick@ 1659s # valuenum: @valuenum@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END value-production ***/ 1659s # 1659s # /*** BEGIN value-tail ***/ 1659s # value-tail 1659s # EnumName: @EnumName@ 1659s # enum_name: @enum_name@ 1659s # ENUMNAME: @ENUMNAME@ 1659s # ENUMSHORT: @ENUMSHORT@ 1659s # ENUMPREFIX: @ENUMPREFIX@ 1659s # enumsince: @enumsince@ 1659s # type: @type@ 1659s # Type: @Type@ 1659s # TYPE: @TYPE@ 1659s # /*** END value-tail ***/ 1659s # 1659s # /*** BEGIN comment ***/ 1659s # comment 1659s # comment: @comment@ 1659s # /*** END comment ***/ 1659s # 1659s # /*** BEGIN file-tail ***/ 1659s # file-tail 1659s # /*** END file-tail ***/ 1659s # 1659s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp820krg9u/tmprpzzfloj.template'] 1659s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1659s # Output: comment 1659s # 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. 1659s # 1659s # 1659s # file-header 1659s # file-tail 1659s # 1659s # comment 1659s # comment: Generated data ends here 1660s ok 14 __main__.TestMkenums.test_no_nick 1660s # tmpdir: /tmp/tmp_5b6xu0o 1660s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1660s # /tmp/tmp_5b6xu0o/tmpqapfk3o_.h: 1660s # typedef enum { 1660s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1660s # } GeglSamplerType; 1660s # 1660s # /tmp/tmp_5b6xu0o/tmpxp4uce5s.template: 1660s # /*** BEGIN file-header ***/ 1660s # file-header 1660s # /*** END file-header ***/ 1660s # 1660s # /*** BEGIN file-production ***/ 1660s # file-production 1660s # filename: @filename@ 1660s # basename: @basename@ 1660s # /*** END file-production ***/ 1660s # 1660s # /*** BEGIN enumeration-production ***/ 1660s # enumeration-production 1660s # EnumName: @EnumName@ 1660s # enum_name: @enum_name@ 1660s # ENUMNAME: @ENUMNAME@ 1660s # ENUMSHORT: @ENUMSHORT@ 1660s # ENUMPREFIX: @ENUMPREFIX@ 1660s # enumsince: @enumsince@ 1660s # type: @type@ 1660s # Type: @Type@ 1660s # TYPE: @TYPE@ 1660s # /*** END enumeration-production ***/ 1660s # 1660s # /*** BEGIN value-header ***/ 1660s # value-header 1660s # EnumName: @EnumName@ 1660s # enum_name: @enum_name@ 1660s # ENUMNAME: @ENUMNAME@ 1660s # ENUMSHORT: @ENUMSHORT@ 1660s # ENUMPREFIX: @ENUMPREFIX@ 1660s # enumsince: @enumsince@ 1660s # type: @type@ 1660s # Type: @Type@ 1660s # TYPE: @TYPE@ 1660s # /*** END value-header ***/ 1660s # 1660s # /*** BEGIN value-production ***/ 1660s # value-production 1660s # VALUENAME: @VALUENAME@ 1660s # valuenick: @valuenick@ 1660s # valuenum: @valuenum@ 1660s # type: @type@ 1660s # Type: @Type@ 1660s # TYPE: @TYPE@ 1660s # /*** END value-production ***/ 1660s # 1660s # /*** BEGIN value-tail ***/ 1660s # value-tail 1660s # EnumName: @EnumName@ 1660s # enum_name: @enum_name@ 1660s # ENUMNAME: @ENUMNAME@ 1660s # ENUMSHORT: @ENUMSHORT@ 1660s # ENUMPREFIX: @ENUMPREFIX@ 1660s # enumsince: @enumsince@ 1660s # type: @type@ 1660s # Type: @Type@ 1660s # TYPE: @TYPE@ 1660s # /*** END value-tail ***/ 1660s # 1660s # /*** BEGIN comment ***/ 1660s # comment 1660s # comment: @comment@ 1660s # /*** END comment ***/ 1660s # 1660s # /*** BEGIN file-tail ***/ 1660s # file-tail 1660s # /*** END file-tail ***/ 1660s # 1660s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_5b6xu0o/tmpxp4uce5s.template', '/tmp/tmp_5b6xu0o/tmpqapfk3o_.h'] 1660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1660s # Output: comment 1660s # 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. 1660s # 1660s # 1660s # file-header 1660s # file-production 1660s # filename: /tmp/tmp_5b6xu0o/tmpqapfk3o_.h 1660s # basename: tmpqapfk3o_.h 1660s # enumeration-production 1660s # EnumName: GeglSamplerType 1660s # enum_name: gegl_sampler_type 1660s # ENUMNAME: GEGL_SAMPLER_TYPE 1660s # ENUMSHORT: SAMPLER_TYPE 1660s # ENUMPREFIX: GEGL 1660s # enumsince: 1660s # type: enum 1660s # Type: Enum 1660s # TYPE: ENUM 1660s # value-header 1660s # EnumName: GeglSamplerType 1660s # enum_name: gegl_sampler_type 1660s # ENUMNAME: GEGL_SAMPLER_TYPE 1660s # ENUMSHORT: SAMPLER_TYPE 1660s # ENUMPREFIX: GEGL 1660s # enumsince: 1660s # type: enum 1660s # Type: Enum 1660s # TYPE: ENUM 1660s # value-production 1660s # VALUENAME: GEGL_SAMPLER_NEAREST 1660s # valuenick: nearest 1660s # valuenum: 0 1660s # type: enum 1660s # Type: Enum 1660s # TYPE: ENUM 1660s # value-tail 1660s # EnumName: GeglSamplerType 1660s # enum_name: gegl_sampler_type 1660s # ENUMNAME: GEGL_SAMPLER_TYPE 1660s # ENUMSHORT: SAMPLER_TYPE 1660s # ENUMPREFIX: GEGL 1660s # enumsince: 1660s # type: enum 1660s # Type: Enum 1660s # TYPE: ENUM 1660s # file-tail 1660s # 1660s # comment 1660s # comment: Generated data ends here 1660s # Executing: glib/mkenums.py.test 1660s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1660s # tmpdir: /tmp/tmpbbmcz2tr 1660s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1660s # /tmp/tmpbbmcz2tr/tmpbsi86b95.h: 1660s # /* Copyright © La Peña */ 1660s # typedef enum { 1660s # ENUM_VALUE 1660s # } SomeEnumIdentifier; 1660s # 1660s # /tmp/tmpbbmcz2tr/tmp6pdxeg97.template: 1660s # /*** BEGIN file-header ***/ 1660s # file-header 1660s # /*** END file-header ***/ 1660s # 1660s # /*** BEGIN file-production ***/ 1660s # file-production 1660s # filename: @filename@ 1660s # basename: @basename@ 1660s # /*** END file-production ***/ 1660s # 1660s # /*** BEGIN enumeration-production ***/ 1660s # enumeration-production 1660s # EnumName: @EnumName@ 1660s # enum_name: @enum_name@ 1660s # ENUMNAME: @ENUMNAME@ 1660s # ENUMSHORT: @ENUMSHORT@ 1660s # ENUMPREFIX: @ENUMPREFIX@ 1660s # enumsince: @enumsince@ 1660s # type: @type@ 1660s # Type: @Type@ 1660s # TYPE: @TYPE@ 1660s # /*** END enumeration-production ***/ 1660s # 1660s # /*** BEGIN value-header ***/ 1660s # value-header 1660s # EnumName: @EnumName@ 1660s # enum_name: @enum_name@ 1660s # ENUMNAME: @ENUMNAME@ 1660s # ENUMSHORT: @ENUMSHORT@ 1660s # ENUMPREFIX: @ENUMPREFIX@ 1660s # enumsince: @enumsince@ 1660s # type: @type@ 1660s # Type: @Type@ 1660s # TYPE: @TYPE@ 1660s # /*** END value-header ***/ 1660s # 1660s # /*** BEGIN value-production ***/ 1660s # value-production 1660s # VALUENAME: @VALUENAME@ 1660s # valuenick: @valuenick@ 1660s # valuenum: @valuenum@ 1660s # type: @type@ 1660s # Type: @Type@ 1660s # TYPE: @TYPE@ 1660s # /*** END value-production ***/ 1660s # 1660s # /*** BEGIN value-tail ***/ 1660s # value-tail 1660s # EnumName: @EnumName@ 1660s # enum_name: @enum_name@ 1660s # ENUMNAME: @ENUMNAME@ 1660s # ENUMSHORT: @ENUMSHORT@ 1660s # ENUMPREFIX: @ENUMPREFIX@ 1660s # enumsince: @enumsince@ 1660s # type: @type@ 1660s # Type: @Type@ 1660s # TYPE: @TYPE@ 1660s # /*** END value-tail ***/ 1660s # 1660s # /*** BEGIN comment ***/ 1660s # comment 1660s # comment: @comment@ 1660s # /*** END comment ***/ 1660s # 1660s # /*** BEGIN file-tail ***/ 1660s # file-tail 1660s # /*** END file-tail ***/ 1660s # 1660s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbbmcz2tr/tmp6pdxeg97.template', '/tmp/tmpbbmcz2tr/tmpbsi86b95.h'] 1660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1660s # Output: comment 1660s # 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. 1660s # 1660s # 1660s # file-header 1660s # file-production 1660s # filename: /tmp/tmpbbmcz2tr/tmpbsi86b95.h 1660s # basename: tmpbsi86b95.h 1660s # enumeration-production 1660s # EnumName: SomeEnumIdentifier 1660s # enum_name: some_enum_identifier 1660s # ENUMNAME: SOME_ENUM_IDENTIFIER 1660s # ENUMSHORT: ENUM_IDENTIFIER 1660s # ENUMPREFIX: SOME 1660s # enumsince: 1660s # type: enum 1660s # Type: Enum 1660s # TYPE: ENUM 1660s # value-header 1660s # EnumName: SomeEnumIdentifier 1660s # enum_name: some_enum_identifier 1660s # ENUMNAME: SOME_ENUM_IDENTIFIER 1660s # ENUMSHORT: ENUM_IDENTIFIER 1660s # ENUMPREFIX: SOME 1660s # enumsince: 1660s # type: enum 1660s # Type: Enum 1660s # TYPE: ENUM 1660s # value-production 1660s # VALUENAME: ENUM_VALUE 1660s # valuenick: value 1660s # valuenum: 0 1660s # type: enum 1660s # Type: Enum 1660s # TYPE: ENUM 1660s # value-tail 1660s # EnumName: SomeEnumIdentifier 1660s # enum_name: some_enum_identifier 1660s # ENUMNAME: SOME_ENUM_IDENTIFIER 1660s # ENUMSHORT: ENUM_IDENTIFIER 1660s # ENUMPREFIX: SOME 1660s # enumsince: 1660s # type: enum 1660s # Type: Enum 1660s # TYPE: ENUM 1660s # file-tail 1660s # 1660s # comment 1660s # comment: Generated data ends here 1660s ok 16 __main__.TestMkenums.test_reproducible 1660s # tmpdir: /tmp/tmp2gl078r3 1660s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1660s # /tmp/tmp2gl078r3/tmp_697v9ge.template: template 1660s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2gl078r3/tmp_697v9ge.template', '/tmp/tmp2gl078r3/tmpofd57ta11.h', '/tmp/tmp2gl078r3/tmp_ftvokai2.h'] 1660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1660s # 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. */ 1660s # 1660s # 1660s # /* Generated data ends here */ 1660s # /tmp/tmp2gl078r3/tmpenzzjz3z.template: template 1660s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2gl078r3/tmpenzzjz3z.template', '/tmp/tmp2gl078r3/tmp_ftvokai2.h', '/tmp/tmp2gl078r3/tmpofd57ta11.h'] 1660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1660s # 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. */ 1660s # 1660s # 1660s # /* Generated data ends here */ 1660s ok 17 __main__.TestMkenums.test_since 1660s # tmpdir: /tmp/tmp6tk81yvt 1660s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1660s # /tmp/tmp6tk81yvt/tmp2q7wd1fm.h: 1660s # typedef enum { /*< since=1.0 >*/ 1660s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1660s # } QmiWmsMessageProtocol; 1660s # 1660s # /tmp/tmp6tk81yvt/tmp9a01z86c.template: 1660s # /*** BEGIN file-header ***/ 1660s # file-header 1660s # /*** END file-header ***/ 1660s # 1660s # /*** BEGIN file-production ***/ 1660s # file-production 1660s # filename: @filename@ 1660s # basename: @basename@ 1660s # /*** END file-production ***/ 1660s # 1660s # /*** BEGIN enumeration-production ***/ 1660s # enumeration-production 1660s # EnumName: @EnumName@ 1660s # enum_name: @enum_name@ 1660s # ENUMNAME: @ENUMNAME@ 1660s # ENUMSHORT: @ENUMSHORT@ 1660s # ENUMPREFIX: @ENUMPREFIX@ 1660s # enumsince: @enumsince@ 1660s # type: @type@ 1660s # Type: @Type@ 1660s # TYPE: @TYPE@ 1660s # /*** END enumeration-production ***/ 1660s # 1660s # /*** BEGIN value-header ***/ 1660s # value-header 1660s # EnumName: @EnumName@ 1660s # enum_name: @enum_name@ 1660s # ENUMNAME: @ENUMNAME@ 1660s # ENUMSHORT: @ENUMSHORT@ 1660s # ENUMPREFIX: @ENUMPREFIX@ 1660s # enumsince: @enumsince@ 1660s # type: @type@ 1660s # Type: @Type@ 1660s # TYPE: @TYPE@ 1660s # /*** END value-header ***/ 1660s # 1660s # /*** BEGIN value-production ***/ 1660s # value-production 1660s # VALUENAME: @VALUENAME@ 1660s # valuenick: @valuenick@ 1660s # valuenum: @valuenum@ 1660s # type: @type@ 1660s # Type: @Type@ 1660s # TYPE: @TYPE@ 1660s # /*** END value-production ***/ 1660s # 1660s # /*** BEGIN value-tail ***/ 1660s # value-tail 1660s # EnumName: @EnumName@ 1660s # enum_name: @enum_name@ 1660s # ENUMNAME: @ENUMNAME@ 1660s # ENUMSHORT: @ENUMSHORT@ 1660s # ENUMPREFIX: @ENUMPREFIX@ 1660s # enumsince: @enumsince@ 1660s # type: @type@ 1660s # Type: @Type@ 1660s # TYPE: @TYPE@ 1660s # /*** END value-tail ***/ 1660s # 1660s # /*** BEGIN comment ***/ 1660s # comment 1660s # comment: @comment@ 1660s # /*** END comment ***/ 1660s # 1660s # /*** BEGIN file-tail ***/ 1660s # file-tail 1660s # /*** END file-tail ***/ 1660s # 1660s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6tk81yvt/tmp9a01z86c.template', '/tmp/tmp6tk81yvt/tmp2q7wd1fm.h'] 1660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1660s # Output: comment 1660s # 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. 1660s # 1660s # 1660s # file-header 1660s # file-production 1660s # filename: /tmp/tmp6tk81yvt/tmp2q7wd1fm.h 1660s # basename: tmp2q7wd1fm.h 1660s # enumeration-production 1660s # EnumName: QmiWmsMessageProtocol 1660s # enum_name: qmi_wms_message_protocol 1660s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1660s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1660s # ENUMPREFIX: QMI 1660s # enumsince: 1.0 1660s # type: enum 1660s # Type: Enum 1660s # TYPE: ENUM 1660s # value-header 1660s # EnumName: QmiWmsMessageProtocol 1660s # enum_name: qmi_wms_message_protocol 1660s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1660s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1660s # ENUMPREFIX: QMI 1660s # enumsince: 1.0 1660s # type: enum 1660s # Type: Enum 1660s # TYPE: ENUM 1660s # value-production 1660s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1660s # valuenick: cdma 1660s # valuenum: 0 1660s # type: enum 1660s # Type: Enum 1660s # TYPE: ENUM 1660s # value-tail 1660s # EnumName: QmiWmsMessageProtocol 1660s # enum_name: qmi_wms_message_protocol 1660s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1660s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1660s # ENUMPREFIX: QMI 1660s # enumsince: 1.0 1660s # type: enum 1660s # Type: Enum 1660s # TYPE: ENUM 1660s # file-tail 1660s # 1660s # comment 1660s # comment: Generated data ends here 1661s ok 18 __main__.TestMkenums.test_with_double_quotes 1661s # tmpdir: /tmp/tmpbxnm3xnx 1661s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1661s # /tmp/tmpbxnm3xnx/tmpolw3k985.h: 1661s # typedef enum { 1661s # FOO_VALUE /*< nick="eek, a comma" >*/ 1661s # } Foo; 1661s # 1661s # /tmp/tmpbxnm3xnx/tmpm_80x4rf.template: 1661s # /*** BEGIN file-header ***/ 1661s # file-header 1661s # /*** END file-header ***/ 1661s # 1661s # /*** BEGIN file-production ***/ 1661s # file-production 1661s # filename: @filename@ 1661s # basename: @basename@ 1661s # /*** END file-production ***/ 1661s # 1661s # /*** BEGIN enumeration-production ***/ 1661s # enumeration-production 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END enumeration-production ***/ 1661s # 1661s # /*** BEGIN value-header ***/ 1661s # value-header 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-header ***/ 1661s # 1661s # /*** BEGIN value-production ***/ 1661s # value-production 1661s # VALUENAME: @VALUENAME@ 1661s # valuenick: @valuenick@ 1661s # valuenum: @valuenum@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-production ***/ 1661s # 1661s # /*** BEGIN value-tail ***/ 1661s # value-tail 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-tail ***/ 1661s # 1661s # /*** BEGIN comment ***/ 1661s # comment 1661s # comment: @comment@ 1661s # /*** END comment ***/ 1661s # 1661s # /*** BEGIN file-tail ***/ 1661s # file-tail 1661s # /*** END file-tail ***/ 1661s # 1661s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbxnm3xnx/tmpm_80x4rf.template', '/tmp/tmpbxnm3xnx/tmpolw3k985.h'] 1661s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1661s # Output: comment 1661s # 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. 1661s # 1661s # 1661s # file-header 1661s # file-production 1661s # filename: /tmp/tmpbxnm3xnx/tmpolw3k985.h 1661s # basename: tmpolw3k985.h 1661s # enumeration-production 1661s # EnumName: Foo 1661s # enum_name: foo_ 1661s # ENUMNAME: FOO_ 1661s # ENUMSHORT: 1661s # ENUMPREFIX: FOO 1661s # enumsince: 1661s # type: enum 1661s # Type: Enum 1661s # TYPE: ENUM 1661s # value-header 1661s # EnumName: Foo 1661s # enum_name: foo_ 1661s # ENUMNAME: FOO_ 1661s # ENUMSHORT: 1661s # ENUMPREFIX: FOO 1661s # enumsince: 1661s # type: enum 1661s # Type: Enum 1661s # TYPE: ENUM 1661s # value-production 1661s # VALUENAME: FOO_VALUE 1661s # valuenick: eek, a comma 1661s # valuenum: 0 1661s # type: enum 1661s # Type: Enum 1661s # TYPE: ENUM 1661s # value-tail 1661s # EnumName: Foo 1661s # enum_name: foo_ 1661s # ENUMNAME: FOO_ 1661s # ENUMSHORT: 1661s # ENUMPREFIX: FOO 1661s # enumsince: 1661s # type: enum 1661s # Type: Enum 1661s # TYPE: ENUM 1661s # file-tail 1661s # 1661s # comment 1661s # comment: Generated data ends here 1661s ok 19 __main__.TestRspMkenums.test_available_in 1661s # tmpdir: /tmp/tmpv28x9zfj 1661s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1661s # /tmp/tmpv28x9zfj/tmp2lc_3k6v.h: 1661s # typedef enum { 1661s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1661s # } GDBusServerFlags; 1661s # 1661s # /tmp/tmpv28x9zfj/tmp1pc5hp2v.template: 1661s # /*** BEGIN file-header ***/ 1661s # file-header 1661s # /*** END file-header ***/ 1661s # 1661s # /*** BEGIN file-production ***/ 1661s # file-production 1661s # filename: @filename@ 1661s # basename: @basename@ 1661s # /*** END file-production ***/ 1661s # 1661s # /*** BEGIN enumeration-production ***/ 1661s # enumeration-production 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END enumeration-production ***/ 1661s # 1661s # /*** BEGIN value-header ***/ 1661s # value-header 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-header ***/ 1661s # 1661s # /*** BEGIN value-production ***/ 1661s # value-production 1661s # VALUENAME: @VALUENAME@ 1661s # valuenick: @valuenick@ 1661s # valuenum: @valuenum@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-production ***/ 1661s # 1661s # /*** BEGIN value-tail ***/ 1661s # value-tail 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-tail ***/ 1661s # 1661s # /*** BEGIN comment ***/ 1661s # comment 1661s # comment: @comment@ 1661s # /*** END comment ***/ 1661s # 1661s # /*** BEGIN file-tail ***/ 1661s # file-tail 1661s # /*** END file-tail ***/ 1661s # 1661s # Response file contains: --template /tmp/tmpv28x9zfj/tmp1pc5hp2v.template /tmp/tmpv28x9zfj/tmp2lc_3k6v.h 1661s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpv28x9zfj/tmpiagl2ov4'] 1661s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1661s # Output: comment 1661s # 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. 1661s # 1661s # 1661s # file-header 1661s # file-production 1661s # filename: /tmp/tmpv28x9zfj/tmp2lc_3k6v.h 1661s # basename: tmp2lc_3k6v.h 1661s # enumeration-production 1661s # EnumName: GDBusServerFlags 1661s # enum_name: g_dbus_server_flags 1661s # ENUMNAME: G_DBUS_SERVER_FLAGS 1661s # ENUMSHORT: DBUS_SERVER_FLAGS 1661s # ENUMPREFIX: G 1661s # enumsince: 1661s # type: flags 1661s # Type: Flags 1661s # TYPE: FLAGS 1661s # value-header 1661s # EnumName: GDBusServerFlags 1661s # enum_name: g_dbus_server_flags 1661s # ENUMNAME: G_DBUS_SERVER_FLAGS 1661s # ENUMSHORT: DBUS_SERVER_FLAGS 1661s # ENUMPREFIX: G 1661s # enumsince: 1661s # type: flags 1661s # Type: Flags 1661s # TYPE: FLAGS 1661s # value-production 1661s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1661s # valuenick: user 1661s # valuenum: 4 1661s # type: flags 1661s # Type: Flags 1661s # TYPE: FLAGS 1661s # value-tail 1661s # EnumName: GDBusServerFlags 1661s # enum_name: g_dbus_server_flags 1661s # ENUMNAME: G_DBUS_SERVER_FLAGS 1661s # ENUMSHORT: DBUS_SERVER_FLAGS 1661s # ENUMPREFIX: G 1661s # enumsince: 1661s # type: flags 1661s # Type: Flags 1661s # TYPE: FLAGS 1661s # file-tail 1661s # 1661s # comment 1661s # comment: Generated data ends here 1661s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1661s # tmpdir: /tmp/tmp54hj5nhy 1661s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1661s # /tmp/tmp54hj5nhy/tmpijh3vtg2.h: 1661s # typedef enum { 1661s # ENUM_VALUE_WITH_COMMA = ',', 1661s # } TestCommaEnum; 1661s # 1661s # /tmp/tmp54hj5nhy/tmppu4pu_vi.template: 1661s # /*** BEGIN file-header ***/ 1661s # file-header 1661s # /*** END file-header ***/ 1661s # 1661s # /*** BEGIN file-production ***/ 1661s # file-production 1661s # filename: @filename@ 1661s # basename: @basename@ 1661s # /*** END file-production ***/ 1661s # 1661s # /*** BEGIN enumeration-production ***/ 1661s # enumeration-production 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END enumeration-production ***/ 1661s # 1661s # /*** BEGIN value-header ***/ 1661s # value-header 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-header ***/ 1661s # 1661s # /*** BEGIN value-production ***/ 1661s # value-production 1661s # VALUENAME: @VALUENAME@ 1661s # valuenick: @valuenick@ 1661s # valuenum: @valuenum@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-production ***/ 1661s # 1661s # /*** BEGIN value-tail ***/ 1661s # value-tail 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-tail ***/ 1661s # 1661s # /*** BEGIN comment ***/ 1661s # comment 1661s # comment: @comment@ 1661s # /*** END comment ***/ 1661s # 1661s # /*** BEGIN file-tail ***/ 1661s # file-tail 1661s # /*** END file-tail ***/ 1661s # 1661s # Response file contains: --template /tmp/tmp54hj5nhy/tmppu4pu_vi.template /tmp/tmp54hj5nhy/tmpijh3vtg2.h 1661s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp54hj5nhy/tmpn9fm1qdn'] 1661s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1661s # Output: comment 1661s # 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. 1661s # 1661s # 1661s # file-header 1661s # file-production 1661s # filename: /tmp/tmp54hj5nhy/tmpijh3vtg2.h 1661s # basename: tmpijh3vtg2.h 1661s # enumeration-production 1661s # EnumName: TestCommaEnum 1661s # enum_name: test_comma_enum 1661s # ENUMNAME: TEST_COMMA_ENUM 1661s # ENUMSHORT: COMMA_ENUM 1661s # ENUMPREFIX: TEST 1661s # enumsince: 1661s # type: enum 1661s # Type: Enum 1661s # TYPE: ENUM 1661s # value-header 1661s # EnumName: TestCommaEnum 1661s # enum_name: test_comma_enum 1661s # ENUMNAME: TEST_COMMA_ENUM 1661s # ENUMSHORT: COMMA_ENUM 1661s # ENUMPREFIX: TEST 1661s # enumsince: 1661s # type: enum 1661s # Type: Enum 1661s # TYPE: ENUM 1661s # value-production 1661s # VALUENAME: ENUM_VALUE_WITH_COMMA 1661s # valuenick: comma 1661s # valuenum: 44 1661s # type: enum 1661s # Type: Enum 1661s # TYPE: ENUM 1661s # value-tail 1661s # EnumName: TestCommaEnum 1661s # enum_name: test_comma_enum 1661s # ENUMNAME: TEST_COMMA_ENUM 1661s # ENUMSHORT: COMMA_ENUM 1661s # ENUMPREFIX: TEST 1661s # enumsince: 1661s # type: enum 1661s # Type: Enum 1661s # TYPE: ENUM 1661s # file-tail 1661s # 1661s # comment 1661s # comment: Generated data ends here 1661s ok 21 __main__.TestRspMkenums.test_deprecated_in 1661s # tmpdir: /tmp/tmpcn3saf5x 1661s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1661s # /tmp/tmpcn3saf5x/tmpb07kwo1p.h: 1661s # typedef enum { 1661s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1661s # } GDBusServerFlags; 1661s # 1661s # /tmp/tmpcn3saf5x/tmpusah1n41.template: 1661s # /*** BEGIN file-header ***/ 1661s # file-header 1661s # /*** END file-header ***/ 1661s # 1661s # /*** BEGIN file-production ***/ 1661s # file-production 1661s # filename: @filename@ 1661s # basename: @basename@ 1661s # /*** END file-production ***/ 1661s # 1661s # /*** BEGIN enumeration-production ***/ 1661s # enumeration-production 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END enumeration-production ***/ 1661s # 1661s # /*** BEGIN value-header ***/ 1661s # value-header 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-header ***/ 1661s # 1661s # /*** BEGIN value-production ***/ 1661s # value-production 1661s # VALUENAME: @VALUENAME@ 1661s # valuenick: @valuenick@ 1661s # valuenum: @valuenum@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-production ***/ 1661s # 1661s # /*** BEGIN value-tail ***/ 1661s # value-tail 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-tail ***/ 1661s # 1661s # /*** BEGIN comment ***/ 1661s # comment 1661s # comment: @comment@ 1661s # /*** END comment ***/ 1661s # 1661s # /*** BEGIN file-tail ***/ 1661s # file-tail 1661s # /*** END file-tail ***/ 1661s # 1661s # Response file contains: --template /tmp/tmpcn3saf5x/tmpusah1n41.template /tmp/tmpcn3saf5x/tmpb07kwo1p.h 1661s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcn3saf5x/tmp158h8mc8'] 1661s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1661s # Output: comment 1661s # 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. 1661s # 1661s # 1661s # file-header 1661s # file-production 1661s # filename: /tmp/tmpcn3saf5x/tmpb07kwo1p.h 1661s # basename: tmpb07kwo1p.h 1661s # enumeration-production 1661s # EnumName: GDBusServerFlags 1661s # enum_name: g_dbus_server_flags 1661s # ENUMNAME: G_DBUS_SERVER_FLAGS 1661s # ENUMSHORT: DBUS_SERVER_FLAGS 1661s # ENUMPREFIX: G 1661s # enumsince: 1661s # type: flags 1661s # Type: Flags 1661s # TYPE: FLAGS 1661s # value-header 1661s # EnumName: GDBusServerFlags 1661s # enum_name: g_dbus_server_flags 1661s # ENUMNAME: G_DBUS_SERVER_FLAGS 1661s # ENUMSHORT: DBUS_SERVER_FLAGS 1661s # ENUMPREFIX: G 1661s # enumsince: 1661s # type: flags 1661s # Type: Flags 1661s # TYPE: FLAGS 1661s # value-production 1661s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1661s # valuenick: user 1661s # valuenum: 4 1661s # type: flags 1661s # Type: Flags 1661s # TYPE: FLAGS 1661s # value-tail 1661s # EnumName: GDBusServerFlags 1661s # enum_name: g_dbus_server_flags 1661s # ENUMNAME: G_DBUS_SERVER_FLAGS 1661s # ENUMSHORT: DBUS_SERVER_FLAGS 1661s # ENUMPREFIX: G 1661s # enumsince: 1661s # type: flags 1661s # Type: Flags 1661s # TYPE: FLAGS 1661s # file-tail 1661s # 1661s # comment 1661s # comment: Generated data ends here 1661s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1661s # tmpdir: /tmp/tmpa3jstt0u 1661s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1661s # /tmp/tmpa3jstt0u/tmpeooh2qw8.h: 1661s # typedef enum { 1661s # 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) 1661s # } GDBusServerFlags; 1661s # 1661s # /tmp/tmpa3jstt0u/tmpvrvvns46.template: 1661s # /*** BEGIN file-header ***/ 1661s # file-header 1661s # /*** END file-header ***/ 1661s # 1661s # /*** BEGIN file-production ***/ 1661s # file-production 1661s # filename: @filename@ 1661s # basename: @basename@ 1661s # /*** END file-production ***/ 1661s # 1661s # /*** BEGIN enumeration-production ***/ 1661s # enumeration-production 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END enumeration-production ***/ 1661s # 1661s # /*** BEGIN value-header ***/ 1661s # value-header 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-header ***/ 1661s # 1661s # /*** BEGIN value-production ***/ 1661s # value-production 1661s # VALUENAME: @VALUENAME@ 1661s # valuenick: @valuenick@ 1661s # valuenum: @valuenum@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-production ***/ 1661s # 1661s # /*** BEGIN value-tail ***/ 1661s # value-tail 1661s # EnumName: @EnumName@ 1661s # enum_name: @enum_name@ 1661s # ENUMNAME: @ENUMNAME@ 1661s # ENUMSHORT: @ENUMSHORT@ 1661s # ENUMPREFIX: @ENUMPREFIX@ 1661s # enumsince: @enumsince@ 1661s # type: @type@ 1661s # Type: @Type@ 1661s # TYPE: @TYPE@ 1661s # /*** END value-tail ***/ 1661s # 1661s # /*** BEGIN comment ***/ 1661s # comment 1661s # comment: @comment@ 1661s # /*** END comment ***/ 1661s # 1661s # /*** BEGIN file-tail ***/ 1661s # file-tail 1661s # /*** END file-tail ***/ 1661s # 1661s # Response file contains: --template /tmp/tmpa3jstt0u/tmpvrvvns46.template /tmp/tmpa3jstt0u/tmpeooh2qw8.h 1661s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpa3jstt0u/tmp1naznhqz'] 1661s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1661s # Output: comment 1661s # 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. 1661s # 1661s # 1661s # file-header 1661s # file-production 1661s # filename: /tmp/tmpa3jstt0u/tmpeooh2qw8.h 1661s # basename: tmpeooh2qw8.h 1661s # enumeration-production 1661s # EnumName: GDBusServerFlags 1661s # enum_name: g_dbus_server_flags 1661s # ENUMNAME: G_DBUS_SERVER_FLAGS 1661s # ENUMSHORT: DBUS_SERVER_FLAGS 1661s # ENUMPREFIX: G 1661s # enumsince: 1661s # type: flags 1661s # Type: Flags 1661s # TYPE: FLAGS 1661s # value-header 1661s # EnumName: GDBusServerFlags 1661s # enum_name: g_dbus_server_flags 1661s # ENUMNAME: G_DBUS_SERVER_FLAGS 1661s # ENUMSHORT: DBUS_SERVER_FLAGS 1661s # ENUMPREFIX: G 1661s # enumsince: 1661s # type: flags 1661s # Type: Flags 1661s # TYPE: FLAGS 1661s # value-production 1661s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1661s # valuenick: user 1661s # valuenum: 4 1661s # type: flags 1661s # Type: Flags 1661s # TYPE: FLAGS 1661s # value-tail 1661s # EnumName: GDBusServerFlags 1661s # enum_name: g_dbus_server_flags 1661s # ENUMNAME: G_DBUS_SERVER_FLAGS 1661s # ENUMSHORT: DBUS_SERVER_FLAGS 1661s # ENUMPREFIX: G 1661s # enumsince: 1661s # type: flags 1661s # Type: Flags 1661s # TYPE: FLAGS 1661s # file-tail 1661s # 1661s # comment 1661s # comment: Generated data ends here 1662s ok 23 __main__.TestRspMkenums.test_empty_header 1662s # tmpdir: /tmp/tmp3x_zf569 1662s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1662s # /tmp/tmp3x_zf569/tmptdkq67jr.h: 1662s # /tmp/tmp3x_zf569/tmp4nf9setl.template: 1662s # /*** BEGIN file-header ***/ 1662s # file-header 1662s # /*** END file-header ***/ 1662s # 1662s # /*** BEGIN file-production ***/ 1662s # file-production 1662s # filename: @filename@ 1662s # basename: @basename@ 1662s # /*** END file-production ***/ 1662s # 1662s # /*** BEGIN enumeration-production ***/ 1662s # enumeration-production 1662s # EnumName: @EnumName@ 1662s # enum_name: @enum_name@ 1662s # ENUMNAME: @ENUMNAME@ 1662s # ENUMSHORT: @ENUMSHORT@ 1662s # ENUMPREFIX: @ENUMPREFIX@ 1662s # enumsince: @enumsince@ 1662s # type: @type@ 1662s # Type: @Type@ 1662s # TYPE: @TYPE@ 1662s # /*** END enumeration-production ***/ 1662s # 1662s # /*** BEGIN value-header ***/ 1662s # value-header 1662s # EnumName: @EnumName@ 1662s # enum_name: @enum_name@ 1662s # ENUMNAME: @ENUMNAME@ 1662s # ENUMSHORT: @ENUMSHORT@ 1662s # ENUMPREFIX: @ENUMPREFIX@ 1662s # enumsince: @enumsince@ 1662s # type: @type@ 1662s # Type: @Type@ 1662s # TYPE: @TYPE@ 1662s # /*** END value-header ***/ 1662s # 1662s # /*** BEGIN value-production ***/ 1662s # value-production 1662s # VALUENAME: @VALUENAME@ 1662s # valuenick: @valuenick@ 1662s # valuenum: @valuenum@ 1662s # type: @type@ 1662s # Type: @Type@ 1662s # TYPE: @TYPE@ 1662s # /*** END value-production ***/ 1662s # 1662s # /*** BEGIN value-tail ***/ 1662s # value-tail 1662s # EnumName: @EnumName@ 1662s # enum_name: @enum_name@ 1662s # ENUMNAME: @ENUMNAME@ 1662s # ENUMSHORT: @ENUMSHORT@ 1662s # ENUMPREFIX: @ENUMPREFIX@ 1662s # enumsince: @enumsince@ 1662s # type: @type@ 1662s # Type: @Type@ 1662s # TYPE: @TYPE@ 1662s # /*** END value-tail ***/ 1662s # 1662s # /*** BEGIN comment ***/ 1662s # comment 1662s # comment: @comment@ 1662s # /*** END comment ***/ 1662s # 1662s # /*** BEGIN file-tail ***/ 1662s # file-tail 1662s # /*** END file-tail ***/ 1662s # 1662s # Response file contains: --template /tmp/tmp3x_zf569/tmp4nf9setl.template /tmp/tmp3x_zf569/tmptdkq67jr.h 1662s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3x_zf569/tmpy65_p54l'] 1662s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1662s # Output: comment 1662s # 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. 1662s # 1662s # 1662s # file-header 1662s # file-tail 1662s # 1662s # comment 1662s # comment: Generated data ends here 1662s ok 24 __main__.TestRspMkenums.test_empty_template 1662s # tmpdir: /tmp/tmpeqiacabj 1662s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1662s # /tmp/tmpeqiacabj/tmpij7_m5oa.template: 1662s # Response file contains: --template /tmp/tmpeqiacabj/tmpij7_m5oa.template 1662s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpeqiacabj/tmptkwjl_71'] 1662s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1662s # 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. */ 1662s # 1662s # 1662s # /* Generated data ends here */ 1662s ok 25 __main__.TestRspMkenums.test_enum_name 1662s # tmpdir: /tmp/tmp43iowbe_ 1662s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1662s # /tmp/tmp43iowbe_/tmpwc0sd97h.h: 1662s # typedef enum _SomeEnumIdentifier { 1662s # ENUM_VALUE 1662s # } SomeEnumIdentifier; 1662s # 1662s # /tmp/tmp43iowbe_/tmptma_ymin.template: 1662s # /*** BEGIN file-header ***/ 1662s # file-header 1662s # /*** END file-header ***/ 1662s # 1662s # /*** BEGIN file-production ***/ 1662s # file-production 1662s # filename: @filename@ 1662s # basename: @basename@ 1662s # /*** END file-production ***/ 1662s # 1662s # /*** BEGIN enumeration-production ***/ 1662s # enumeration-production 1662s # EnumName: @EnumName@ 1662s # enum_name: @enum_name@ 1662s # ENUMNAME: @ENUMNAME@ 1662s # ENUMSHORT: @ENUMSHORT@ 1662s # ENUMPREFIX: @ENUMPREFIX@ 1662s # enumsince: @enumsince@ 1662s # type: @type@ 1662s # Type: @Type@ 1662s # TYPE: @TYPE@ 1662s # /*** END enumeration-production ***/ 1662s # 1662s # /*** BEGIN value-header ***/ 1662s # value-header 1662s # EnumName: @EnumName@ 1662s # enum_name: @enum_name@ 1662s # ENUMNAME: @ENUMNAME@ 1662s # ENUMSHORT: @ENUMSHORT@ 1662s # ENUMPREFIX: @ENUMPREFIX@ 1662s # enumsince: @enumsince@ 1662s # type: @type@ 1662s # Type: @Type@ 1662s # TYPE: @TYPE@ 1662s # /*** END value-header ***/ 1662s # 1662s # /*** BEGIN value-production ***/ 1662s # value-production 1662s # VALUENAME: @VALUENAME@ 1662s # valuenick: @valuenick@ 1662s # valuenum: @valuenum@ 1662s # type: @type@ 1662s # Type: @Type@ 1662s # TYPE: @TYPE@ 1662s # /*** END value-production ***/ 1662s # 1662s # /*** BEGIN value-tail ***/ 1662s # value-tail 1662s # EnumName: @EnumName@ 1662s # enum_name: @enum_name@ 1662s # ENUMNAME: @ENUMNAME@ 1662s # ENUMSHORT: @ENUMSHORT@ 1662s # ENUMPREFIX: @ENUMPREFIX@ 1662s # enumsince: @enumsince@ 1662s # type: @type@ 1662s # Type: @Type@ 1662s # TYPE: @TYPE@ 1662s # /*** END value-tail ***/ 1662s # 1662s # /*** BEGIN comment ***/ 1662s # comment 1662s # comment: @comment@ 1662s # /*** END comment ***/ 1662s # 1662s # /*** BEGIN file-tail ***/ 1662s # file-tail 1662s # /*** END file-tail ***/ 1662s # 1662s # Response file contains: --template /tmp/tmp43iowbe_/tmptma_ymin.template /tmp/tmp43iowbe_/tmpwc0sd97h.h 1662s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp43iowbe_/tmpe4trowd1'] 1662s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1662s # Output: comment 1662s # 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. 1662s # 1662s # 1662s # file-header 1662s # file-production 1662s # filename: /tmp/tmp43iowbe_/tmpwc0sd97h.h 1662s # basename: tmpwc0sd97h.h 1662s # enumeration-production 1662s # EnumName: SomeEnumIdentifier 1662s # enum_name: some_enum_identifier 1662s # ENUMNAME: SOME_ENUM_IDENTIFIER 1662s # ENUMSHORT: ENUM_IDENTIFIER 1662s # ENUMPREFIX: SOME 1662s # enumsince: 1662s # type: enum 1662s # Type: Enum 1662s # TYPE: ENUM 1662s # value-header 1662s # EnumName: SomeEnumIdentifier 1662s # enum_name: some_enum_identifier 1662s # ENUMNAME: SOME_ENUM_IDENTIFIER 1662s # ENUMSHORT: ENUM_IDENTIFIER 1662s # ENUMPREFIX: SOME 1662s # enumsince: 1662s # type: enum 1662s # Type: Enum 1662s # TYPE: ENUM 1662s # value-production 1662s # VALUENAME: ENUM_VALUE 1662s # valuenick: value 1662s # valuenum: 0 1662s # type: enum 1662s # Type: Enum 1662s # TYPE: ENUM 1662s # value-tail 1662s # EnumName: SomeEnumIdentifier 1662s # enum_name: some_enum_identifier 1662s # ENUMNAME: SOME_ENUM_IDENTIFIER 1662s # ENUMSHORT: ENUM_IDENTIFIER 1662s # ENUMPREFIX: SOME 1662s # enumsince: 1662s # type: enum 1662s # Type: Enum 1662s # TYPE: ENUM 1662s # file-tail 1662s # 1662s # comment 1662s # comment: Generated data ends here 1663s ok 26 __main__.TestRspMkenums.test_enum_private_public 1663s # tmpdir: /tmp/tmp1de4uxsl 1663s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1663s # /tmp/tmp1de4uxsl/tmpb6j_vqi2.h: 1663s # typedef enum { 1663s # ENUM_VALUE_PUBLIC1, 1663s # /*< private >*/ 1663s # ENUM_VALUE_PRIVATE, 1663s # } SomeEnumA 1663s # 1663s # /tmp/tmp1de4uxsl/tmpo7k3yow6.template: 1663s # /*** BEGIN file-header ***/ 1663s # file-header 1663s # /*** END file-header ***/ 1663s # 1663s # /*** BEGIN file-production ***/ 1663s # file-production 1663s # filename: @filename@ 1663s # basename: @basename@ 1663s # /*** END file-production ***/ 1663s # 1663s # /*** BEGIN enumeration-production ***/ 1663s # enumeration-production 1663s # EnumName: @EnumName@ 1663s # enum_name: @enum_name@ 1663s # ENUMNAME: @ENUMNAME@ 1663s # ENUMSHORT: @ENUMSHORT@ 1663s # ENUMPREFIX: @ENUMPREFIX@ 1663s # enumsince: @enumsince@ 1663s # type: @type@ 1663s # Type: @Type@ 1663s # TYPE: @TYPE@ 1663s # /*** END enumeration-production ***/ 1663s # 1663s # /*** BEGIN value-header ***/ 1663s # value-header 1663s # EnumName: @EnumName@ 1663s # enum_name: @enum_name@ 1663s # ENUMNAME: @ENUMNAME@ 1663s # ENUMSHORT: @ENUMSHORT@ 1663s # ENUMPREFIX: @ENUMPREFIX@ 1663s # enumsince: @enumsince@ 1663s # type: @type@ 1663s # Type: @Type@ 1663s # TYPE: @TYPE@ 1663s # /*** END value-header ***/ 1663s # 1663s # /*** BEGIN value-production ***/ 1663s # value-production 1663s # VALUENAME: @VALUENAME@ 1663s # valuenick: @valuenick@ 1663s # valuenum: @valuenum@ 1663s # type: @type@ 1663s # Type: @Type@ 1663s # TYPE: @TYPE@ 1663s # /*** END value-production ***/ 1663s # 1663s # /*** BEGIN value-tail ***/ 1663s # value-tail 1663s # EnumName: @EnumName@ 1663s # enum_name: @enum_name@ 1663s # ENUMNAME: @ENUMNAME@ 1663s # ENUMSHORT: @ENUMSHORT@ 1663s # ENUMPREFIX: @ENUMPREFIX@ 1663s # enumsince: @enumsince@ 1663s # type: @type@ 1663s # Type: @Type@ 1663s # TYPE: @TYPE@ 1663s # /*** END value-tail ***/ 1663s # 1663s # /*** BEGIN comment ***/ 1663s # comment 1663s # comment: @comment@ 1663s # /*** END comment ***/ 1663s # 1663s # /*** BEGIN file-tail ***/ 1663s # file-tail 1663s # /*** END file-tail ***/ 1663s # 1663s # Response file contains: --template /tmp/tmp1de4uxsl/tmpo7k3yow6.template /tmp/tmp1de4uxsl/tmpb6j_vqi2.h 1663s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1de4uxsl/tmpvwpw2n9i'] 1663s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1663s # Output: comment 1663s # 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. 1663s # 1663s # 1663s # file-header 1663s # file-production 1663s # filename: /tmp/tmp1de4uxsl/tmpb6j_vqi2.h 1663s # basename: tmpb6j_vqi2.h 1663s # enumeration-production 1663s # EnumName: SomeEnumA 1663s # enum_name: some_enum_a 1663s # ENUMNAME: SOME_ENUM_A 1663s # ENUMSHORT: ENUM_A 1663s # ENUMPREFIX: SOME 1663s # enumsince: 1663s # type: enum 1663s # Type: Enum 1663s # TYPE: ENUM 1663s # value-header 1663s # EnumName: SomeEnumA 1663s # enum_name: some_enum_a 1663s # ENUMNAME: SOME_ENUM_A 1663s # ENUMSHORT: ENUM_A 1663s # ENUMPREFIX: SOME 1663s # enumsince: 1663s # type: enum 1663s # Type: Enum 1663s # TYPE: ENUM 1663s # value-production 1663s # VALUENAME: ENUM_VALUE_PUBLIC1 1663s # valuenick: public1 1663s # valuenum: 0 1663s # type: enum 1663s # Type: Enum 1663s # TYPE: ENUM 1663s # value-tail 1663s # EnumName: SomeEnumA 1663s # enum_name: some_enum_a 1663s # ENUMNAME: SOME_ENUM_A 1663s # ENUMSHORT: ENUM_A 1663s # ENUMPREFIX: SOME 1663s # enumsince: 1663s # type: enum 1663s # Type: Enum 1663s # TYPE: ENUM 1663s # file-tail 1663s # 1663s # comment 1663s # comment: Generated data ends here 1663s # /tmp/tmp1de4uxsl/tmpusxp8eb7.h: 1663s # typedef enum { 1663s # /*< private >*/ 1663s # ENUM_VALUE_PRIVATE, 1663s # /*< public >*/ 1663s # ENUM_VALUE_PUBLIC2, 1663s # } SomeEnumB; 1663s # 1663s # /tmp/tmp1de4uxsl/tmp6wkmckc2.template: 1663s # /*** BEGIN file-header ***/ 1663s # file-header 1663s # /*** END file-header ***/ 1663s # 1663s # /*** BEGIN file-production ***/ 1663s # file-production 1663s # filename: @filename@ 1663s # basename: @basename@ 1663s # /*** END file-production ***/ 1663s # 1663s # /*** BEGIN enumeration-production ***/ 1663s # enumeration-production 1663s # EnumName: @EnumName@ 1663s # enum_name: @enum_name@ 1663s # ENUMNAME: @ENUMNAME@ 1663s # ENUMSHORT: @ENUMSHORT@ 1663s # ENUMPREFIX: @ENUMPREFIX@ 1663s # enumsince: @enumsince@ 1663s # type: @type@ 1663s # Type: @Type@ 1663s # TYPE: @TYPE@ 1663s # /*** END enumeration-production ***/ 1663s # 1663s # /*** BEGIN value-header ***/ 1663s # value-header 1663s # EnumName: @EnumName@ 1663s # enum_name: @enum_name@ 1663s # ENUMNAME: @ENUMNAME@ 1663s # ENUMSHORT: @ENUMSHORT@ 1663s # ENUMPREFIX: @ENUMPREFIX@ 1663s # enumsince: @enumsince@ 1663s # type: @type@ 1663s # Type: @Type@ 1663s # TYPE: @TYPE@ 1663s # /*** END value-header ***/ 1663s # 1663s # /*** BEGIN value-production ***/ 1663s # value-production 1663s # VALUENAME: @VALUENAME@ 1663s # valuenick: @valuenick@ 1663s # valuenum: @valuenum@ 1663s # type: @type@ 1663s # Type: @Type@ 1663s # TYPE: @TYPE@ 1663s # /*** END value-production ***/ 1663s # 1663s # /*** BEGIN value-tail ***/ 1663s # value-tail 1663s # EnumName: @EnumName@ 1663s # enum_name: @enum_name@ 1663s # ENUMNAME: @ENUMNAME@ 1663s # ENUMSHORT: @ENUMSHORT@ 1663s # ENUMPREFIX: @ENUMPREFIX@ 1663s # enumsince: @enumsince@ 1663s # type: @type@ 1663s # Type: @Type@ 1663s # TYPE: @TYPE@ 1663s # /*** END value-tail ***/ 1663s # 1663s # /*** BEGIN comment ***/ 1663s # comment 1663s # comment: @comment@ 1663s # /*** END comment ***/ 1663s # 1663s # /*** BEGIN file-tail ***/ 1663s # file-tail 1663s # /*** END file-tail ***/ 1663s # 1663s # Response file contains: --template /tmp/tmp1de4uxsl/tmp6wkmckc2.template /tmp/tmp1de4uxsl/tmpusxp8eb7.h 1663s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1de4uxsl/tmpycae6zs1'] 1663s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1663s # Output: comment 1663s # 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. 1663s # 1663s # 1663s # file-header 1663s # file-production 1663s # filename: /tmp/tmp1de4uxsl/tmpusxp8eb7.h 1663s # basename: tmpusxp8eb7.h 1663s # enumeration-production 1663s # EnumName: SomeEnumB 1663s # enum_name: some_enum_b 1663s # ENUMNAME: SOME_ENUM_B 1663s # ENUMSHORT: ENUM_B 1663s # ENUMPREFIX: SOME 1663s # enumsince: 1663s # type: enum 1663s # Type: Enum 1663s # TYPE: ENUM 1663s # value-header 1663s # EnumName: SomeEnumB 1663s # enum_name: some_enum_b 1663s # ENUMNAME: SOME_ENUM_B 1663s # ENUMSHORT: ENUM_B 1663s # ENUMPREFIX: SOME 1663s # enumsince: 1663s # type: enum 1663s # Type: Enum 1663s # TYPE: ENUM 1663s # value-production 1663s # VALUENAME: ENUM_VALUE_PUBLIC2 1663s # valuenick: public2 1663s # valuenum: 1 1663s # type: enum 1663s # Type: Enum 1663s # TYPE: ENUM 1663s # value-tail 1663s # EnumName: SomeEnumB 1663s # enum_name: some_enum_b 1663s # ENUMNAME: SOME_ENUM_B 1663s # ENUMSHORT: ENUM_B 1663s # ENUMPREFIX: SOME 1663s # enumsince: 1663s # type: enum 1663s # Type: Enum 1663s # TYPE: ENUM 1663s # file-tail 1663s # 1663s # comment 1663s # comment: Generated data ends here 1663s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1663s # tmpdir: /tmp/tmp5vpoypn1 1663s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1663s # /tmp/tmp5vpoypn1/tmp2g717hyj.h: 1663s # typedef enum { 1663s # /*< private >*/ 1663s # ENUM_VALUE_PRIVATE = 5, 1663s # /*< public >*/ 1663s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1663s # } TestSymbolicEnum; 1663s # 1663s # /tmp/tmp5vpoypn1/tmpikwlav_e.template: 1663s # /*** BEGIN file-header ***/ 1663s # file-header 1663s # /*** END file-header ***/ 1663s # 1663s # /*** BEGIN file-production ***/ 1663s # file-production 1663s # filename: @filename@ 1663s # basename: @basename@ 1663s # /*** END file-production ***/ 1663s # 1663s # /*** BEGIN enumeration-production ***/ 1663s # enumeration-production 1663s # EnumName: @EnumName@ 1663s # enum_name: @enum_name@ 1663s # ENUMNAME: @ENUMNAME@ 1663s # ENUMSHORT: @ENUMSHORT@ 1663s # ENUMPREFIX: @ENUMPREFIX@ 1663s # enumsince: @enumsince@ 1663s # type: @type@ 1663s # Type: @Type@ 1663s # TYPE: @TYPE@ 1663s # /*** END enumeration-production ***/ 1663s # 1663s # /*** BEGIN value-header ***/ 1663s # value-header 1663s # EnumName: @EnumName@ 1663s # enum_name: @enum_name@ 1663s # ENUMNAME: @ENUMNAME@ 1663s # ENUMSHORT: @ENUMSHORT@ 1663s # ENUMPREFIX: @ENUMPREFIX@ 1663s # enumsince: @enumsince@ 1663s # type: @type@ 1663s # Type: @Type@ 1663s # TYPE: @TYPE@ 1663s # /*** END value-header ***/ 1663s # 1663s # /*** BEGIN value-production ***/ 1663s # value-production 1663s # VALUENAME: @VALUENAME@ 1663s # valuenick: @valuenick@ 1663s # valuenum: @valuenum@ 1663s # type: @type@ 1663s # Type: @Type@ 1663s # TYPE: @TYPE@ 1663s # /*** END value-production ***/ 1663s # 1663s # /*** BEGIN value-tail ***/ 1663s # value-tail 1663s # EnumName: @EnumName@ 1663s # enum_name: @enum_name@ 1663s # ENUMNAME: @ENUMNAME@ 1663s # ENUMSHORT: @ENUMSHORT@ 1663s # ENUMPREFIX: @ENUMPREFIX@ 1663s # enumsince: @enumsince@ 1663s # type: @type@ 1663s # Type: @Type@ 1663s # TYPE: @TYPE@ 1663s # /*** END value-tail ***/ 1663s # 1663s # /*** BEGIN comment ***/ 1663s # comment 1663s # comment: @comment@ 1663s # /*** END comment ***/ 1663s # 1663s # /*** BEGIN file-tail ***/ 1663s # file-tail 1663s # /*** END file-tail ***/ 1663s # 1663s # Response file contains: --template /tmp/tmp5vpoypn1/tmpikwlav_e.template /tmp/tmp5vpoypn1/tmp2g717hyj.h 1663s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5vpoypn1/tmpyg20jtt4'] 1663s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1663s # Output: comment 1663s # 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. 1663s # 1663s # 1663s # file-header 1663s # file-production 1663s # filename: /tmp/tmp5vpoypn1/tmp2g717hyj.h 1663s # basename: tmp2g717hyj.h 1663s # enumeration-production 1663s # EnumName: TestSymbolicEnum 1663s # enum_name: test_symbolic_enum 1663s # ENUMNAME: TEST_SYMBOLIC_ENUM 1663s # ENUMSHORT: SYMBOLIC_ENUM 1663s # ENUMPREFIX: TEST 1663s # enumsince: 1663s # type: enum 1663s # Type: Enum 1663s # TYPE: ENUM 1663s # value-header 1663s # EnumName: TestSymbolicEnum 1663s # enum_name: test_symbolic_enum 1663s # ENUMNAME: TEST_SYMBOLIC_ENUM 1663s # ENUMSHORT: SYMBOLIC_ENUM 1663s # ENUMPREFIX: TEST 1663s # enumsince: 1663s # type: enum 1663s # Type: Enum 1663s # TYPE: ENUM 1663s # value-production 1663s # VALUENAME: ENUM_VALUE_PUBLIC 1663s # valuenick: public 1663s # valuenum: 7 1663s # type: enum 1663s # Type: Enum 1663s # TYPE: ENUM 1663s # value-tail 1663s # EnumName: TestSymbolicEnum 1663s # enum_name: test_symbolic_enum 1663s # ENUMNAME: TEST_SYMBOLIC_ENUM 1663s # ENUMSHORT: SYMBOLIC_ENUM 1663s # ENUMPREFIX: TEST 1663s # enumsince: 1663s # type: enum 1663s # Type: Enum 1663s # TYPE: ENUM 1663s # file-tail 1663s # 1663s # comment 1663s # comment: Generated data ends here 1663s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1663s # tmpdir: /tmp/tmpbsqmm6l8 1663s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1663s # /tmp/tmpbsqmm6l8/tmplocfsgt3.template: 1663s # /*** BEGIN file-header ***/ 1663s # file-header 1663s # filename: @filename@ 1663s # basename: @basename@ 1663s # /*** END file-header ***/ 1663s # 1663s # /*** BEGIN comment ***/ 1663s # comment 1663s # comment: @comment@ 1663s # /*** END comment ***/ 1663s # 1663s # /*** BEGIN file-tail ***/ 1663s # file-tail 1663s # filename: @filename@ 1663s # basename: @basename@ 1663s # /*** END file-tail ***/ 1663s # Response file contains: --template /tmp/tmpbsqmm6l8/tmplocfsgt3.template 1663s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbsqmm6l8/tmpivllf8oy'] 1663s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1663s # Output: comment 1663s # 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. 1663s # 1663s # 1663s # file-header 1663s # filename: @filename@ 1663s # basename: @basename@ 1663s # file-tail 1663s # filename: @filename@ 1663s # basename: @basename@ 1663s # 1663s # comment 1663s # comment: Generated data ends here 1663s ok 29 __main__.TestRspMkenums.test_help 1663s # tmpdir: /tmp/tmpek82c5fw 1663s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1663s # Response file contains: --help 1663s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpek82c5fw/tmp5o3eugth'] 1663s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1663s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1663s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1663s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1663s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1663s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1663s # [--output OUTPUT] [--version] 1663s # [args ...] 1663s # 1663s # positional arguments: 1663s # args One or more input files, or a single argument 1663s # @rspfile_path pointing to a file that contains the 1663s # actual arguments 1663s # 1663s # options: 1663s # -h, --help show this help message and exit 1663s # --identifier-prefix IDPREFIX 1663s # Identifier prefix 1663s # --symbol-prefix SYMPREFIX 1663s # Symbol prefix 1663s # --fhead FHEAD Output file header 1663s # --ftail FTAIL Output file footer 1663s # --fprod FPROD Put out TEXT every time a new input file is being 1663s # processed. 1663s # --eprod EPROD Per enum text, produced prior to value iterations 1663s # --vhead VHEAD Value header, produced before iterating over enum 1663s # values 1663s # --vprod VPROD Value text, produced for each enum value. 1663s # --vtail VTAIL Value tail, produced after iterating over enum values 1663s # --comments COMMENT_TMPL 1663s # Comment structure 1663s # --template TEMPLATE Template file 1663s # --output OUTPUT 1663s # --version, -v Print version information 1663s # 1663s # Production text substitutions: 1663s # @EnumName@ PrefixTheXEnum 1663s # @enum_name@ prefix_the_xenum 1663s # @ENUMNAME@ PREFIX_THE_XENUM 1663s # @ENUMSHORT@ THE_XENUM 1663s # @ENUMPREFIX@ PREFIX 1663s # @enumsince@ the user-provided since value given 1663s # @VALUENAME@ PREFIX_THE_XVALUE 1663s # @valuenick@ the-xvalue 1663s # @valuenum@ the integer value (limited support, Since: 2.26) 1663s # @type@ either enum or flags 1663s # @Type@ either Enum or Flags 1663s # @TYPE@ either ENUM or FLAGS 1663s # @filename@ name of current input file 1663s # @basename@ base name of the current input file (Since: 2.22) 1663s ok 30 __main__.TestRspMkenums.test_no_args 1663s # tmpdir: /tmp/tmpxrj2fk9i 1663s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1663s # Response file contains: 1663s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxrj2fk9i/tmprefou9os'] 1663s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1663s # 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. */ 1663s # 1663s # 1663s # /* Generated data ends here */ 1664s ok 31 __main__.TestRspMkenums.test_no_headers 1664s # tmpdir: /tmp/tmpy_m2qyhc 1664s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1664s # /tmp/tmpy_m2qyhc/tmphpcitoxp.template: 1664s # /*** BEGIN file-header ***/ 1664s # file-header 1664s # /*** END file-header ***/ 1664s # 1664s # /*** BEGIN file-production ***/ 1664s # file-production 1664s # filename: @filename@ 1664s # basename: @basename@ 1664s # /*** END file-production ***/ 1664s # 1664s # /*** BEGIN enumeration-production ***/ 1664s # enumeration-production 1664s # EnumName: @EnumName@ 1664s # enum_name: @enum_name@ 1664s # ENUMNAME: @ENUMNAME@ 1664s # ENUMSHORT: @ENUMSHORT@ 1664s # ENUMPREFIX: @ENUMPREFIX@ 1664s # enumsince: @enumsince@ 1664s # type: @type@ 1664s # Type: @Type@ 1664s # TYPE: @TYPE@ 1664s # /*** END enumeration-production ***/ 1664s # 1664s # /*** BEGIN value-header ***/ 1664s # value-header 1664s # EnumName: @EnumName@ 1664s # enum_name: @enum_name@ 1664s # ENUMNAME: @ENUMNAME@ 1664s # ENUMSHORT: @ENUMSHORT@ 1664s # ENUMPREFIX: @ENUMPREFIX@ 1664s # enumsince: @enumsince@ 1664s # type: @type@ 1664s # Type: @Type@ 1664s # TYPE: @TYPE@ 1664s # /*** END value-header ***/ 1664s # 1664s # /*** BEGIN value-production ***/ 1664s # value-production 1664s # VALUENAME: @VALUENAME@ 1664s # valuenick: @valuenick@ 1664s # valuenum: @valuenum@ 1664s # type: @type@ 1664s # Type: @Type@ 1664s # TYPE: @TYPE@ 1664s # /*** END value-production ***/ 1664s # 1664s # /*** BEGIN value-tail ***/ 1664s # value-tail 1664s # EnumName: @EnumName@ 1664s # enum_name: @enum_name@ 1664s # ENUMNAME: @ENUMNAME@ 1664s # ENUMSHORT: @ENUMSHORT@ 1664s # ENUMPREFIX: @ENUMPREFIX@ 1664s # enumsince: @enumsince@ 1664s # type: @type@ 1664s # Type: @Type@ 1664s # TYPE: @TYPE@ 1664s # /*** END value-tail ***/ 1664s # 1664s # /*** BEGIN comment ***/ 1664s # comment 1664s # comment: @comment@ 1664s # /*** END comment ***/ 1664s # 1664s # /*** BEGIN file-tail ***/ 1664s # file-tail 1664s # /*** END file-tail ***/ 1664s # 1664s # Response file contains: --template /tmp/tmpy_m2qyhc/tmphpcitoxp.template 1664s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpy_m2qyhc/tmpurq1ml92'] 1664s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1664s # Output: comment 1664s # 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. 1664s # 1664s # 1664s # file-header 1664s # file-tail 1664s # 1664s # comment 1664s # comment: Generated data ends here 1664s ok 32 __main__.TestRspMkenums.test_no_nick 1664s # tmpdir: /tmp/tmprze2ccyg 1664s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1664s # /tmp/tmprze2ccyg/tmpb66gwxvp.h: 1664s # typedef enum { 1664s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1664s # } GeglSamplerType; 1664s # 1664s # /tmp/tmprze2ccyg/tmpt6pdvk1c.template: 1664s # /*** BEGIN file-header ***/ 1664s # file-header 1664s # /*** END file-header ***/ 1664s # 1664s # /*** BEGIN file-production ***/ 1664s # file-production 1664s # filename: @filename@ 1664s # basename: @basename@ 1664s # /*** END file-production ***/ 1664s # 1664s # /*** BEGIN enumeration-production ***/ 1664s # enumeration-production 1664s # EnumName: @EnumName@ 1664s # enum_name: @enum_name@ 1664s # ENUMNAME: @ENUMNAME@ 1664s # ENUMSHORT: @ENUMSHORT@ 1664s # ENUMPREFIX: @ENUMPREFIX@ 1664s # enumsince: @enumsince@ 1664s # type: @type@ 1664s # Type: @Type@ 1664s # TYPE: @TYPE@ 1664s # /*** END enumeration-production ***/ 1664s # 1664s # /*** BEGIN value-header ***/ 1664s # value-header 1664s # EnumName: @EnumName@ 1664s # enum_name: @enum_name@ 1664s # ENUMNAME: @ENUMNAME@ 1664s # ENUMSHORT: @ENUMSHORT@ 1664s # ENUMPREFIX: @ENUMPREFIX@ 1664s # enumsince: @enumsince@ 1664s # type: @type@ 1664s # Type: @Type@ 1664s # TYPE: @TYPE@ 1664s # /*** END value-header ***/ 1664s # 1664s # /*** BEGIN value-production ***/ 1664s # value-production 1664s # VALUENAME: @VALUENAME@ 1664s # valuenick: @valuenick@ 1664s # valuenum: @valuenum@ 1664s # type: @type@ 1664s # Type: @Type@ 1664s # TYPE: @TYPE@ 1664s # /*** END value-production ***/ 1664s # 1664s # /*** BEGIN value-tail ***/ 1664s # value-tail 1664s # EnumName: @EnumName@ 1664s # enum_name: @enum_name@ 1664s # ENUMNAME: @ENUMNAME@ 1664s # ENUMSHORT: @ENUMSHORT@ 1664s # ENUMPREFIX: @ENUMPREFIX@ 1664s # enumsince: @enumsince@ 1664s # type: @type@ 1664s # Type: @Type@ 1664s # TYPE: @TYPE@ 1664s # /*** END value-tail ***/ 1664s # 1664s # /*** BEGIN comment ***/ 1664s # comment 1664s # comment: @comment@ 1664s # /*** END comment ***/ 1664s # 1664s # /*** BEGIN file-tail ***/ 1664s # file-tail 1664s # /*** END file-tail ***/ 1664s # 1664s # Response file contains: --template /tmp/tmprze2ccyg/tmpt6pdvk1c.template /tmp/tmprze2ccyg/tmpb66gwxvp.h 1664s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprze2ccyg/tmp3rioyotv'] 1664s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1664s # Output: comment 1664s # 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. 1664s # 1664s # 1664s # file-header 1664s # file-production 1664s # filename: /tmp/tmprze2ccyg/tmpb66gwxvp.h 1664s # basename: tmpb66gwxvp.h 1664s # enumeration-production 1664s # EnumName: GeglSamplerType 1664s # enum_name: gegl_sampler_type 1664s # ENUMNAME: GEGL_SAMPLER_TYPE 1664s # ENUMSHORT: SAMPLER_TYPE 1664s # ENUMPREFIX: GEGL 1664s # enumsince: 1664s # type: enum 1664s # Type: Enum 1664s # TYPE: ENUM 1664s # value-header 1664s # EnumName: GeglSamplerType 1664s # enum_name: gegl_sampler_type 1664s # ENUMNAME: GEGL_SAMPLER_TYPE 1664s # ENUMSHORT: SAMPLER_TYPE 1664s # ENUMPREFIX: GEGL 1664s # enumsince: 1664s # type: enum 1664s # Type: Enum 1664s # TYPE: ENUM 1664s # value-production 1664s # VALUENAME: GEGL_SAMPLER_NEAREST 1664s # valuenick: nearest 1664s # valuenum: 0 1664s # type: enum 1664s # Type: Enum 1664s # TYPE: ENUM 1664s # value-tail 1664s # EnumName: GeglSamplerType 1664s # enum_name: gegl_sampler_type 1664s # ENUMNAME: GEGL_SAMPLER_TYPE 1664s # ENUMSHORT: SAMPLER_TYPE 1664s # ENUMPREFIX: GEGL 1664s # enumsince: 1664s # type: enum 1664s # Type: Enum 1664s # TYPE: ENUM 1664s # file-tail 1664s # 1664s # comment 1664s # comment: Generated data ends here 1664s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1664s # tmpdir: /tmp/tmpbqx1701y 1664s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1664s # /tmp/tmpbqx1701y/tmpwdo82ng1.h: 1664s # /* Copyright © La Peña */ 1664s # typedef enum { 1664s # ENUM_VALUE 1664s # } SomeEnumIdentifier; 1664s # 1664s # /tmp/tmpbqx1701y/tmplojrymlg.template: 1664s # /*** BEGIN file-header ***/ 1664s # file-header 1664s # /*** END file-header ***/ 1664s # 1664s # /*** BEGIN file-production ***/ 1664s # file-production 1664s # filename: @filename@ 1664s # basename: @basename@ 1664s # /*** END file-production ***/ 1664s # 1664s # /*** BEGIN enumeration-production ***/ 1664s # enumeration-production 1664s # EnumName: @EnumName@ 1664s # enum_name: @enum_name@ 1664s # ENUMNAME: @ENUMNAME@ 1664s # ENUMSHORT: @ENUMSHORT@ 1664s # ENUMPREFIX: @ENUMPREFIX@ 1664s # enumsince: @enumsince@ 1664s # type: @type@ 1664s # Type: @Type@ 1664s # TYPE: @TYPE@ 1664s # /*** END enumeration-production ***/ 1664s # 1664s # /*** BEGIN value-header ***/ 1664s # value-header 1664s # EnumName: @EnumName@ 1664s # enum_name: @enum_name@ 1664s # ENUMNAME: @ENUMNAME@ 1664s # ENUMSHORT: @ENUMSHORT@ 1664s # ENUMPREFIX: @ENUMPREFIX@ 1664s # enumsince: @enumsince@ 1664s # type: @type@ 1664s # Type: @Type@ 1664s # TYPE: @TYPE@ 1664s # /*** END value-header ***/ 1664s # 1664s # /*** BEGIN value-production ***/ 1664s # value-production 1664s # VALUENAME: @VALUENAME@ 1664s # valuenick: @valuenick@ 1664s # valuenum: @valuenum@ 1664s # type: @type@ 1664s # Type: @Type@ 1664s # TYPE: @TYPE@ 1664s # /*** END value-production ***/ 1664s # 1664s # /*** BEGIN value-tail ***/ 1664s # value-tail 1664s # EnumName: @EnumName@ 1664s # enum_name: @enum_name@ 1664s # ENUMNAME: @ENUMNAME@ 1664s # ENUMSHORT: @ENUMSHORT@ 1664s # ENUMPREFIX: @ENUMPREFIX@ 1664s # enumsince: @enumsince@ 1664s # type: @type@ 1664s # Type: @Type@ 1664s # TYPE: @TYPE@ 1664s # /*** END value-tail ***/ 1664s # 1664s # /*** BEGIN comment ***/ 1664s # comment 1664s # comment: @comment@ 1664s # /*** END comment ***/ 1664s # 1664s # /*** BEGIN file-tail ***/ 1664s # file-tail 1664s # /*** END file-tail ***/ 1664s # 1664s # Response file contains: --template /tmp/tmpbqx1701y/tmplojrymlg.template /tmp/tmpbqx1701y/tmpwdo82ng1.h 1664s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbqx1701y/tmp2g2hl9jx'] 1664s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1664s # Output: comment 1664s # 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. 1664s # 1664s # 1664s # file-header 1664s # file-production 1664s # filename: /tmp/tmpbqx1701y/tmpwdo82ng1.h 1664s # basename: tmpwdo82ng1.h 1664s # enumeration-production 1664s # EnumName: SomeEnumIdentifier 1664s # enum_name: some_enum_identifier 1664s # ENUMNAME: SOME_ENUM_IDENTIFIER 1664s # ENUMSHORT: ENUM_IDENTIFIER 1664s # ENUMPREFIX: SOME 1664s # enumsince: 1664s # type: enum 1664s # Type: Enum 1664s # TYPE: ENUM 1664s # value-header 1664s # EnumName: SomeEnumIdentifier 1664s # enum_name: some_enum_identifier 1664s # ENUMNAME: SOME_ENUM_IDENTIFIER 1664s # ENUMSHORT: ENUM_IDENTIFIER 1664s # ENUMPREFIX: SOME 1664s # enumsince: 1664s # type: enum 1664s # Type: Enum 1664s # TYPE: ENUM 1664s # value-production 1664s # VALUENAME: ENUM_VALUE 1664s # valuenick: value 1664s # valuenum: 0 1664s # type: enum 1664s # Type: Enum 1664s # TYPE: ENUM 1664s # value-tail 1664s # EnumName: SomeEnumIdentifier 1664s # enum_name: some_enum_identifier 1664s # ENUMNAME: SOME_ENUM_IDENTIFIER 1664s # ENUMSHORT: ENUM_IDENTIFIER 1664s # ENUMPREFIX: SOME 1664s # enumsince: 1664s # type: enum 1664s # Type: Enum 1664s # TYPE: ENUM 1664s # file-tail 1664s # 1664s # comment 1664s # comment: Generated data ends here 1664s ok 34 __main__.TestRspMkenums.test_reproducible 1664s # tmpdir: /tmp/tmpkrfqplml 1664s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1664s # /tmp/tmpkrfqplml/tmpacsaxrn4.template: template 1664s # Response file contains: --template /tmp/tmpkrfqplml/tmpacsaxrn4.template /tmp/tmpkrfqplml/tmpic0scnqv1.h /tmp/tmpkrfqplml/tmpic8jitor2.h 1664s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkrfqplml/tmpmab6sntu'] 1664s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1664s # 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. */ 1664s # 1664s # 1664s # /* Generated data ends here */ 1664s # /tmp/tmpkrfqplml/tmpgur881wv.template: template 1664s # Response file contains: --template /tmp/tmpkrfqplml/tmpgur881wv.template /tmp/tmpkrfqplml/tmpic8jitor2.h /tmp/tmpkrfqplml/tmpic0scnqv1.h 1664s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkrfqplml/tmpf30yhf1e'] 1664s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1664s # 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. */ 1664s # 1664s # 1664s # /* Generated data ends here */ 1665s ok 35 __main__.TestRspMkenums.test_since 1665s # tmpdir: /tmp/tmpwyhhfrhn 1665s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1665s # /tmp/tmpwyhhfrhn/tmpdxd9jjdy.h: 1665s # typedef enum { /*< since=1.0 >*/ 1665s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1665s # } QmiWmsMessageProtocol; 1665s # 1665s # /tmp/tmpwyhhfrhn/tmpyhc8a_89.template: 1665s # /*** BEGIN file-header ***/ 1665s # file-header 1665s # /*** END file-header ***/ 1665s # 1665s # /*** BEGIN file-production ***/ 1665s # file-production 1665s # filename: @filename@ 1665s # basename: @basename@ 1665s # /*** END file-production ***/ 1665s # 1665s # /*** BEGIN enumeration-production ***/ 1665s # enumeration-production 1665s # EnumName: @EnumName@ 1665s # enum_name: @enum_name@ 1665s # ENUMNAME: @ENUMNAME@ 1665s # ENUMSHORT: @ENUMSHORT@ 1665s # ENUMPREFIX: @ENUMPREFIX@ 1665s # enumsince: @enumsince@ 1665s # type: @type@ 1665s # Type: @Type@ 1665s # TYPE: @TYPE@ 1665s # /*** END enumeration-production ***/ 1665s # 1665s # /*** BEGIN value-header ***/ 1665s # value-header 1665s # EnumName: @EnumName@ 1665s # enum_name: @enum_name@ 1665s # ENUMNAME: @ENUMNAME@ 1665s # ENUMSHORT: @ENUMSHORT@ 1665s # ENUMPREFIX: @ENUMPREFIX@ 1665s # enumsince: @enumsince@ 1665s # type: @type@ 1665s # Type: @Type@ 1665s # TYPE: @TYPE@ 1665s # /*** END value-header ***/ 1665s # 1665s # /*** BEGIN value-production ***/ 1665s # value-production 1665s # VALUENAME: @VALUENAME@ 1665s # valuenick: @valuenick@ 1665s # valuenum: @valuenum@ 1665s # type: @type@ 1665s # Type: @Type@ 1665s # TYPE: @TYPE@ 1665s # /*** END value-production ***/ 1665s # 1665s # /*** BEGIN value-tail ***/ 1665s # value-tail 1665s # EnumName: @EnumName@ 1665s # enum_name: @enum_name@ 1665s # ENUMNAME: @ENUMNAME@ 1665s # ENUMSHORT: @ENUMSHORT@ 1665s # ENUMPREFIX: @ENUMPREFIX@ 1665s # enumsince: @enumsince@ 1665s # type: @type@ 1665s # Type: @Type@ 1665s # TYPE: @TYPE@ 1665s # /*** END value-tail ***/ 1665s # 1665s # /*** BEGIN comment ***/ 1665s # comment 1665s # comment: @comment@ 1665s # /*** END comment ***/ 1665s # 1665s # /*** BEGIN file-tail ***/ 1665s # file-tail 1665s # /*** END file-tail ***/ 1665s # 1665s # Response file contains: --template /tmp/tmpwyhhfrhn/tmpyhc8a_89.template /tmp/tmpwyhhfrhn/tmpdxd9jjdy.h 1665s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwyhhfrhn/tmp5qp265ik'] 1665s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1665s # Output: comment 1665s # 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. 1665s # 1665s # 1665s # file-header 1665s # file-production 1665s # filename: /tmp/tmpwyhhfrhn/tmpdxd9jjdy.h 1665s # basename: tmpdxd9jjdy.h 1665s # enumeration-production 1665s # EnumName: QmiWmsMessageProtocol 1665s # enum_name: qmi_wms_message_protocol 1665s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1665s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1665s # ENUMPREFIX: QMI 1665s # enumsince: 1.0 1665s # type: enum 1665s # Type: Enum 1665s # TYPE: ENUM 1665s # value-header 1665s # EnumName: QmiWmsMessageProtocol 1665s # enum_name: qmi_wms_message_protocol 1665s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1665s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1665s # ENUMPREFIX: QMI 1665s # enumsince: 1.0 1665s # type: enum 1665s # Type: Enum 1665s # TYPE: ENUM 1665s # value-production 1665s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1665s # valuenick: cdma 1665s # valuenum: 0 1665s # type: enum 1665s # Type: Enum 1665s # TYPE: ENUM 1665s # value-tail 1665s # EnumName: QmiWmsMessageProtocol 1665s # enum_name: qmi_wms_message_protocol 1665s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1665s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1665s # ENUMPREFIX: QMI 1665s # enumsince: 1.0 1665s # type: enum 1665s # Type: Enum 1665s # TYPE: ENUM 1665s # file-tail 1665s # 1665s # comment 1665s # comment: Generated data ends here 1665s # Executing: glib/mkenums.py.test 1665s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1665s # tmpdir: /tmp/tmpe768c2jf 1665s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1665s # /tmp/tmpe768c2jf/tmpbzt00wem.h: 1665s # typedef enum { 1665s # FOO_VALUE /*< nick="eek, a comma" >*/ 1665s # } Foo; 1665s # 1665s # /tmp/tmpe768c2jf/tmpm94ahgxe.template: 1665s # /*** BEGIN file-header ***/ 1665s # file-header 1665s # /*** END file-header ***/ 1665s # 1665s # /*** BEGIN file-production ***/ 1665s # file-production 1665s # filename: @filename@ 1665s # basename: @basename@ 1665s # /*** END file-production ***/ 1665s # 1665s # /*** BEGIN enumeration-production ***/ 1665s # enumeration-production 1665s # EnumName: @EnumName@ 1665s # enum_name: @enum_name@ 1665s # ENUMNAME: @ENUMNAME@ 1665s # ENUMSHORT: @ENUMSHORT@ 1665s # ENUMPREFIX: @ENUMPREFIX@ 1665s # enumsince: @enumsince@ 1665s # type: @type@ 1665s # Type: @Type@ 1665s # TYPE: @TYPE@ 1665s # /*** END enumeration-production ***/ 1665s # 1665s # /*** BEGIN value-header ***/ 1665s # value-header 1665s # EnumName: @EnumName@ 1665s # enum_name: @enum_name@ 1665s # ENUMNAME: @ENUMNAME@ 1665s # ENUMSHORT: @ENUMSHORT@ 1665s # ENUMPREFIX: @ENUMPREFIX@ 1665s # enumsince: @enumsince@ 1665s # type: @type@ 1665s # Type: @Type@ 1665s # TYPE: @TYPE@ 1665s # /*** END value-header ***/ 1665s # 1665s # /*** BEGIN value-production ***/ 1665s # value-production 1665s # VALUENAME: @VALUENAME@ 1665s # valuenick: @valuenick@ 1665s # valuenum: @valuenum@ 1665s # type: @type@ 1665s # Type: @Type@ 1665s # TYPE: @TYPE@ 1665s # /*** END value-production ***/ 1665s # 1665s # /*** BEGIN value-tail ***/ 1665s # value-tail 1665s # EnumName: @EnumName@ 1665s # enum_name: @enum_name@ 1665s # ENUMNAME: @ENUMNAME@ 1665s # ENUMSHORT: @ENUMSHORT@ 1665s # ENUMPREFIX: @ENUMPREFIX@ 1665s # enumsince: @enumsince@ 1665s # type: @type@ 1665s # Type: @Type@ 1665s # TYPE: @TYPE@ 1665s # /*** END value-tail ***/ 1665s # 1665s # /*** BEGIN comment ***/ 1665s # comment 1665s # comment: @comment@ 1665s # /*** END comment ***/ 1665s # 1665s # /*** BEGIN file-tail ***/ 1665s # file-tail 1665s # /*** END file-tail ***/ 1665s # 1665s # Response file contains: --template /tmp/tmpe768c2jf/tmpm94ahgxe.template /tmp/tmpe768c2jf/tmpbzt00wem.h 1665s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpe768c2jf/tmpygr9p_bw'] 1665s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1665s # Output: comment 1665s # 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. 1665s # 1665s # 1665s # file-header 1665s # file-production 1665s # filename: /tmp/tmpe768c2jf/tmpbzt00wem.h 1665s # basename: tmpbzt00wem.h 1665s # enumeration-production 1665s # EnumName: Foo 1665s # enum_name: foo_ 1665s # ENUMNAME: FOO_ 1665s # ENUMSHORT: 1665s # ENUMPREFIX: FOO 1665s # enumsince: 1665s # type: enum 1665s # Type: Enum 1665s # TYPE: ENUM 1665s # value-header 1665s # EnumName: Foo 1665s # enum_name: foo_ 1665s # ENUMNAME: FOO_ 1665s # ENUMSHORT: 1665s # ENUMPREFIX: FOO 1665s # enumsince: 1665s # type: enum 1665s # Type: Enum 1665s # TYPE: ENUM 1665s # value-production 1665s # VALUENAME: FOO_VALUE 1665s # valuenick: eek, a comma 1665s # valuenum: 0 1665s # type: enum 1665s # Type: Enum 1665s # TYPE: ENUM 1665s # value-tail 1665s # EnumName: Foo 1665s # enum_name: foo_ 1665s # ENUMNAME: FOO_ 1665s # ENUMSHORT: 1665s # ENUMPREFIX: FOO 1665s # enumsince: 1665s # type: enum 1665s # Type: Enum 1665s # TYPE: ENUM 1665s # file-tail 1665s # 1665s # comment 1665s # comment: Generated data ends here 1665s 1..36 1665s ok - glib/mkenums.py.test 1665s # Running test: glib/gdbus-peer-object-manager.test 1665s TAP version 13 1665s # random seed: R02Sb02faaae1f03a386c4adf4b52288924c 1665s 1..2 1665s # Start of gdbus tests 1665s # Start of peer-object-manager tests 1665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/normal/.dirs/home 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/normal/.dirs/cache 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/normal/.dirs/system-config2 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/normal/.dirs/config 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/normal/.dirs/system-data2 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/normal/.dirs/data 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/normal/.dirs/state 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/normal/.dirs/runtime 1665s ok 1 /gdbus/peer-object-manager/normal 1665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/root/.dirs/home 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/root/.dirs/cache 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/root/.dirs/system-config2 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/root/.dirs/config 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/root/.dirs/system-data2 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/root/.dirs/data 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/root/.dirs/state 1665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_HDG9J2/gdbus/peer-object-manager/root/.dirs/runtime 1665s ok 2 /gdbus/peer-object-manager/root 1665s # End of peer-object-manager tests 1665s # End of gdbus tests 1665s ok - glib/gdbus-peer-object-manager.test 1665s # Running test: glib/642026-ec.test 1665s TAP version 13 1665s # random seed: R02Saf0f6464094fb5344f5a9b223aa37382 1665s 1..1 1665s # Start of glib tests 1665s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1665s ok 1 /glib/642026 1665s # End of glib tests 1665s ok - glib/642026-ec.test 1665s # Running test: glib/date.test 1665s TAP version 13 1665s # random seed: R02S0acaa5495406fb1f3f31850cd8d35adc 1665s 1..121 1665s # Start of date tests 1665s ok 1 /date/basic 1665s ok 2 /date/empty 1665s ok 3 /date/dmy 1665s ok 4 /date/julian 1665s ok 5 /date/compare 1665s ok 6 /date/dates 1665s ok 7 /date/strftime 1665s ok 8 /date/two-digit-years 1665s ok 9 /date/parse 1665s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1665s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1665s ok 11 /date/month_substring 1665s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1665s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1665s ok 13 /date/clamp 1665s ok 14 /date/order 1665s ok 15 /date/copy 1665s # Vector 0: 0000-00-00, invalid 1665s # Vector 1: 0001-01-01, valid 1665s # Vector 2: 0000-01-01, invalid 1665s # Vector 3: 2000-02-30, invalid 1665s # Vector 4: 2000-02-29, valid 1665s # Vector 5: 2001-02-29, invalid 1665s # Vector 6: 65535-01-01, valid 1665s ok 16 /date/valid-dmy 1665s # Start of parse tests 1665s # Test 0 1665s # Test 1 1665s ok 17 /date/parse/invalid 1665s # End of parse tests 1665s # Start of year tests 1665s ok 18 /date/year/1 1665s ok 19 /date/year/2 1665s ok 20 /date/year/3 1665s ok 21 /date/year/4 1665s ok 22 /date/year/5 1665s ok 23 /date/year/6 1665s ok 24 /date/year/7 1665s ok 25 /date/year/8 1665s ok 26 /date/year/9 1665s ok 27 /date/year/10 1665s ok 28 /date/year/11 1665s ok 29 /date/year/12 1665s ok 30 /date/year/13 1665s ok 31 /date/year/14 1665s ok 32 /date/year/98 1665s ok 33 /date/year/99 1665s ok 34 /date/year/100 1665s ok 35 /date/year/101 1665s ok 36 /date/year/102 1665s ok 37 /date/year/103 1665s ok 38 /date/year/397 1665s ok 39 /date/year/398 1665s ok 40 /date/year/399 1665s ok 41 /date/year/400 1665s ok 42 /date/year/401 1665s ok 43 /date/year/402 1665s ok 44 /date/year/403 1665s ok 45 /date/year/404 1665s ok 46 /date/year/405 1665s ok 47 /date/year/406 1665s ok 48 /date/year/1598 1665s ok 49 /date/year/1599 1665s ok 50 /date/year/1600 1665s ok 51 /date/year/1601 1665s ok 52 /date/year/1602 1665s ok 53 /date/year/1650 1665s ok 54 /date/year/1651 1665s ok 55 /date/year/1897 1665s ok 56 /date/year/1898 1665s ok 57 /date/year/1899 1665s ok 58 /date/year/1900 1665s ok 59 /date/year/1901 1665s ok 60 /date/year/1902 1665s ok 61 /date/year/1903 1665s ok 62 /date/year/1961 1665s ok 63 /date/year/1962 1666s ok 64 /date/year/1963 1666s ok 65 /date/year/1964 1666s ok 66 /date/year/1965 1666s ok 67 /date/year/1967 1666s ok 68 /date/year/1968 1666s ok 69 /date/year/1969 1666s ok 70 /date/year/1970 1666s ok 71 /date/year/1971 1666s ok 72 /date/year/1972 1666s ok 73 /date/year/1973 1666s ok 74 /date/year/1974 1666s ok 75 /date/year/1975 1666s ok 76 /date/year/1976 1666s ok 77 /date/year/1977 1666s ok 78 /date/year/1978 1666s ok 79 /date/year/1979 1666s ok 80 /date/year/1980 1666s ok 81 /date/year/1981 1666s ok 82 /date/year/1982 1666s ok 83 /date/year/1983 1666s ok 84 /date/year/1984 1666s ok 85 /date/year/1985 1666s ok 86 /date/year/1986 1666s ok 87 /date/year/1987 1666s ok 88 /date/year/1988 1666s ok 89 /date/year/1989 1666s ok 90 /date/year/1990 1666s ok 91 /date/year/1991 1666s ok 92 /date/year/1992 1666s ok 93 /date/year/1993 1666s ok 94 /date/year/1994 1666s ok 95 /date/year/1995 1666s ok 96 /date/year/1996 1666s ok 97 /date/year/1997 1666s ok 98 /date/year/1998 1666s ok 99 /date/year/1999 1666s ok 100 /date/year/2000 1666s ok 101 /date/year/2001 1666s ok 102 /date/year/2002 1666s ok 103 /date/year/2003 1666s ok 104 /date/year/2004 1666s ok 105 /date/year/2005 1666s ok 106 /date/year/2006 1666s ok 107 /date/year/2007 1666s ok 108 /date/year/2008 1666s ok 109 /date/year/2009 1666s ok 110 /date/year/2010 1666s ok 111 /date/year/2011 1666s ok 112 /date/year/2012 1666s ok 113 /date/year/3000 1666s ok 114 /date/year/3001 1666s ok 115 /date/year/3002 1666s ok 116 /date/year/3998 1666s ok 117 /date/year/3999 1666s ok 118 /date/year/4000 1666s ok 119 /date/year/4001 1666s ok 120 /date/year/4002 1666s ok 121 /date/year/4003 1666s # End of year tests 1666s # End of date tests 1666s ok - glib/date.test 1666s # Running test: glib/objects-refcount1.test 1666s TAP version 13 1666s # random seed: R02S7f176ffa19db4b038bee900d38c713c7 1666s 1..1 1666s # Start of gobject tests 1666s # Start of refcount tests 1666s # init 0xbfa983a92740 1666s # 1666s # init 0xbfa983a928d0 1666s # 1670s # Executing: glib/objects-refcount1.test 1671s # dispose 0xbfa983a92740! 1671s # 1671s # dispose 0xbfa983a928d0! 1671s # 1671s ok 1 /gobject/refcount/object-basics 1671s # slow test /gobject/refcount/object-basics executed in 5.01 secs 1671s # End of refcount tests 1671s # End of gobject tests 1671s ok - glib/objects-refcount1.test 1671s # Running test: glib/objects-refcount2.test 1671s TAP version 13 1671s # random seed: R02Sa5b9d0587c62a994cce66920f29c5f38 1671s 1..1 1671s # Start of gobject tests 1671s # Start of refcount tests 1671s # init 0xad5c5c4ac740 1671s # 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1671s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1672s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1673s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1674s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # Executing: glib/objects-refcount2.test 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1675s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1676s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1677s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1678s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1679s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # Executing: glib/objects-refcount2.test 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1680s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1681s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1682s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1683s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1684s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # Executing: glib/objects-refcount2.test 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # Executing: glib/objects-refcount2.test 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1694s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # Executing: glib/objects-refcount2.test 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # dispose 0xad5c5c4ac740! 1697s # 1697s ok 1 /gobject/refcount/object-advanced 1697s # slow test /gobject/refcount/object-advanced executed in 26.12 secs 1697s # End of refcount tests 1697s # End of gobject tests 1697s ok - glib/objects-refcount2.test 1697s # Running test: glib/thread.test 1697s TAP version 13 1697s # random seed: R02S63d053ad3b2ef96746e34889d54428e7 1697s 1..7 1697s # Start of thread tests 1697s ok 1 /thread/thread1 1697s ok 2 /thread/thread2 1697s ok 3 /thread/thread3 1697s ok 4 /thread/thread4 1697s ok 5 /thread/thread5 1697s ok 6 /thread/thread6 1697s ok 7 /thread/thread7 1697s # End of thread tests 1697s ok - glib/thread.test 1697s # Running test: glib/gio-tool.py.test 1697s TAP version 13 1697s ok 1 __main__.TestGioTool.test_help 1697s # tmpdir: /tmp/tmpb67zsj9f 1697s # gio: /usr/bin/gio 1697s # Running: ['/usr/bin/gio', '--help'] 1697s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1697s # Output: Usage: 1697s # gio COMMAND [ARGS…] 1697s # 1697s # Commands: 1697s # help Print help 1697s # version Print version 1697s # cat Concatenate files to standard output 1697s # copy Copy one or more files 1697s # info Show information about locations 1697s # launch Launch an application from a desktop file 1697s # list List the contents of locations 1697s # mime Get or set the handler for a mimetype 1697s # mkdir Create directories 1697s # monitor Monitor files and directories for changes 1697s # mount Mount or unmount the locations 1697s # move Move one or more files 1697s # open Open files with the default application 1697s # rename Rename a file 1697s # remove Delete one or more files 1697s # save Read from standard input and save 1697s # set Set a file attribute 1697s # trash Move files or directories to the trash 1697s # tree Lists the contents of locations in a tree 1697s # 1697s # Use “gio help COMMAND” to get detailed help. 1697s # Running: ['/usr/bin/gio', 'help'] 1697s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1697s # Output: Usage: 1697s # gio COMMAND [ARGS…] 1697s # 1697s # Commands: 1697s # help Print help 1697s # version Print version 1697s # cat Concatenate files to standard output 1697s # copy Copy one or more files 1697s # info Show information about locations 1697s # launch Launch an application from a desktop file 1697s # list List the contents of locations 1697s # mime Get or set the handler for a mimetype 1697s # mkdir Create directories 1697s # monitor Monitor files and directories for changes 1697s # mount Mount or unmount the locations 1697s # move Move one or more files 1697s # open Open files with the default application 1697s # rename Rename a file 1697s # remove Delete one or more files 1697s # save Read from standard input and save 1697s # set Set a file attribute 1697s # trash Move files or directories to the trash 1697s # tree Lists the contents of locations in a tree 1697s # 1697s # Use “gio help COMMAND” to get detailed help. 1697s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1697s # tmpdir: /tmp/tmpo1_jjfox 1697s # gio: /usr/bin/gio 1697s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpo1_jjfox/tmp9_4sb4e1'] 1697s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1697s # Output: uri: file:///tmp/tmpo1_jjfox/tmp9_4sb4e1 1697s # local path: /tmp/tmpo1_jjfox/tmp9_4sb4e1 1697s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1697s # attributes: 1697s # standard::content-type: application/x-zerosize 1697s ok 3 __main__.TestGioTool.test_no_args 1697s # tmpdir: /tmp/tmpw08y2nj1 1697s # gio: /usr/bin/gio 1697s # Running: ['/usr/bin/gio'] 1697s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1697s 1..3 1697s ok - glib/gio-tool.py.test 1697s # Running test: glib/file-thumbnail.test 1697s TAP version 13 1697s # random seed: R02S1fb1946699a8a3a83d23eff91486b303 1697s 1..7 1697s # Start of file-thumbnail tests 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/fail/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/fail/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/fail/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/fail/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/fail/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/fail/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/fail/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/fail/.dirs/runtime 1697s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1697s # Created test thumbnail at /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1697s ok 1 /file-thumbnail/fail 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/runtime 1697s # Created test thumbnail at /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1697s # Created test thumbnail at /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1697s # Created test thumbnail at /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1697s # Created test thumbnail at /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1697s # Created test thumbnail at /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1697s ok 2 /file-thumbnail/size-priority 1697s # Start of valid tests 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/normal/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/normal/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/normal/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/normal/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/normal/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/normal/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/normal/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/normal/.dirs/runtime 1697s # Created test thumbnail at /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1697s ok 3 /file-thumbnail/valid/normal 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/large/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/large/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/large/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/large/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/large/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/large/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/large/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/large/.dirs/runtime 1697s # Created test thumbnail at /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1697s ok 4 /file-thumbnail/valid/large 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/x-large/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/x-large/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/x-large/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/x-large/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/x-large/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/x-large/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/x-large/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/x-large/.dirs/runtime 1697s # Created test thumbnail at /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1697s ok 5 /file-thumbnail/valid/x-large 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/xx-large/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/xx-large/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/xx-large/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/xx-large/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/xx-large/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/xx-large/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/xx-large/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/xx-large/.dirs/runtime 1697s # Created test thumbnail at /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1697s ok 6 /file-thumbnail/valid/xx-large 1697s # End of valid tests 1697s # Start of unknown tests 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/unknown/super-large/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/unknown/super-large/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/unknown/super-large/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/unknown/super-large/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/unknown/super-large/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/unknown/super-large/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/unknown/super-large/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/unknown/super-large/.dirs/runtime 1697s # Created test thumbnail at /tmp/test_file-thumbnail_B1NXJ2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1697s ok 7 /file-thumbnail/unknown/super-large 1697s # End of unknown tests 1697s # End of file-thumbnail tests 1697s ok - glib/file-thumbnail.test 1697s # Running test: glib/environment.test 1697s TAP version 13 1697s # random seed: R02Sc8f2033688406ad5652cab3f778722cf 1698s 1..6 1698s # Start of environ tests 1698s # /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. 1698s ok 1 /environ/listenv 1698s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1698s ok 2 /environ/getenv 1698s ok 3 /environ/setenv 1698s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1698s ok 4 /environ/array 1698s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1698s ok 5 /environ/null 1698s # /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. 1698s ok 6 /environ/case 1698s # End of environ tests 1698s ok - glib/environment.test 1698s # Running test: glib/performance.test 1698s Running test simple-construction 1700s # Executing: glib/performance.test 1704s Millions of constructed objects per second: 3.717 1704s Running test simple-construction1 1705s # Executing: glib/performance.test 1709s Millions of constructed objects per second: 27.753 1709s Running test complex-construction 1710s # Executing: glib/performance.test 1713s Millions of constructed objects per second: 1.617 1713s Running test complex-construction1 1715s # Executing: glib/performance.test 1719s Millions of constructed objects per second: 2.763 1719s Running test complex-construction2 1720s # Executing: glib/performance.test 1724s Millions of constructed objects per second: 2.904 1724s Running test finalization 1725s # Executing: glib/performance.test 1726s Millions of finalized objects per second: 0.843 1726s Running test type-check 1726s Million type checks per second: inf 1726s Running test emit-unhandled 1728s Emissions per second: 1121354 1728s Running test emit-unhandled-empty 1729s Emissions per second: 7037771 1729s Running test emit-unhandled-generic 1730s # Executing: glib/performance.test 1730s Emissions per second: 1517482 1730s Running test emit-unhandled-generic-empty 1732s Emissions per second: 7016201 1732s Running test emit-unhandled-args 1733s Emissions per second: 983748 1733s Running test emit-handled 1735s # Executing: glib/performance.test 1735s Emissions per second: 775541 1735s Running test emit-handled-empty 1737s Emissions per second: 820334 1737s Running test emit-handled-generic 1738s Emissions per second: 806689 1738s Running test emit-handled-generic-empty 1740s Emissions per second: 1344498 1740s Running test emit-handled-args 1740s # Executing: glib/performance.test 1742s Emissions per second: 714467 1742s Running test notify-unhandled 1743s Notify (unhandled) per second: 7046271 1743s Running test notify-by-pspec-unhandled 1744s Notify (unhandled) per second: 26524058 1744s Running test notify-handled 1745s # Executing: glib/performance.test 1746s Notify per second: 459770 1746s Running test notify-by-pspec-handled 1748s Notify per second: 495947 1748s Running test property-set 1749s Property set per second: 2560350 1749s Running test property-get 1750s # Executing: glib/performance.test 1751s Property get per second: 2513510 1751s Running test refcount 1755s # Executing: glib/performance.test 1755s Million refs+unref per second: 7.45 1755s ok - glib/performance.test 1755s # Running test: glib/cxx-03.test 1755s TAP version 13 1755s # random seed: R02S4b71f54f41fb0deda72fcef0e3d93089 1755s 1..2 1755s # Start of gtask tests 1755s # 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. 1755s ok 1 /gtask/name 1755s # Start of name tests 1755s # 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. 1755s ok 2 /gtask/name/macro-wrapper 1755s # End of name tests 1755s # End of gtask tests 1755s ok - glib/cxx-03.test 1755s # Running test: glib/overflow-fallback.test 1755s TAP version 13 1755s # random seed: R02S40897579d46fb2a03f503a49efded3d6 1755s 1..6 1755s # Start of glib tests 1755s # Start of checked-math tests 1755s ok 1 /glib/checked-math/guint-add 1755s ok 2 /glib/checked-math/guint-mul 1755s ok 3 /glib/checked-math/guint64-add 1755s ok 4 /glib/checked-math/guint64-mul 1755s ok 5 /glib/checked-math/gsize-add 1755s ok 6 /glib/checked-math/gsize-mul 1755s # End of checked-math tests 1755s # End of glib tests 1755s ok - glib/overflow-fallback.test 1755s # Running test: glib/portal-support-snap-classic.test 1755s TAP version 13 1755s # random seed: R02Sfa1f79653e8be01482df3f54e29d77ce 1755s 1..3 1755s # Start of portal-support tests 1755s # Start of snap-classic tests 1755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/no-snapctl/.dirs/home 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/no-snapctl/.dirs/cache 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/no-snapctl/.dirs/config 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/no-snapctl/.dirs/data 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/no-snapctl/.dirs/state 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1755s ok 1 /portal-support/snap-classic/no-snapctl 1755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/none/.dirs/home 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/none/.dirs/cache 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/none/.dirs/system-config2 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/none/.dirs/config 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/none/.dirs/system-data2 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/none/.dirs/data 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/none/.dirs/state 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/none/.dirs/runtime 1755s # Created snap.yaml in /tmp/test_portal-support-snap-classic_KVCXJ2/meta/snap.yaml 1755s # Created snapctl in /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1755s ok 2 /portal-support/snap-classic/none 1755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/all/.dirs/home 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/all/.dirs/cache 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/all/.dirs/system-config2 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/all/.dirs/config 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/all/.dirs/system-data2 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/all/.dirs/data 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/all/.dirs/state 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/all/.dirs/runtime 1755s # Created snap.yaml in /tmp/test_portal-support-snap-classic_KVCXJ2/meta/snap.yaml 1755s # Created snapctl in /tmp/test_portal-support-snap-classic_KVCXJ2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1755s ok 3 /portal-support/snap-classic/all 1755s # End of snap-classic tests 1755s # End of portal-support tests 1755s ok - glib/portal-support-snap-classic.test 1755s # Running test: glib/gdbus-introspection.test 1755s TAP version 13 1755s # random seed: R02S0f9c937b21601ea66b774be9971593f5 1755s 1..4 1755s # Start of gdbus tests 1755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-parser/.dirs/home 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-parser/.dirs/cache 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-parser/.dirs/system-config2 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-parser/.dirs/config 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-parser/.dirs/system-data2 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-parser/.dirs/data 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-parser/.dirs/state 1755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-parser/.dirs/runtime 1755s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1756s ok 1 /gdbus/introspection-parser 1756s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-generate/.dirs/home 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-generate/.dirs/cache 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-generate/.dirs/system-config2 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-generate/.dirs/config 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-generate/.dirs/system-data2 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-generate/.dirs/data 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-generate/.dirs/state 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-generate/.dirs/runtime 1756s ok 2 /gdbus/introspection-generate 1756s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-default-direction/.dirs/home 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-default-direction/.dirs/cache 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-default-direction/.dirs/system-config2 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-default-direction/.dirs/config 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-default-direction/.dirs/system-data2 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-default-direction/.dirs/data 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-default-direction/.dirs/state 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-default-direction/.dirs/runtime 1756s ok 3 /gdbus/introspection-default-direction 1756s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-extra-data/.dirs/home 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-extra-data/.dirs/cache 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-extra-data/.dirs/system-config2 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-extra-data/.dirs/config 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-extra-data/.dirs/system-data2 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-extra-data/.dirs/data 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-extra-data/.dirs/state 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_9HNZJ2/gdbus/introspection-extra-data/.dirs/runtime 1756s ok 4 /gdbus/introspection-extra-data 1756s # End of gdbus tests 1756s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1756s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1756s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1756s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1756s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1756s ok - glib/gdbus-introspection.test 1756s # Running test: glib/power-profile-monitor-portal.test 1756s TAP version 13 1756s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1757s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1757s 1..2 1757s ok - glib/power-profile-monitor-portal.test 1757s # Running test: glib/autoptr-gio.test 1757s TAP version 13 1757s # random seed: R02S6eb83e83c3e7454f0e75850c76b69144 1757s 1..1 1757s # Start of autoptr tests 1757s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1757s ok 1 /autoptr/autoptr 1757s # End of autoptr tests 1757s ok - glib/autoptr-gio.test 1757s # Running test: glib/unix-mounts.test 1757s TAP version 13 1757s # random seed: R02S5041bcb10c719660d034298d179411cf 1757s 1..2 1757s # Start of unix-mounts tests 1757s ok 1 /unix-mounts/is-system-fs-type 1757s ok 2 /unix-mounts/is-system-device-path 1757s # End of unix-mounts tests 1757s ok - glib/unix-mounts.test 1757s # Running test: glib/unix.test 1757s TAP version 13 1757s # random seed: R02Sa1e3af331a7ea8e686e49788502e0d64 1757s 1..17 1757s # Start of glib-unix tests 1757s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1757s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1757s ok 1 /glib-unix/closefrom 1757s ok 2 /glib-unix/pipe 1757s # /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 1757s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1757s ok 3 /glib-unix/pipe-stdio-overwrite 1757s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1757s ok 4 /glib-unix/pipe-struct 1757s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1757s ok 5 /glib-unix/pipe-struct-auto 1757s ok 6 /glib-unix/error 1757s ok 7 /glib-unix/nonblocking 1758s ok 8 /glib-unix/sighup 1758s # slow test /glib-unix/sighup executed in 0.50 secs 1758s ok 9 /glib-unix/sigterm 1758s # slow test /glib-unix/sigterm executed in 0.50 secs 1759s ok 10 /glib-unix/sighup_again 1759s # slow test /glib-unix/sighup_again executed in 0.50 secs 1759s ok 11 /glib-unix/sighup_add_remove 1759s ok 12 /glib-unix/sighup_nested 1760s # Executing: glib/unix.test 1761s ok 13 /glib-unix/callback_after_signal 1761s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1761s ok 14 /glib-unix/child-wait 1761s # Start of closefrom tests 1761s # Start of subprocess tests 1761s # End of subprocess tests 1761s # End of closefrom tests 1761s # Start of pipe tests 1761s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1761s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1761s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1761s ok 15 /glib-unix/pipe/fd-cloexec 1761s # End of pipe tests 1761s # Start of get-passwd-entry tests 1761s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1761s ok 16 /glib-unix/get-passwd-entry/root 1761s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1761s ok 17 /glib-unix/get-passwd-entry/nonexistent 1761s # End of get-passwd-entry tests 1761s # End of glib-unix tests 1761s ok - glib/unix.test 1761s # Running test: glib/gdbus-test-codegen.test 1761s TAP version 13 1761s # random seed: R02S5b2e5414c46f6190f1538ac980646593 1761s 1..8 1761s # Start of gdbus tests 1761s # Start of codegen tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/annotations/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/annotations/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/annotations/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/annotations/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/annotations/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/annotations/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/annotations/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/annotations/.dirs/runtime 1761s ok 1 /gdbus/codegen/annotations 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/interface_stability/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/interface_stability/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/interface_stability/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/interface_stability/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/interface_stability/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/interface_stability/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/interface_stability/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/interface_stability/.dirs/runtime 1761s ok 2 /gdbus/codegen/interface_stability 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/object-manager/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/object-manager/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/object-manager/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/object-manager/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/object-manager/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/object-manager/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/object-manager/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/object-manager/.dirs/runtime 1761s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1761s ok 3 /gdbus/codegen/object-manager 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/property-naming/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/property-naming/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/property-naming/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/property-naming/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/property-naming/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/property-naming/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/property-naming/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/property-naming/.dirs/runtime 1761s ok 4 /gdbus/codegen/property-naming 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/autocleanups/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/autocleanups/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/autocleanups/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/autocleanups/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/autocleanups/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/autocleanups/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/autocleanups/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/autocleanups/.dirs/runtime 1761s ok 5 /gdbus/codegen/autocleanups 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/deprecations/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/deprecations/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/deprecations/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/deprecations/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/deprecations/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/deprecations/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/deprecations/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/deprecations/.dirs/runtime 1761s ok 6 /gdbus/codegen/deprecations 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/standalone-interface-info/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/standalone-interface-info/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/standalone-interface-info/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/standalone-interface-info/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/standalone-interface-info/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1761s ok 7 /gdbus/codegen/standalone-interface-info 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/unix-fd-list/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/unix-fd-list/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/unix-fd-list/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/unix-fd-list/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/unix-fd-list/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_83F7J2/gdbus/codegen/unix-fd-list/.dirs/runtime 1761s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1761s ok 8 /gdbus/codegen/unix-fd-list 1761s # End of codegen tests 1761s # End of gdbus tests 1761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1761s ok - glib/gdbus-test-codegen.test 1761s # Running test: glib/resolver-parsing.test 1761s TAP version 13 1761s # random seed: R02S4ce3a1b4181513ff9481493cecdee06a 1761s 1..20 1761s # Start of gresolver tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/invalid-header/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/invalid-header/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/invalid-header/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/invalid-header/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/invalid-header/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/invalid-header/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/invalid-header/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/invalid-header/.dirs/runtime 1761s ok 1 /gresolver/invalid-header 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/unknown-record-type/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/unknown-record-type/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/unknown-record-type/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/unknown-record-type/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/unknown-record-type/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/unknown-record-type/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/unknown-record-type/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/unknown-record-type/.dirs/runtime 1761s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 1761s ok 2 /gresolver/unknown-record-type 1761s # Start of mx tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/valid/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/valid/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/mx/valid/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/valid/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/mx/valid/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/valid/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/valid/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/valid/.dirs/runtime 1761s ok 3 /gresolver/mx/valid 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/.dirs/runtime 1761s ok 4 /gresolver/mx/invalid 1761s # Start of invalid tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short/.dirs/runtime 1761s ok 5 /gresolver/mx/invalid/too-short 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short2/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short2/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short2/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short2/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short2/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/mx/invalid/too-short2/.dirs/runtime 1761s ok 6 /gresolver/mx/invalid/too-short2 1761s # End of invalid tests 1761s # End of mx tests 1761s # Start of ns tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/valid/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/valid/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/ns/valid/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/valid/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/ns/valid/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/valid/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/valid/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/valid/.dirs/runtime 1761s ok 7 /gresolver/ns/valid 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/invalid/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/invalid/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/ns/invalid/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/invalid/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/ns/invalid/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/invalid/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/invalid/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/ns/invalid/.dirs/runtime 1761s ok 8 /gresolver/ns/invalid 1761s # End of ns tests 1761s # Start of soa tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/valid/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/valid/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/soa/valid/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/valid/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/soa/valid/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/valid/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/valid/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/valid/.dirs/runtime 1761s ok 9 /gresolver/soa/valid 1761s # Start of invalid tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/mname/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/mname/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/mname/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/mname/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/mname/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/mname/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/mname/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/mname/.dirs/runtime 1761s ok 10 /gresolver/soa/invalid/mname 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/rname/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/rname/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/rname/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/rname/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/rname/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/rname/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/rname/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/rname/.dirs/runtime 1761s ok 11 /gresolver/soa/invalid/rname 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/too-short/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/too-short/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/too-short/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/too-short/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/too-short/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/too-short/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/too-short/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/soa/invalid/too-short/.dirs/runtime 1761s ok 12 /gresolver/soa/invalid/too-short 1761s # End of invalid tests 1761s # End of soa tests 1761s # Start of srv tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/valid/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/valid/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/srv/valid/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/valid/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/srv/valid/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/valid/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/valid/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/valid/.dirs/runtime 1761s ok 13 /gresolver/srv/valid 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/.dirs/runtime 1761s ok 14 /gresolver/srv/invalid 1761s # Start of invalid tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short/.dirs/runtime 1761s ok 15 /gresolver/srv/invalid/too-short 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short2/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short2/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short2/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short2/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short2/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/srv/invalid/too-short2/.dirs/runtime 1761s ok 16 /gresolver/srv/invalid/too-short2 1761s # End of invalid tests 1761s # End of srv tests 1761s # Start of txt tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/.dirs/runtime 1761s ok 17 /gresolver/txt/valid 1761s # Start of valid tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/multiple-strings/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/multiple-strings/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/multiple-strings/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/multiple-strings/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/multiple-strings/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1761s ok 18 /gresolver/txt/valid/multiple-strings 1761s # End of valid tests 1761s # Start of invalid tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/empty/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/empty/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/empty/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/empty/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/empty/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/empty/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/empty/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/empty/.dirs/runtime 1761s ok 19 /gresolver/txt/invalid/empty 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/overflow/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/overflow/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/overflow/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/overflow/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/overflow/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/overflow/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/overflow/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_I6D2J2/gresolver/txt/invalid/overflow/.dirs/runtime 1761s ok 20 /gresolver/txt/invalid/overflow 1761s # End of invalid tests 1761s # End of txt tests 1761s # End of gresolver tests 1761s ok - glib/resolver-parsing.test 1761s # Running test: glib/cmph-bdz.test 1761s TAP version 13 1761s # random seed: R02Se4d5493576e616ef65bc55fb489fd27d 1761s 1..2 1761s # Start of cmph-bdz tests 1761s ok 1 /cmph-bdz/search 1761s ok 2 /cmph-bdz/search-packed 1761s # End of cmph-bdz tests 1761s ok - glib/cmph-bdz.test 1761s # Running test: glib/gdbus-proxy-well-known-name.test 1761s TAP version 13 1761s # random seed: R02Se1b31c0283b9a0ffadd9d423a095d3ad 1761s 1..1 1761s # Start of gdbus tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_D912J2/gdbus/proxy-well-known-name/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_D912J2/gdbus/proxy-well-known-name/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_D912J2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_D912J2/gdbus/proxy-well-known-name/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_D912J2/gdbus/proxy-well-known-name/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_D912J2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_D912J2/gdbus/proxy-well-known-name/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_D912J2/gdbus/proxy-well-known-name/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_D912J2/gdbus/proxy-well-known-name/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_D912J2/gdbus/proxy-well-known-name/.dirs/runtime 1761s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1761s ok 1 /gdbus/proxy-well-known-name 1761s # End of gdbus tests 1761s ok - glib/gdbus-proxy-well-known-name.test 1761s # Running test: glib/utils-c-17.test 1761s TAP version 13 1761s # random seed: R02S7f89fd1d3944c96166b89f8b2aa5bb50 1761s 1..40 1761s # Start of utils tests 1761s ok 1 /utils/language-names 1761s ok 2 /utils/locale-variants 1761s ok 3 /utils/version 1761s ok 4 /utils/appname 1761s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1761s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1761s ok 5 /utils/prgname-thread-safety 1761s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1761s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1761s ok 6 /utils/tmpdir 1761s ok 7 /utils/basic_bits 1761s ok 8 /utils/bits 1761s ok 9 /utils/swap 1761s ok 10 /utils/find-program 1761s ok 11 /utils/find-program-for-path 1761s ok 12 /utils/debug 1761s ok 13 /utils/codeset 1761s ok 14 /utils/codeset2 1761s ok 15 /utils/console-charset 1761s ok 16 /utils/gettext 1761s ok 17 /utils/username 1761s ok 18 /utils/realname 1761s ok 19 /utils/hostname 1761s ok 20 /utils/xdgdirs 1761s ok 21 /utils/specialdir 1761s # NAME: Ubuntu 1761s ok 22 /utils/os-info 1761s ok 23 /utils/clear-pointer 1761s ok 24 /utils/clear-pointer-cast 1761s ok 25 /utils/take-pointer 1761s ok 26 /utils/clear-source 1761s ok 27 /utils/misc-mem 1761s # /utils/aligned-mem summary: Aligned memory allocator 1761s # Alignment must not be zero 1761s # Alignment must be a power of two 1761s # Alignment must be a multiple of sizeof(void*) 1761s ok 28 /utils/aligned-mem 1761s # /utils/free-sized summary: Check that g_free_sized() works 1761s ok 29 /utils/free-sized 1761s ok 30 /utils/nullify 1761s ok 31 /utils/atexit 1761s ok 32 /utils/check-setuid 1761s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1761s ok 33 /utils/int-limits 1761s ok 34 /utils/clear-list 1761s ok 35 /utils/clear-slist 1761s # Start of specialdir tests 1761s ok 36 /utils/specialdir/desktop 1761s # End of specialdir tests 1761s # Start of clear-pointer tests 1761s ok 37 /utils/clear-pointer/side-effects 1761s # End of clear-pointer tests 1761s # Start of aligned-mem tests 1761s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1761s ok 38 /utils/aligned-mem/alignment 1761s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1761s ok 39 /utils/aligned-mem/zeroed 1761s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1761s ok 40 /utils/aligned-mem/free-sized 1761s # Start of subprocess tests 1761s # End of subprocess tests 1761s # End of aligned-mem tests 1761s # End of utils tests 1761s ok - glib/utils-c-17.test 1761s # Running test: glib/inet-address.test 1761s TAP version 13 1761s # random seed: R02S3d3b608bf4520f39c2c099f927fbafb6 1761s 1..11 1761s # Start of inet-address tests 1761s ok 1 /inet-address/parse 1761s ok 2 /inet-address/any 1761s ok 3 /inet-address/loopback 1761s ok 4 /inet-address/bytes 1761s ok 5 /inet-address/property 1761s # End of inet-address tests 1761s # Start of socket-address tests 1761s ok 6 /socket-address/basic 1761s ok 7 /socket-address/to-string 1761s # End of socket-address tests 1761s # Start of address-mask tests 1761s ok 8 /address-mask/parse 1761s ok 9 /address-mask/property 1761s ok 10 /address-mask/equal 1761s ok 11 /address-mask/match 1761s # End of address-mask tests 1761s ok - glib/inet-address.test 1761s # Running test: glib/portal-support-flatpak-network-only.test 1761s TAP version 13 1761s # random seed: R02S0ec6490bfae4c6c7137a1dbe177812c8 1761s 1..1 1761s # Start of portal-support tests 1761s # Start of flatpak tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_BPPXJ2/portal-support/flatpak/network/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_BPPXJ2/portal-support/flatpak/network/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_BPPXJ2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_BPPXJ2/portal-support/flatpak/network/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_BPPXJ2/portal-support/flatpak/network/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_BPPXJ2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_BPPXJ2/portal-support/flatpak/network/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_BPPXJ2/portal-support/flatpak/network/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_BPPXJ2/portal-support/flatpak/network/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_BPPXJ2/portal-support/flatpak/network/.dirs/runtime 1761s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_BPPXJ2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1761s ok 1 /portal-support/flatpak/network 1761s # End of flatpak tests 1761s # End of portal-support tests 1761s ok - glib/portal-support-flatpak-network-only.test 1761s # Running test: glib/node.test 1761s TAP version 13 1761s # random seed: R02Sb4cf382a41f9ea921b30358a88cb8dd7 1761s 1..6 1761s # Start of node tests 1761s ok 1 /node/allocation 1761s ok 2 /node/construction 1761s ok 3 /node/traversal 1761s ok 4 /node/misc 1761s ok 5 /node/unlink 1761s ok 6 /node/copy 1761s # End of node tests 1761s ok - glib/node.test 1761s # Running test: glib/rcbox.test 1761s TAP version 13 1761s # random seed: R02S4b46dfd197d8b6c6ad537d6113567667 1761s 1..8 1761s # Start of rcbox tests 1761s ok 1 /rcbox/new 1761s # global_point = 0xb700e9483870 1761s ok 2 /rcbox/release-full 1761s # global_point_a = 0xb700e9483870 1761s # global_point_b = 0xb700e9483830 1761s ok 3 /rcbox/dup 1761s ok 4 /rcbox/alignment 1761s # End of rcbox tests 1761s # Start of atomic-rcbox tests 1761s ok 5 /atomic-rcbox/new 1761s # global_point = 0xb700e9483a40 1761s ok 6 /atomic-rcbox/release-full 1761s # global_point_a = 0xb700e9483a40 1761s # global_point_b = 0xb700e9483a00 1761s ok 7 /atomic-rcbox/dup 1761s ok 8 /atomic-rcbox/alignment 1761s # End of atomic-rcbox tests 1761s ok - glib/rcbox.test 1761s # Running test: glib/dynamictype.test 1762s TAP version 13 1762s # random seed: R02S0380e0eb059d032614adda54eb043bd6 1762s 1..2 1762s # Start of gobject tests 1762s ok 1 /gobject/dynamic-type 1762s # Start of dynamic-type tests 1762s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1762s ok 2 /gobject/dynamic-type/query 1762s # End of dynamic-type tests 1762s # End of gobject tests 1762s ok - glib/dynamictype.test 1762s # Running test: glib/utils-c-11.test 1762s TAP version 13 1762s # random seed: R02S77596b48bfcceec65d93e7551fa8a942 1762s 1..40 1762s # Start of utils tests 1762s ok 1 /utils/language-names 1762s ok 2 /utils/locale-variants 1762s ok 3 /utils/version 1762s ok 4 /utils/appname 1762s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1762s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1762s ok 5 /utils/prgname-thread-safety 1762s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1762s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1762s ok 6 /utils/tmpdir 1762s ok 7 /utils/basic_bits 1762s ok 8 /utils/bits 1762s ok 9 /utils/swap 1762s ok 10 /utils/find-program 1762s ok 11 /utils/find-program-for-path 1762s ok 12 /utils/debug 1762s ok 13 /utils/codeset 1762s ok 14 /utils/codeset2 1762s ok 15 /utils/console-charset 1762s ok 16 /utils/gettext 1762s ok 17 /utils/username 1762s ok 18 /utils/realname 1762s ok 19 /utils/hostname 1762s ok 20 /utils/xdgdirs 1762s ok 21 /utils/specialdir 1762s # NAME: Ubuntu 1762s ok 22 /utils/os-info 1762s ok 23 /utils/clear-pointer 1762s ok 24 /utils/clear-pointer-cast 1762s ok 25 /utils/take-pointer 1762s ok 26 /utils/clear-source 1762s ok 27 /utils/misc-mem 1762s # /utils/aligned-mem summary: Aligned memory allocator 1762s # Alignment must not be zero 1762s # Alignment must be a power of two 1762s # Alignment must be a multiple of sizeof(void*) 1762s ok 28 /utils/aligned-mem 1762s # /utils/free-sized summary: Check that g_free_sized() works 1762s ok 29 /utils/free-sized 1762s ok 30 /utils/nullify 1762s ok 31 /utils/atexit 1762s ok 32 /utils/check-setuid 1762s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1762s ok 33 /utils/int-limits 1762s ok 34 /utils/clear-list 1762s ok 35 /utils/clear-slist 1762s # Start of specialdir tests 1762s ok 36 /utils/specialdir/desktop 1762s # End of specialdir tests 1762s # Start of clear-pointer tests 1762s ok 37 /utils/clear-pointer/side-effects 1762s # End of clear-pointer tests 1762s # Start of aligned-mem tests 1762s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1762s ok 38 /utils/aligned-mem/alignment 1762s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1762s ok 39 /utils/aligned-mem/zeroed 1762s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1762s ok 40 /utils/aligned-mem/free-sized 1762s # Start of subprocess tests 1762s # End of subprocess tests 1762s # End of aligned-mem tests 1762s # End of utils tests 1762s ok - glib/utils-c-11.test 1762s # Running test: glib/refstring.test 1762s TAP version 13 1762s # random seed: R02S116370b51b872ab4c7c8d7f5c63618ff 1762s 1..5 1762s # Start of refstring tests 1762s # s = 'hello, world' (0xbe0cae0c0600) 1762s ok 1 /refstring/base 1762s ok 2 /refstring/length 1762s ok 3 /refstring/length-auto 1762s ok 4 /refstring/length-nuls 1762s # s = 'hello, world' (0xbe0cae0c0600) 1762s # p = s = 'hello, world' (0xbe0cae0c0600) 1762s # releasing p[0xbe0cae0c0600] ('hello, world') 1762s # p = 'goodbye, world' (0xbe0cae0c8660) 1762s # releasing p[0xbe0cae0c8660] ('goodbye, world') 1762s # releasing s[0xbe0cae0c0600] ('hello, world') 1762s ok 5 /refstring/intern 1762s # End of refstring tests 1762s ok - glib/refstring.test 1762s # Running test: glib/guuid.test 1762s TAP version 13 1762s # random seed: R02S6e01b4daa4513c731015cac561a99df0 1762s 1..2 1762s # Start of uuid tests 1762s ok 1 /uuid/string 1762s ok 2 /uuid/random 1762s # End of uuid tests 1762s ok - glib/guuid.test 1762s # Running test: glib/custom-dispatch.test 1762s TAP version 13 1762s # random seed: R02Sa9f381fe84f19e142c0d345c6fdb3425 1762s 1..2 1762s # Start of properties tests 1762s # Start of custom-dispatch tests 1762s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1762s ok 1 /properties/custom-dispatch/init 1762s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1762s ok 2 /properties/custom-dispatch/set 1762s # End of custom-dispatch tests 1762s # End of properties tests 1762s ok - glib/custom-dispatch.test 1762s # Running test: glib/charset.test 1762s TAP version 13 1762s # random seed: R02Sc6699a2bfd0f562dc46375588f1fa681 1762s 1..2 1762s # Start of charset tests 1762s # Test 0 1762s # Test 1 1762s # Test 2 1762s # Test 3 1762s ok 1 /charset/language_names_with_category 1762s ok 2 /charset/language_names_with_category_async 1762s # End of charset tests 1762s ok - glib/charset.test 1762s # Running test: glib/memory-input-stream.test 1762s TAP version 13 1762s # random seed: R02S811801b05863ade24906b388e25ec794 1762s 1..6 1762s # Start of memory-input-stream tests 1762s ok 1 /memory-input-stream/read-chunks 1762s ok 2 /memory-input-stream/async 1762s ok 3 /memory-input-stream/seek 1762s ok 4 /memory-input-stream/truncate 1762s ok 5 /memory-input-stream/read-bytes 1762s ok 6 /memory-input-stream/from-bytes 1762s # End of memory-input-stream tests 1762s ok - glib/memory-input-stream.test 1762s # Running test: glib/dbus-appinfo.test 1762s TAP version 13 1762s # random seed: R02S5f2ff8836b9e9d009cf316de77fc866c 1762s 1..3 1762s # Start of appinfo tests 1762s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1762s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1762s ok 1 /appinfo/dbusappinfo 1762s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1762s dbus-daemon[13099]: [session uid=1000 pid=13099] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=13098 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1762s # Acquired a message bus connection 1762s dbus-daemon[13099]: [session uid=1000 pid=13099] Successfully activated service 'org.freedesktop.portal.Documents' 1762s # Acquired the name org.freedesktop.portal.Documents 1762s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1762s ok 2 /appinfo/flatpak-doc-export 1762s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1762s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1762s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1762s ok 3 /appinfo/flatpak-missing-doc-export 1762s # End of appinfo tests 1762s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1762s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1762s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1762s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1762s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1762s # Lost the name org.freedesktop.portal.Documents 1762s ok - glib/dbus-appinfo.test 1762s # Running test: glib/keyfile.test 1762s TAP version 13 1762s # random seed: R02S9d9ad39e4732951510545b161d0fa55b 1762s 1..36 1762s # Start of keyfile tests 1762s ok 1 /keyfile/line-ends 1762s ok 2 /keyfile/whitespace 1762s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1762s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1762s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1762s ok 3 /keyfile/comments 1762s ok 4 /keyfile/listing 1762s ok 5 /keyfile/string 1762s ok 6 /keyfile/boolean 1762s ok 7 /keyfile/number 1762s ok 8 /keyfile/locale-string 1762s ok 9 /keyfile/lists 1762s ok 10 /keyfile/lists-set-get 1762s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1762s ok 11 /keyfile/group-remove 1762s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1762s ok 12 /keyfile/key-remove 1762s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1762s ok 13 /keyfile/groups 1762s ok 14 /keyfile/duplicate-keys 1762s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1762s ok 15 /keyfile/duplicate-groups 1762s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1762s ok 16 /keyfile/duplicate-groups2 1762s ok 17 /keyfile/group-names 1762s ok 18 /keyfile/key-names 1762s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1762s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1762s ok 19 /keyfile/reload 1762s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1762s ok 20 /keyfile/int64 1762s ok 21 /keyfile/load 1762s ok 22 /keyfile/save 1762s ok 23 /keyfile/load-fail 1762s ok 24 /keyfile/non-utf8 1762s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1762s ok 25 /keyfile/page-boundary 1762s ok 26 /keyfile/ref 1762s ok 27 /keyfile/replace-value 1762s ok 28 /keyfile/list-separator 1762s ok 29 /keyfile/empty-string 1762s ok 30 /keyfile/limbo 1762s # Testing invalid encoding ?non-UTF-8? 1762s # Testing invalid encoding ?UTF? 1762s # Testing invalid encoding ?UTF-9? 1762s ok 31 /keyfile/utf8 1762s ok 32 /keyfile/roundtrip 1762s ok 33 /keyfile/bytes 1762s ok 34 /keyfile/get-locale 1762s ok 35 /keyfile/free-when-not-last-ref 1762s # Start of locale-string tests 1762s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1762s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1762s ok 36 /keyfile/locale-string/multiple-loads 1762s # End of locale-string tests 1762s # End of keyfile tests 1762s ok - glib/keyfile.test 1762s # Running test: glib/markup-parse.test 1762s TAP version 13 1762s # random seed: R02S2b40d22d3c92ec8088eea6fead5de48a 1762s 1..71 1762s # Start of markup tests 1762s # Start of parse tests 1762s ok 1 /markup/parse/valid-9.gmarkup 1762s ok 2 /markup/parse/fail-52.gmarkup 1762s ok 3 /markup/parse/fail-50.gmarkup 1762s ok 4 /markup/parse/fail-9.gmarkup 1762s ok 5 /markup/parse/fail-34.gmarkup 1762s ok 6 /markup/parse/fail-54.gmarkup 1762s ok 7 /markup/parse/fail-13.gmarkup 1762s ok 8 /markup/parse/fail-18.gmarkup 1762s ok 9 /markup/parse/valid-12.gmarkup 1762s ok 10 /markup/parse/fail-7.gmarkup 1762s ok 11 /markup/parse/fail-2.gmarkup 1762s ok 12 /markup/parse/fail-17.gmarkup 1762s ok 13 /markup/parse/fail-4.gmarkup 1762s ok 14 /markup/parse/fail-5.gmarkup 1762s ok 15 /markup/parse/valid-10.gmarkup 1762s ok 16 /markup/parse/fail-53.gmarkup 1762s ok 17 /markup/parse/valid-1.gmarkup 1762s ok 18 /markup/parse/fail-12.gmarkup 1762s ok 19 /markup/parse/fail-28.gmarkup 1762s ok 20 /markup/parse/fail-51.gmarkup 1762s ok 21 /markup/parse/fail-1.gmarkup 1762s ok 22 /markup/parse/valid-3.gmarkup 1762s ok 23 /markup/parse/fail-26.gmarkup 1762s ok 24 /markup/parse/fail-45.gmarkup 1762s ok 25 /markup/parse/fail-3.gmarkup 1762s ok 26 /markup/parse/fail-41.gmarkup 1762s ok 27 /markup/parse/valid-15.gmarkup 1762s ok 28 /markup/parse/fail-36.gmarkup 1762s ok 29 /markup/parse/valid-7.gmarkup 1762s ok 30 /markup/parse/fail-40.gmarkup 1762s ok 31 /markup/parse/fail-11.gmarkup 1762s ok 32 /markup/parse/valid-14.gmarkup 1762s ok 33 /markup/parse/fail-25.gmarkup 1762s ok 34 /markup/parse/fail-19.gmarkup 1762s ok 35 /markup/parse/valid-6.gmarkup 1762s ok 36 /markup/parse/fail-44.gmarkup 1762s ok 37 /markup/parse/valid-11.gmarkup 1762s ok 38 /markup/parse/valid-17.gmarkup 1762s ok 39 /markup/parse/valid-8.gmarkup 1762s ok 40 /markup/parse/valid-13.gmarkup 1762s ok 41 /markup/parse/fail-49.gmarkup 1762s ok 42 /markup/parse/fail-14.gmarkup 1762s ok 43 /markup/parse/fail-29.gmarkup 1762s ok 44 /markup/parse/valid-5.gmarkup 1762s ok 45 /markup/parse/fail-46.gmarkup 1762s ok 46 /markup/parse/fail-33.gmarkup 1762s ok 47 /markup/parse/fail-47.gmarkup 1762s ok 48 /markup/parse/fail-39.gmarkup 1762s ok 49 /markup/parse/fail-10.gmarkup 1762s ok 50 /markup/parse/fail-31.gmarkup 1762s ok 51 /markup/parse/fail-37.gmarkup 1762s ok 52 /markup/parse/fail-48.gmarkup 1762s ok 53 /markup/parse/fail-6.gmarkup 1762s ok 54 /markup/parse/fail-42.gmarkup 1762s ok 55 /markup/parse/fail-32.gmarkup 1762s ok 56 /markup/parse/fail-24.gmarkup 1762s ok 57 /markup/parse/fail-35.gmarkup 1762s ok 58 /markup/parse/valid-2.gmarkup 1762s ok 59 /markup/parse/fail-23.gmarkup 1762s ok 60 /markup/parse/fail-43.gmarkup 1762s ok 61 /markup/parse/fail-27.gmarkup 1762s ok 62 /markup/parse/fail-16.gmarkup 1762s ok 63 /markup/parse/valid-16.gmarkup 1762s ok 64 /markup/parse/fail-22.gmarkup 1762s ok 65 /markup/parse/fail-21.gmarkup 1762s ok 66 /markup/parse/fail-38.gmarkup 1762s ok 67 /markup/parse/fail-30.gmarkup 1762s ok 68 /markup/parse/fail-15.gmarkup 1762s ok 69 /markup/parse/valid-4.gmarkup 1762s ok 70 /markup/parse/fail-20.gmarkup 1762s ok 71 /markup/parse/fail-8.gmarkup 1762s # End of parse tests 1762s # End of markup tests 1762s ok - glib/markup-parse.test 1762s # Running test: glib/mimeapps.test 1762s TAP version 13 1762s # random seed: R02Se249ff64c388395229a352a6b134e322 1762s 1..7 1762s # Start of appinfo tests 1762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/home 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/cache 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/system-config2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/config 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/system-data2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/data 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/state 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/runtime 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/system-data1/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/data/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/data/applications/myapp.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1762s # removing '/tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/data/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1762s ok 1 /appinfo/all 1762s # Start of mime tests 1762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/home 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/cache 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/system-config2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/config 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/system-data2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/data 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/state 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/runtime 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/system-data1/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/data/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1762s # removing '/tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/config 1762s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GVRCK2/appinfo/all/.dirs/config to /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/config 1762s ok 2 /appinfo/mime/api 1762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/home 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/cache 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/system-config2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/config 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/system-data2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/data 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/state 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/runtime 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/system-data1/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/data/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1762s # removing '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/config 1762s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GVRCK2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/config 1762s ok 3 /appinfo/mime/default 1762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/home 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/cache 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/system-config2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/config 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/system-data2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/data 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/state 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/runtime 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/system-data1/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/data/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1762s # removing '/tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/config 1762s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GVRCK2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/config 1762s ok 4 /appinfo/mime/file 1762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/home 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/cache 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/system-config2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/config 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/system-data2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/data 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/state 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/runtime 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/data/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1762s # removing '/tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1762s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GVRCK2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/config 1762s ok 5 /appinfo/mime/scheme-handler 1762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/home 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/cache 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/system-config2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/config 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/system-data2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/data 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/state 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/runtime 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/data/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1762s # removing '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/config 1762s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GVRCK2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/config 1762s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/config 1762s ok 6 /appinfo/mime/default-last-used 1762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/home 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/cache 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/config 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/data 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/state 1762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1762s # removing '/tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1762s # creating '/tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1762s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GVRCK2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_GVRCK2/appinfo/mime/ignore-nonexisting/.dirs/config 1762s ok 7 /appinfo/mime/ignore-nonexisting 1762s # End of mime tests 1762s # End of appinfo tests 1762s ok - glib/mimeapps.test 1762s # Running test: glib/contexts.test 1762s TAP version 13 1762s # random seed: R02Sa9cedfaad8607c09791668ac9ddd7313 1762s 1..5 1762s # Start of gio tests 1762s # Start of contexts tests 1762s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1762s ok 1 /gio/contexts/thread-independence 1762s ok 2 /gio/contexts/context-independence 1762s # Start of context-specific tests 1762s ok 3 /gio/contexts/context-specific/identity 1763s ok 4 /gio/contexts/context-specific/emit 1763s ok 5 /gio/contexts/context-specific/emit-and-unref 1763s # End of context-specific tests 1763s # End of contexts tests 1763s # End of gio tests 1763s ok - glib/contexts.test 1763s # Running test: glib/portal-support-none.test 1763s TAP version 13 1763s # random seed: R02Sa873114aa23bc0fba18fd0c54a53a2b4 1763s 1..1 1763s # Start of portal-support tests 1763s ok 1 /portal-support/none 1763s # End of portal-support tests 1763s ok - glib/portal-support-none.test 1763s # Running test: glib/static-link.test 1763s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1763s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1763s and make sure you have glib build dependencies installed, including 1763s meson. 1763s ok # SKIP - glib/static-link.test 1763s # Running test: glib/spawn-multithreaded.test 1763s TAP version 13 1763s # random seed: R02S99cd2a2005becabc7f40fd88468377dd 1763s 1..4 1763s # Start of gthread tests 1764s # Child 13154 (ttl 1) exited, status 0 1765s # Executing: glib/spawn-multithreaded.test 1765s # Child 13155 (ttl 2) exited, status 0 1765s ok 1 /gthread/spawn-childs 1765s # slow test /gthread/spawn-childs executed in 2.01 secs 1765s # Created pid: 13159 (ttl 2) 1765s # Created pid: 13160 (ttl 1) 1766s # Child 13160 (ttl 1) exited, status 0 1767s # Child 13159 (ttl 2) exited, status 0 1767s ok 2 /gthread/spawn-childs-threads 1767s # slow test /gthread/spawn-childs-threads executed in 2.01 secs 1767s ok 3 /gthread/spawn-sync 1767s ok 4 /gthread/spawn-async 1767s # End of gthread tests 1767s ok - glib/spawn-multithreaded.test 1767s # Running test: glib/simple-async-result.test 1767s TAP version 13 1767s # random seed: R02Saaec9471930c20efad4f3ec587549720 1767s 1..2 1767s # Start of gio tests 1767s # Start of simple-async-result tests 1767s ok 1 /gio/simple-async-result/test 1767s # GLib-GIO-DEBUG: GTask 0xb37d40dd06e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1767s ok 2 /gio/simple-async-result/valid 1767s # End of simple-async-result tests 1767s # End of gio tests 1767s ok - glib/simple-async-result.test 1767s # Running test: glib/mainloop.test 1767s TAP version 13 1767s # random seed: R02Sc72feaee13df51f6c40a2420a697104f 1767s 1..45 1767s # Start of maincontext tests 1767s ok 1 /maincontext/basic 1767s # Add same-priority sources: 73 1767s # Find each source: 20 1767s # Remove in random order: 109 1767s ok 2 /maincontext/nsources_same_priority 1767s # Add different-priority sources: 58 1767s # Find each source: 20 1768s # Remove in random order: 121 1768s ok 3 /maincontext/nsources_different_priority 1768s # Add sources from threads: 804 1769s # Remove sources from threads: 432 1769s ok 4 /maincontext/nsources_threadpool 1769s # slow test /maincontext/nsources_threadpool executed in 1.27 secs 1769s ok 5 /maincontext/source_finalization 1769s # /maincontext/idle-once summary: Test g_idle_add_once() works 1769s ok 6 /maincontext/idle-once 1769s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1769s ok 7 /maincontext/timeout-once 1769s # Start of source_finalization_from_source tests 1769s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1769s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1769s ok 8 /maincontext/source_finalization_from_source/0 1769s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1769s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1769s ok 9 /maincontext/source_finalization_from_source/1 1769s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1769s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1769s ok 10 /maincontext/source_finalization_from_source/2 1769s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1769s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1769s ok 11 /maincontext/source_finalization_from_source/3 1769s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1769s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1769s ok 12 /maincontext/source_finalization_from_source/4 1769s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1769s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1769s ok 13 /maincontext/source_finalization_from_source/5 1769s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1769s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1769s ok 14 /maincontext/source_finalization_from_source/6 1769s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1769s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1769s ok 15 /maincontext/source_finalization_from_source/7 1769s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1769s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1769s ok 16 /maincontext/source_finalization_from_source/8 1769s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1769s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1769s ok 17 /maincontext/source_finalization_from_source/9 1769s # End of source_finalization_from_source tests 1769s # Start of source_finalization_from_dispatch tests 1769s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1769s ok 18 /maincontext/source_finalization_from_dispatch/0 1769s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1769s ok 19 /maincontext/source_finalization_from_dispatch/1 1769s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1769s ok 20 /maincontext/source_finalization_from_dispatch/2 1769s # End of source_finalization_from_dispatch tests 1769s # End of maincontext tests 1769s # Start of mainloop tests 1769s ok 21 /mainloop/basic 1769s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1769s ok 23 /mainloop/priorities 1769s ok 24 /mainloop/invoke 1769s # slow test /mainloop/invoke executed in 0.50 secs 1770s # Executing: glib/mainloop.test 1771s ok 25 /mainloop/child_sources 1771s # slow test /mainloop/child_sources executed in 1.20 secs 1773s ok 26 /mainloop/recursive_child_sources 1773s # slow test /mainloop/recursive_child_sources executed in 2.19 secs 1773s ok 27 /mainloop/recursive_loop_child_sources 1773s ok 28 /mainloop/swapping_child_sources 1773s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1773s ok 29 /mainloop/blocked_child_sources 1774s ok 30 /mainloop/source_time 1774s # slow test /mainloop/source_time executed in 1.00 secs 1774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1774s ok 31 /mainloop/overflow 1774s ok 32 /mainloop/ready-time 1774s # slow test /mainloop/ready-time executed in 0.50 secs 1774s ok 33 /mainloop/wakeup 1774s ok 34 /mainloop/remove-invalid 1774s ok 35 /mainloop/unref-while-pending 1775s # Executing: glib/mainloop.test 1778s ok 36 /mainloop/unix-fd 1778s # slow test /mainloop/unix-fd executed in 4.00 secs 1778s ok 37 /mainloop/unix-fd-source 1778s ok 38 /mainloop/source-unix-fd-api 1779s ok 39 /mainloop/wait 1779s ok 40 /mainloop/unix-file-poll 1779s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1779s ok 41 /mainloop/unix-fd-priority 1779s ok 42 /mainloop/nfds 1779s ok 43 /mainloop/steal-fd 1779s # Start of ownerless-polling tests 1779s ok 44 /mainloop/ownerless-polling/attach-first 1779s ok 45 /mainloop/ownerless-polling/pop-first 1779s # End of ownerless-polling tests 1779s # End of mainloop tests 1779s ok - glib/mainloop.test 1779s # Running test: glib/gdbus-close-pending.test 1779s TAP version 13 1779s # random seed: R02S064280d71dbdf4f4c1a68015444400d4 1779s 1..2 1779s # Start of gdbus tests 1779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/close-pending/.dirs/home 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/close-pending/.dirs/cache 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_PCLGK2/gdbus/close-pending/.dirs/system-config2 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/close-pending/.dirs/config 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_PCLGK2/gdbus/close-pending/.dirs/system-data2 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/close-pending/.dirs/data 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/close-pending/.dirs/state 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/close-pending/.dirs/runtime 1779s ok 1 /gdbus/close-pending 1779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/unref-pending/.dirs/home 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/unref-pending/.dirs/cache 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_PCLGK2/gdbus/unref-pending/.dirs/system-config2 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/unref-pending/.dirs/config 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_PCLGK2/gdbus/unref-pending/.dirs/system-data2 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/unref-pending/.dirs/data 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/unref-pending/.dirs/state 1779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_PCLGK2/gdbus/unref-pending/.dirs/runtime 1780s ok 2 /gdbus/unref-pending 1780s # slow test /gdbus/unref-pending executed in 0.53 secs 1780s # End of gdbus tests 1780s ok - glib/gdbus-close-pending.test 1780s # Running test: glib/642026.test 1780s TAP version 13 1780s # random seed: R02Sb9eb7c68e3f79274a4e0e41663d6c724 1780s 1..1 1780s # Start of glib tests 1780s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1780s # Executing: glib/642026.test 1780s ok 1 /glib/642026 1780s # End of glib tests 1780s ok - glib/642026.test 1780s # Running test: glib/resources.test 1780s TAP version 13 1780s # random seed: R02S6c90f4db7057cd8343cc951bc8255ff0 1780s 1..17 1780s # Start of resource tests 1780s ok 1 /resource/file 1780s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1780s ok 2 /resource/file-path 1780s ok 3 /resource/data 1780s ok 4 /resource/data_unaligned 1780s ok 5 /resource/data-corrupt 1780s ok 6 /resource/data-empty 1780s ok 7 /resource/registered 1780s ok 8 /resource/manual 1780s ok 9 /resource/manual2 1780s ok 10 /resource/automatic 1780s ok 11 /resource/module 1780s ok 12 /resource/binary-linked 1780s ok 13 /resource/64k 1780s GLib-GIO-Message: 17:12:13.366: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1780s ok 14 /resource/overlay 1780s ok 15 /resource/digits 1780s # Start of uri tests 1780s ok 16 /resource/uri/query-info 1780s ok 17 /resource/uri/file 1780s # End of uri tests 1780s # End of resource tests 1780s ok - glib/resources.test 1780s # Running test: glib/giomodule.test 1780s TAP version 13 1780s # random seed: R02Sca1f2f4245a791aa6cb098b5e07b20a7 1780s 1..3 1780s # Start of giomodule tests 1780s ok 1 /giomodule/extension-point 1780s ok 2 /giomodule/module-scan-all 1780s ok 3 /giomodule/module-scan-all-with-scope 1780s # End of giomodule tests 1780s ok - glib/giomodule.test 1780s # Running test: glib/markup-escape.test 1780s TAP version 13 1780s # random seed: R02S86ccf30a5bdbd76478f4e37bbb3bb075 1780s 1..41 1780s # Start of markup tests 1780s ok 1 /markup/format 1780s # Start of escape-text tests 1780s ok 2 /markup/escape-text/0 1780s ok 3 /markup/escape-text/1 1780s ok 4 /markup/escape-text/2 1780s ok 5 /markup/escape-text/3 1780s ok 6 /markup/escape-text/4 1780s ok 7 /markup/escape-text/5 1780s ok 8 /markup/escape-text/6 1780s ok 9 /markup/escape-text/7 1780s ok 10 /markup/escape-text/8 1780s ok 11 /markup/escape-text/9 1780s ok 12 /markup/escape-text/10 1780s ok 13 /markup/escape-text/11 1780s ok 14 /markup/escape-text/12 1780s ok 15 /markup/escape-text/13 1780s ok 16 /markup/escape-text/14 1780s ok 17 /markup/escape-text/15 1780s ok 18 /markup/escape-text/16 1780s ok 19 /markup/escape-text/17 1780s ok 20 /markup/escape-text/18 1780s ok 21 /markup/escape-text/19 1780s ok 22 /markup/escape-text/20 1780s ok 23 /markup/escape-text/21 1780s ok 24 /markup/escape-text/22 1780s # End of escape-text tests 1780s # Start of escape-unichar tests 1780s ok 25 /markup/escape-unichar/0 1780s ok 26 /markup/escape-unichar/1 1780s ok 27 /markup/escape-unichar/2 1780s ok 28 /markup/escape-unichar/3 1780s ok 29 /markup/escape-unichar/4 1780s ok 30 /markup/escape-unichar/5 1780s ok 31 /markup/escape-unichar/6 1780s ok 32 /markup/escape-unichar/7 1780s ok 33 /markup/escape-unichar/8 1780s ok 34 /markup/escape-unichar/9 1780s ok 35 /markup/escape-unichar/10 1780s ok 36 /markup/escape-unichar/11 1780s ok 37 /markup/escape-unichar/12 1780s ok 38 /markup/escape-unichar/13 1780s ok 39 /markup/escape-unichar/14 1780s ok 40 /markup/escape-unichar/15 1780s ok 41 /markup/escape-unichar/16 1780s # End of escape-unichar tests 1780s # End of markup tests 1780s ok - glib/markup-escape.test 1780s # Running test: glib/types.test 1780s TAP version 13 1780s # random seed: R02Saf5aa951cf35121c19b32e5d0b80c7eb 1780s 1..1 1780s # Start of types tests 1780s ok 1 /types/basic_types 1780s # End of types tests 1780s ok - glib/types.test 1780s # Running test: glib/timeout.test 1780s TAP version 13 1780s # random seed: R02Sb1f0aeb0eb66ba84b04343c21bb72cd1 1780s 1..5 1780s # Start of timeout tests 1780s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1782s ok 1 /timeout/seconds 1782s # slow test /timeout/seconds executed in 2.10 secs 1784s ok 2 /timeout/seconds-once 1784s # slow test /timeout/seconds-once executed in 2.10 secs 1784s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1785s # Executing: glib/timeout.test 1786s ok 3 /timeout/weeks-overflow 1786s # slow test /timeout/weeks-overflow executed in 2.10 secs 1786s ok 4 /timeout/far-future-ready-time 1790s # Executing: glib/timeout.test 1795s # Executing: glib/timeout.test 1797s ok 5 /timeout/rounding 1797s # slow test /timeout/rounding executed in 10.57 secs 1797s # End of timeout tests 1797s ok - glib/timeout.test 1797s # Running test: glib/strfuncs.test 1797s TAP version 13 1797s # random seed: R02S2e7d5daba31f3bef51da63569f3b94ae 1797s 1..50 1797s # Start of strfuncs tests 1797s ok 1 /strfuncs/ascii-strcasecmp 1797s ok 2 /strfuncs/ascii_strdown 1797s ok 3 /strfuncs/ascii_strdup 1797s ok 4 /strfuncs/ascii_strtod 1797s ok 5 /strfuncs/bounds-check 1797s ok 6 /strfuncs/has-prefix 1797s ok 7 /strfuncs/has-prefix-macro 1797s ok 8 /strfuncs/has-suffix 1797s ok 9 /strfuncs/has-suffix-macro 1797s ok 10 /strfuncs/memdup 1797s ok 11 /strfuncs/memdup2 1797s ok 12 /strfuncs/set_str 1797s ok 13 /strfuncs/stpcpy 1797s ok 14 /strfuncs/str_match_string 1797s ok 15 /strfuncs/str_tokenize_and_fold 1797s ok 16 /strfuncs/strcanon 1797s ok 17 /strfuncs/strchomp 1797s ok 18 /strfuncs/strchug 1797s ok 19 /strfuncs/strcompress-strescape 1797s ok 20 /strfuncs/strconcat 1797s ok 21 /strfuncs/strdelimit 1797s ok 22 /strfuncs/strdup 1797s ok 23 /strfuncs/strdup-printf 1797s ok 24 /strfuncs/strdupv 1797s ok 25 /strfuncs/strerror 1797s ok 26 /strfuncs/strip-context 1797s ok 27 /strfuncs/strjoin 1797s ok 28 /strfuncs/strjoinv 1797s ok 29 /strfuncs/strlcat 1797s ok 30 /strfuncs/strlcpy 1797s ok 31 /strfuncs/strncasecmp 1797s ok 32 /strfuncs/strndup 1797s ok 33 /strfuncs/strnfill 1797s ok 34 /strfuncs/strreverse 1797s ok 35 /strfuncs/strsignal 1797s ok 36 /strfuncs/strsplit 1797s ok 37 /strfuncs/strsplit-set 1797s ok 38 /strfuncs/strstr 1797s ok 39 /strfuncs/strtod 1797s ok 40 /strfuncs/strtoull-strtoll 1797s ok 41 /strfuncs/strup 1797s ok 42 /strfuncs/strv-contains 1797s ok 43 /strfuncs/strv-equal 1797s ok 44 /strfuncs/strv-length 1797s ok 45 /strfuncs/test-is-to-digit 1797s ok 46 /strfuncs/transliteration 1797s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1797s ok 47 /strfuncs/str-equal 1797s # Start of ascii-string-to-num tests 1797s ok 48 /strfuncs/ascii-string-to-num/pathological 1797s ok 49 /strfuncs/ascii-string-to-num/usual 1797s # End of ascii-string-to-num tests 1797s # Start of strdup tests 1797s ok 50 /strfuncs/strdup/inline 1797s # End of strdup tests 1797s # End of strfuncs tests 1797s ok - glib/strfuncs.test 1797s # Running test: glib/unicode-encoding.test 1797s TAP version 13 1797s # random seed: R02S178273ecee1287d8874a9ebb7f7a01fe 1797s 1..1 1797s # Start of unicode tests 1797s ok 1 /unicode/encoding 1797s # End of unicode tests 1797s ok - glib/unicode-encoding.test 1797s # Running test: glib/sequence.test 1797s TAP version 13 1797s # random seed: R02S1b0362dea6da63299566b54624011311 1797s 1..16 1797s # Start of sequence tests 1797s ok 1 /sequence/out-of-range-jump 1797s ok 2 /sequence/iter-move 1797s ok 3 /sequence/insert-sorted-non-pointer 1797s ok 4 /sequence/stable-sort 1797s ok 5 /sequence/is_empty 1797s # Start of random tests 1799s ok 6 /sequence/random/seed:825541564 1799s # slow test /sequence/random/seed:825541564 executed in 1.32 secs 1800s # Executing: glib/sequence.test 1800s ok 7 /sequence/random/seed:801678400 1800s # slow test /sequence/random/seed:801678400 executed in 1.25 secs 1801s ok 8 /sequence/random/seed:1477639090 1801s # slow test /sequence/random/seed:1477639090 executed in 1.31 secs 1803s ok 9 /sequence/random/seed:3369132895 1803s # slow test /sequence/random/seed:3369132895 executed in 1.27 secs 1804s ok 10 /sequence/random/seed:1192944867 1804s # slow test /sequence/random/seed:1192944867 executed in 1.32 secs 1805s # Executing: glib/sequence.test 1805s ok 11 /sequence/random/seed:770458294 1805s # slow test /sequence/random/seed:770458294 executed in 1.38 secs 1807s ok 12 /sequence/random/seed:1099575817 1807s # slow test /sequence/random/seed:1099575817 executed in 1.32 secs 1808s ok 13 /sequence/random/seed:590523467 1808s # slow test /sequence/random/seed:590523467 executed in 1.38 secs 1809s ok 14 /sequence/random/seed:3583571454 1809s # slow test /sequence/random/seed:3583571454 executed in 1.37 secs 1810s # Executing: glib/sequence.test 1811s ok 15 /sequence/random/seed:579241222 1811s # slow test /sequence/random/seed:579241222 executed in 1.30 secs 1812s ok 16 /sequence/random/seed:294372988 1812s # slow test /sequence/random/seed:294372988 executed in 1.31 secs 1812s # End of random tests 1812s # End of sequence tests 1812s ok - glib/sequence.test 1812s # Running test: glib/pollable.test 1812s TAP version 13 1812s # random seed: R02S14d1c0f511d9d6c05f03f5fff890ac83 1812s 1..6 1812s # Start of pollable tests 1812s ok 1 /pollable/converter 1812s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1812s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe146ae29760 and GSocketClientAsyncConnectData 0xbe146ae1cad0 1812s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1812s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1812s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe146ae2a820 for GSocketClientAsyncConnectData 0xbe146ae1cad0 1812s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1812s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1812s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1812s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1812s ok 2 /pollable/socket 1812s # Start of unix tests 1812s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1812s ok 3 /pollable/unix/pipe 1812s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1812s ok 4 /pollable/unix/pty 1812s # /pollable/unix/file summary: Test that regular files are not considered pollable 1812s ok 5 /pollable/unix/file 1812s # /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 1812s ok 6 /pollable/unix/nulldev 1812s # End of unix tests 1812s # End of pollable tests 1812s ok - glib/pollable.test 1812s # Running test: glib/power-profile-monitor.test 1812s TAP version 13 1812s # random seed: R02S2e3f2ff83f516cbc8d7bced41903bb81 1812s 1..1 1812s # Start of power-profile-monitor tests 1812s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1812s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1812s ok 1 /power-profile-monitor/default 1812s # End of power-profile-monitor tests 1812s ok - glib/power-profile-monitor.test 1812s # Running test: glib/tree.test 1812s TAP version 13 1812s # random seed: R02S1253a2d1b19e0c1fa9f5bff4b450fe0b 1812s 1..7 1812s # Start of tree tests 1812s ok 1 /tree/search 1812s ok 2 /tree/remove 1812s ok 3 /tree/destroy 1812s ok 4 /tree/traverse 1812s ok 5 /tree/insert 1812s ok 6 /tree/bounds 1812s ok 7 /tree/remove-all 1812s # End of tree tests 1812s ok - glib/tree.test 1812s # Running test: glib/macros-c-90.test 1812s TAP version 13 1812s # random seed: R02Se5b97acb8f226d3be7bbe3c31b7641c4 1812s 1..4 1812s # Start of C tests 1812s ok 1 /C/standard-90 1812s # End of C tests 1812s # Start of alignof tests 1812s ok 2 /alignof/fallback 1812s # End of alignof tests 1812s # Start of assert tests 1812s ok 3 /assert/static 1812s # End of assert tests 1812s # Start of struct tests 1812s ok 4 /struct/sizeof_member 1812s # End of struct tests 1812s ok - glib/macros-c-90.test 1812s # Running test: glib/atomic-c-99.test 1812s TAP version 13 1812s # random seed: R02S5e471b60d831a6aef7d46436cf602b3e 1812s 1..2 1812s # Start of atomic tests 1812s ok 1 /atomic/types 1813s ok 2 /atomic/threaded 1813s # slow test /atomic/threaded executed in 0.69 secs 1813s # End of atomic tests 1813s ok - glib/atomic-c-99.test 1813s # Running test: glib/object-info.test 1813s TAP version 13 1813s # random seed: R02Sbf32fe352cba0d0e5844cb5b4b3f74d0 1813s 1..2 1813s # Start of object-info tests 1813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_P24HK2/object-info/find-method-using-interfaces/.dirs/home 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_P24HK2/object-info/find-method-using-interfaces/.dirs/cache 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_P24HK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_P24HK2/object-info/find-method-using-interfaces/.dirs/system-config2 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_P24HK2/object-info/find-method-using-interfaces/.dirs/config 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_P24HK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_P24HK2/object-info/find-method-using-interfaces/.dirs/system-data2 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_P24HK2/object-info/find-method-using-interfaces/.dirs/data 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_P24HK2/object-info/find-method-using-interfaces/.dirs/state 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_P24HK2/object-info/find-method-using-interfaces/.dirs/runtime 1813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1813s ok 1 /object-info/find-method-using-interfaces 1813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_P24HK2/object-info/find-vfunc-using-interfaces/.dirs/home 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_P24HK2/object-info/find-vfunc-using-interfaces/.dirs/cache 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_P24HK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_P24HK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_P24HK2/object-info/find-vfunc-using-interfaces/.dirs/config 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_P24HK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_P24HK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_P24HK2/object-info/find-vfunc-using-interfaces/.dirs/data 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_P24HK2/object-info/find-vfunc-using-interfaces/.dirs/state 1813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_P24HK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1813s ok 2 /object-info/find-vfunc-using-interfaces 1813s # End of object-info tests 1813s ok - glib/object-info.test 1813s # Running test: glib/refcount.test 1813s TAP version 13 1813s # random seed: R02S280969d0f4ad537e3ea6f024fe47150b 1813s 1..4 1813s # Start of refcount tests 1813s ok 1 /refcount/grefcount 1813s ok 2 /refcount/gatomicrefcount 1813s # Start of grefcount tests 1813s ok 3 /refcount/grefcount/saturation 1813s # End of grefcount tests 1813s # Start of gatomicrefcount tests 1813s ok 4 /refcount/gatomicrefcount/saturation 1813s # End of gatomicrefcount tests 1813s # End of refcount tests 1813s ok - glib/refcount.test 1813s # Running test: glib/timer.test 1813s TAP version 13 1813s # random seed: R02Scadbfa55c45b893e7aa3c2efc8236fdf 1813s 1..10 1813s # Start of timer tests 1813s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1813s ok 2 /timer/stop 1813s ok 3 /timer/continue 1813s ok 4 /timer/reset 1813s ok 5 /timer/is_active 1813s # End of timer tests 1813s # Start of timeval tests 1813s ok 6 /timeval/add 1813s ok 7 /timeval/from-iso8601 1813s ok 8 /timeval/to-iso8601 1813s # Start of to-iso8601 tests 1813s ok 9 /timeval/to-iso8601/overflow 1813s # End of to-iso8601 tests 1813s # End of timeval tests 1813s # Start of usleep tests 1813s ok 10 /usleep/with-zero-wait 1813s # End of usleep tests 1813s ok - glib/timer.test 1813s # Running test: glib/async-close-output-stream.test 1813s TAP version 13 1813s # random seed: R02Sb588944c4d5bd56a7e523a2a62fd3fce 1813s 1..3 1813s # Start of close-async tests 1813s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1813s ok 1 /close-async/without-flush 1813s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1813s ok 2 /close-async/with-flush 1813s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1813s ok 3 /close-async/with-async-flush 1813s # End of close-async tests 1813s ok - glib/async-close-output-stream.test 1813s # Running test: glib/network-address.test 1813s TAP version 13 1813s # random seed: R02S494e6b7b9a096a97fd756dccb9259222 1813s 1..72 1813s # Start of network-address tests 1813s ok 1 /network-address/basic 1813s ok 2 /network-address/scope-id 1813s ok 3 /network-address/uri-scope-id 1813s ok 4 /network-address/to-string 1813s # Start of parse-host tests 1813s ok 5 /network-address/parse-host/0 1813s ok 6 /network-address/parse-host/1 1813s ok 7 /network-address/parse-host/2 1813s ok 8 /network-address/parse-host/3 1813s ok 9 /network-address/parse-host/4 1813s ok 10 /network-address/parse-host/5 1813s ok 11 /network-address/parse-host/6 1813s ok 12 /network-address/parse-host/7 1813s ok 13 /network-address/parse-host/8 1813s ok 14 /network-address/parse-host/9 1813s ok 15 /network-address/parse-host/10 1813s ok 16 /network-address/parse-host/11 1813s ok 17 /network-address/parse-host/12 1813s ok 18 /network-address/parse-host/13 1813s # End of parse-host tests 1813s # Start of parse-uri tests 1813s ok 19 /network-address/parse-uri/0 1813s ok 20 /network-address/parse-uri/1 1813s ok 21 /network-address/parse-uri/2 1813s ok 22 /network-address/parse-uri/3 1813s ok 23 /network-address/parse-uri/4 1813s ok 24 /network-address/parse-uri/5 1813s ok 25 /network-address/parse-uri/6 1813s ok 26 /network-address/parse-uri/7 1813s ok 27 /network-address/parse-uri/8 1813s ok 28 /network-address/parse-uri/9 1813s # End of parse-uri tests 1813s # Start of resolve-address tests 1813s # Input: 192.168.1.2 1813s ok 29 /network-address/resolve-address/0 1813s # Input: fe80::42 1813s ok 30 /network-address/resolve-address/1 1813s # Input: 192.168.1.2:80 1813s ok 31 /network-address/resolve-address/2 1813s # Input: [fe80::42] 1813s ok 32 /network-address/resolve-address/3 1813s # Input: [fe80::42]:80 1813s ok 33 /network-address/resolve-address/4 1813s # Input: 192.168.258 1813s ok 34 /network-address/resolve-address/5 1813s # Input: 192.11010306 1813s ok 35 /network-address/resolve-address/6 1813s # Input: 3232235778 1813s ok 36 /network-address/resolve-address/7 1813s # Input: 0300.0250.0001.0001 1813s ok 37 /network-address/resolve-address/8 1813s # Input: 0xC0.0xA8.0x01.0x02 1813s ok 38 /network-address/resolve-address/9 1813s # Input: 0xc0.0xa8.0x01.0x02 1813s ok 39 /network-address/resolve-address/10 1813s # Input: 0xc0a80102 1813s ok 40 /network-address/resolve-address/11 1813s # End of resolve-address tests 1813s # Start of loopback tests 1813s ok 41 /network-address/loopback/basic 1813s ok 42 /network-address/loopback/sync 1813s ok 43 /network-address/loopback/async 1813s # End of loopback tests 1813s # Start of localhost tests 1813s ok 44 /network-address/localhost/async 1813s ok 45 /network-address/localhost/sync 1813s # End of localhost tests 1813s # Start of happy-eyeballs tests 1813s ok 46 /network-address/happy-eyeballs/basic 1813s ok 47 /network-address/happy-eyeballs/parallel 1813s ok 48 /network-address/happy-eyeballs/slow-ipv4 1813s ok 49 /network-address/happy-eyeballs/slow-ipv6 1813s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1814s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1814s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1814s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1814s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1814s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1814s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1814s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1814s # /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. 1814s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1814s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1814s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1814s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1814s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1814s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1814s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1814s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1814s ok 57 /network-address/happy-eyeballs/both-error 1814s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1814s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1814s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1814s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1814s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1814s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1814s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1814s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1814s # End of happy-eyeballs tests 1814s # End of network-address tests 1814s # Start of gresolver tests 1814s # Start of resolve-address tests 1814s # Input: 192.168.1.2 1814s ok 61 /gresolver/resolve-address/0 1814s # Input: fe80::42 1814s ok 62 /gresolver/resolve-address/1 1814s # Input: 192.168.1.2:80 1814s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1814s ok 63 /gresolver/resolve-address/2 1814s # Input: [fe80::42] 1814s # Error: Error resolving ?[fe80::42]?: Name or service not known 1814s ok 64 /gresolver/resolve-address/3 1814s # Input: [fe80::42]:80 1814s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1814s ok 65 /gresolver/resolve-address/4 1814s # Input: 192.168.258 1814s # Error: Error resolving ?192.168.258?: Name or service not known 1814s ok 66 /gresolver/resolve-address/5 1814s # Input: 192.11010306 1814s # Error: Error resolving ?192.11010306?: Name or service not known 1814s ok 67 /gresolver/resolve-address/6 1814s # Input: 3232235778 1814s # Error: Error resolving ?3232235778?: Name or service not known 1814s ok 68 /gresolver/resolve-address/7 1814s # Input: 0300.0250.0001.0001 1814s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1814s ok 69 /gresolver/resolve-address/8 1814s # Input: 0xC0.0xA8.0x01.0x02 1814s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1814s ok 70 /gresolver/resolve-address/9 1814s # Input: 0xc0.0xa8.0x01.0x02 1814s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1814s ok 71 /gresolver/resolve-address/10 1814s # Input: 0xc0a80102 1814s # Error: Error resolving ?0xc0a80102?: Name or service not known 1814s ok 72 /gresolver/resolve-address/11 1814s # End of resolve-address tests 1814s # End of gresolver tests 1814s ok - glib/network-address.test 1814s # Running test: glib/signals-refcount2.test 1814s TAP version 13 1814s # random seed: R02S1b57163ad5efcbf10765c864281c6dd3 1814s 1..1 1814s # Start of gobject tests 1814s # Start of refcount tests 1814s # init 0xc5e861b25420 1814s # 1814s # init 0xc5e861b255c0 1814s # 1815s # Executing: glib/signals-refcount2.test 1820s # dispose 0xc5e861b25420! 1820s # 1820s # dispose 0xc5e861b255c0! 1820s # 1820s ok 1 /gobject/refcount/signals 1820s # slow test /gobject/refcount/signals executed in 5.01 secs 1820s # End of refcount tests 1820s # End of gobject tests 1820s ok - glib/signals-refcount2.test 1820s # Running test: glib/shell.test 1820s TAP version 13 1820s # random seed: R02Sd5e5f3b34c68396d4d2ae45c341e45c4 1820s 1..51 1820s # Start of shell tests 1820s # Start of cmdline tests 1820s test cmdline: foo bar 1820s ok 1 /shell/cmdline/0 1820s test cmdline: foo 'bar' 1820s ok 2 /shell/cmdline/1 1820s test cmdline: foo "bar" 1820s ok 3 /shell/cmdline/2 1820s test cmdline: foo '' 'bar' 1820s ok 4 /shell/cmdline/3 1820s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1820s ok 5 /shell/cmdline/4 1820s test cmdline: foo blah foo bar baz 1820s ok 6 /shell/cmdline/5 1820s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1820s ok 7 /shell/cmdline/6 1820s test cmdline: foo \ 1820s bar 1820s ok 8 /shell/cmdline/7 1820s test cmdline: foo '' '' 1820s ok 9 /shell/cmdline/8 1820s test cmdline: foo \" la la la 1820s ok 10 /shell/cmdline/9 1820s test cmdline: foo \ foo woo woo\ 1820s ok 11 /shell/cmdline/10 1820s test cmdline: foo "yada yada \$\"" 1820s ok 12 /shell/cmdline/11 1820s test cmdline: foo "c:\\" 1820s ok 13 /shell/cmdline/12 1820s test cmdline: foo # bla bla bla 1820s bar 1820s ok 14 /shell/cmdline/13 1820s test cmdline: foo a#b 1820s ok 15 /shell/cmdline/14 1820s test cmdline: #foo 1820s ok 16 /shell/cmdline/15 1820s test cmdline: foo bar \ 1820s ok 17 /shell/cmdline/16 1820s test cmdline: foo 'bar baz 1820s ok 18 /shell/cmdline/17 1820s test cmdline: foo '"bar" baz 1820s ok 19 /shell/cmdline/18 1820s test cmdline: 1820s ok 20 /shell/cmdline/19 1820s test cmdline: 1820s ok 21 /shell/cmdline/20 1820s test cmdline: # foo bar 1820s ok 22 /shell/cmdline/21 1820s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1820s ok 23 /shell/cmdline/22 1820s # End of cmdline tests 1820s # Start of quote tests 1820s ok 24 /shell/quote/0 1820s ok 25 /shell/quote/1 1820s ok 26 /shell/quote/2 1820s ok 27 /shell/quote/3 1820s ok 28 /shell/quote/4 1820s ok 29 /shell/quote/5 1820s ok 30 /shell/quote/6 1820s # End of quote tests 1820s # Start of unquote tests 1820s ok 31 /shell/unquote/0 1820s ok 32 /shell/unquote/1 1820s ok 33 /shell/unquote/2 1820s ok 34 /shell/unquote/3 1820s ok 35 /shell/unquote/4 1820s ok 36 /shell/unquote/5 1820s ok 37 /shell/unquote/6 1820s ok 38 /shell/unquote/7 1820s ok 39 /shell/unquote/8 1820s ok 40 /shell/unquote/9 1820s ok 41 /shell/unquote/10 1820s ok 42 /shell/unquote/11 1820s ok 43 /shell/unquote/12 1820s ok 44 /shell/unquote/13 1820s ok 45 /shell/unquote/14 1820s ok 46 /shell/unquote/15 1820s ok 47 /shell/unquote/16 1820s ok 48 /shell/unquote/17 1820s ok 49 /shell/unquote/18 1820s ok 50 /shell/unquote/19 1820s ok 51 /shell/unquote/20 1820s # End of unquote tests 1820s # End of shell tests 1820s ok - glib/shell.test 1820s # Running test: glib/rand.test 1820s TAP version 13 1820s # random seed: R02S337b52f00296ead5acd0f493882ca87c 1820s 1..2 1820s # Start of rand tests 1820s ok 1 /rand/test-rand 1820s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1820s ok 2 /rand/double-range 1820s # End of rand tests 1820s ok - glib/rand.test 1820s # Running test: glib/mapping.test 1820s TAP version 13 1820s # random seed: R02S97b7c3b14a85b1a93aec3ccba365ff5f 1820s 1..3 1820s # Start of mapping tests 1820s # test_mapping: ok 1820s ok 1 /mapping/flags 1820s ok 2 /mapping/private 1820s # test_child_private: child spawned 1820s # Subtest: /usr/libexec/installed-tests/glib/mapping 1820s # # random seed: R02S7f7f638bf324cf8e9775e07b49dc95ef 1820s # test_child_private: received first child signal 1820s # # test_child_private: received parent signal 1820s # test_child_private: received second child signal 1820s ok 3 /mapping/private-child 1820s # End of mapping tests 1820s ok - glib/mapping.test 1820s # Running test: glib/rec-mutex.test 1820s TAP version 13 1820s # random seed: R02S57558d0c52440721bfdfb66f409f99c7 1820s 1..29 1820s # Start of thread tests 1820s ok 1 /thread/rec-mutex1 1820s ok 2 /thread/rec-mutex2 1820s ok 3 /thread/rec-mutex3 1820s # Executing: glib/rec-mutex.test 1820s ok 4 /thread/rec-mutex4 1820s # Start of rec-mutex tests 1820s # Start of perf tests 1820s # Start of uncontended tests 1820s # max perf: 0.250000 mips 1820s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1820s # max perf: 1.000000 mips 1820s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1820s # max perf: 1.000000 mips 1820s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1820s # max perf: 1.000000 mips 1820s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1820s # max perf: inf mips 1820s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1820s # End of uncontended tests 1820s # Start of contended1 tests 1820s # max perf: 2.000000 mips 1820s ok 10 /thread/rec-mutex/perf/contended1/depth1 1820s # max perf: 2.000000 mips 1820s ok 11 /thread/rec-mutex/perf/contended1/depth2 1820s # max perf: 2.000000 mips 1820s ok 12 /thread/rec-mutex/perf/contended1/depth3 1820s # max perf: 2.000000 mips 1820s ok 13 /thread/rec-mutex/perf/contended1/depth4 1820s # max perf: 2.000000 mips 1820s ok 14 /thread/rec-mutex/perf/contended1/depth5 1820s # End of contended1 tests 1820s # Start of contended2 tests 1820s # max perf: 1.500000 mips 1820s ok 15 /thread/rec-mutex/perf/contended2/depth1 1820s # max perf: 3.000000 mips 1820s ok 16 /thread/rec-mutex/perf/contended2/depth2 1820s # max perf: 1.500000 mips 1820s ok 17 /thread/rec-mutex/perf/contended2/depth3 1820s # max perf: 1.500000 mips 1820s ok 18 /thread/rec-mutex/perf/contended2/depth4 1820s # max perf: 1.500000 mips 1820s ok 19 /thread/rec-mutex/perf/contended2/depth5 1820s # End of contended2 tests 1820s # Start of contended3 tests 1820s # max perf: 1.333333 mips 1820s ok 20 /thread/rec-mutex/perf/contended3/depth1 1820s # max perf: 2.000000 mips 1820s ok 21 /thread/rec-mutex/perf/contended3/depth2 1820s # max perf: 2.000000 mips 1820s ok 22 /thread/rec-mutex/perf/contended3/depth3 1820s # max perf: 2.000000 mips 1820s ok 23 /thread/rec-mutex/perf/contended3/depth4 1820s # max perf: 2.000000 mips 1820s ok 24 /thread/rec-mutex/perf/contended3/depth5 1820s # End of contended3 tests 1820s # Start of contended4 tests 1820s # max perf: 5.000000 mips 1820s ok 25 /thread/rec-mutex/perf/contended4/depth1 1820s # max perf: 2.500000 mips 1820s ok 26 /thread/rec-mutex/perf/contended4/depth2 1820s # max perf: 1.666667 mips 1820s ok 27 /thread/rec-mutex/perf/contended4/depth3 1820s # max perf: 1.666667 mips 1820s ok 28 /thread/rec-mutex/perf/contended4/depth4 1820s # max perf: 2.500000 mips 1820s ok 29 /thread/rec-mutex/perf/contended4/depth5 1820s # End of contended4 tests 1820s # End of perf tests 1820s # End of rec-mutex tests 1820s # End of thread tests 1820s ok - glib/rec-mutex.test 1820s # Running test: glib/readwrite.test 1820s TAP version 13 1820s # random seed: R02S1378089a46557b7dcc6f9bd56c91c5c0 1820s 1..3 1820s # Start of readwrite tests 1820s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1820s ok 1 /readwrite/test_g_file_open_readwrite 1820s ok 2 /readwrite/test_g_file_create_readwrite 1820s ok 3 /readwrite/test_g_file_replace_readwrite 1820s # End of readwrite tests 1820s ok - glib/readwrite.test 1820s # Running test: glib/option-context.test 1820s TAP version 13 1820s # random seed: R02S956f144942726f4ce78a3358e06ecacd 1820s 1..57 1820s # Start of option tests 1820s ok 1 /option/basic 1820s ok 2 /option/translate 1820s ok 3 /option/strict-posix 1820s # Start of help tests 1820s ok 4 /option/help/options 1820s ok 5 /option/help/no-options 1820s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1820s ok 6 /option/help/no-help-options 1820s # End of help tests 1820s # Start of group tests 1820s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1820s ok 7 /option/group/captions 1820s ok 8 /option/group/main 1820s ok 9 /option/group/error-hook 1820s ok 10 /option/group/parse 1820s # Start of captions tests 1820s # Start of subprocess tests 1820s # End of subprocess tests 1820s # End of captions tests 1820s # End of group tests 1820s # Start of restoration tests 1820s ok 11 /option/restoration/int 1820s ok 12 /option/restoration/string 1820s ok 13 /option/restoration/boolean 1820s # End of restoration tests 1820s # Start of arg tests 1820s ok 14 /option/arg/reverse-string 1820s ok 15 /option/arg/optional-int 1820s # Start of repetition tests 1820s ok 16 /option/arg/repetition/int 1820s ok 17 /option/arg/repetition/string 1820s ok 18 /option/arg/repetition/filename 1820s ok 19 /option/arg/repetition/double 1820s ok 20 /option/arg/repetition/locale 1820s ok 21 /option/arg/repetition/int64 1820s # End of repetition tests 1820s # Start of array tests 1820s ok 22 /option/arg/array/string 1820s # End of array tests 1820s # Start of callback tests 1820s ok 23 /option/arg/callback/string 1820s ok 24 /option/arg/callback/count 1820s ok 25 /option/arg/callback/optional1 1820s ok 26 /option/arg/callback/optional2 1820s ok 27 /option/arg/callback/optional3 1820s ok 28 /option/arg/callback/optional4 1820s ok 29 /option/arg/callback/optional5 1820s ok 30 /option/arg/callback/optional6 1820s ok 31 /option/arg/callback/optional7 1820s ok 32 /option/arg/callback/optional8 1820s # End of callback tests 1820s # Start of remaining tests 1820s ok 33 /option/arg/remaining/callback 1820s ok 34 /option/arg/remaining/callback-false 1820s ok 35 /option/arg/remaining/non-option 1820s ok 36 /option/arg/remaining/separator 1820s ok 37 /option/arg/remaining/array 1820s # End of remaining tests 1820s # Start of ignore tests 1820s ok 38 /option/arg/ignore/long 1820s ok 39 /option/arg/ignore/short 1820s ok 40 /option/arg/ignore/arg 1820s # End of ignore tests 1820s # Start of rest tests 1820s ok 41 /option/arg/rest/non-option 1820s ok 42 /option/arg/rest/separator1 1820s ok 43 /option/arg/rest/separator2 1820s ok 44 /option/arg/rest/separator3 1820s ok 45 /option/arg/rest/separator4 1820s ok 46 /option/arg/rest/separator5 1820s # End of rest tests 1820s # End of arg tests 1820s # Start of context tests 1820s ok 47 /option/context/add 1820s ok 48 /option/context/empty2 1820s ok 49 /option/context/empty3 1820s # End of context tests 1820s # Start of bug tests 1820s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1820s ok 50 /option/bug/unknown-short 1820s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1820s ok 51 /option/bug/lonely-dash 1820s ok 52 /option/bug/triple-dash 1820s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1820s ok 53 /option/bug/missing-arg 1820s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1820s ok 54 /option/bug/dash-arg 1820s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1820s ok 55 /option/bug/short-remaining 1820s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1820s ok 56 /option/bug/double-free 1820s ok 57 /option/bug/double-zero 1820s # End of bug tests 1820s # End of option tests 1820s ok - glib/option-context.test 1820s # Running test: glib/memory-settings-backend.test 1820s TAP version 13 1820s # random seed: R02S29781978534ea21013de0cd0fd4c9694 1820s 1..1 1820s # Start of memory-settings-backend tests 1820s ok 1 /memory-settings-backend/extension-point-registered 1820s # End of memory-settings-backend tests 1820s ok - glib/memory-settings-backend.test 1820s # Running test: glib/properties-refcount3.test 1820s TAP version 13 1820s # random seed: R02Sa66c81f8b87d5dd6cb9e5cab7d7354cf 1820s 1..1 1820s # Start of gobject tests 1820s # Start of refcount tests 1825s # Executing: glib/properties-refcount3.test 1830s # Executing: glib/properties-refcount3.test 1835s # Executing: glib/properties-refcount3.test 1840s # Executing: glib/properties-refcount3.test 1845s # Executing: glib/properties-refcount3.test 1850s # Executing: glib/properties-refcount3.test 1850s # 1850s # stopping 1850s # 1850s # stopped 1850s # 1850s # 16956774 1205115 1850s # 1850s ok 1 /gobject/refcount/properties-3 1850s # slow test /gobject/refcount/properties-3 executed in 30.01 secs 1850s # End of refcount tests 1850s # End of gobject tests 1850s ok - glib/properties-refcount3.test 1850s # Running test: glib/cond.test 1850s TAP version 13 1850s # random seed: R02Se0027a793dc629c6b7b06a6d83005534 1850s 1..4 1850s # Start of thread tests 1850s ok 1 /thread/cond1 1850s ok 2 /thread/cond2 1850s # Start of cond tests 1851s ok 3 /thread/cond/wait-until 1851s # slow test /thread/cond/wait-until executed in 1.02 secs 1851s # Start of wait-until tests 1851s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1852s ok 4 /thread/cond/wait-until/contended-and-interrupted 1852s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1852s # End of wait-until tests 1852s # End of cond tests 1852s # End of thread tests 1852s ok - glib/cond.test 1852s # Running test: glib/gsocketclient-slow.test 1852s TAP version 13 1852s # random seed: R02S7bb4608d489fd9ce9ce9cb8f421c0879 1852s 1..3 1852s # Start of socket-client tests 1852s # Start of happy-eyeballs tests 1852s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1852s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe25e49feaf0 and GSocketClientAsyncConnectData 0xbe25e49f82b0 1852s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1852s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1852s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe25e4a00200 for GSocketClientAsyncConnectData 0xbe25e49f82b0 1852s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1853s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1853s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1853s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1853s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1853s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1853s ok 1 /socket-client/happy-eyeballs/slow 1853s # slow test /socket-client/happy-eyeballs/slow executed in 0.61 secs 1853s # Start of cancellation tests 1853s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe25e4a03950 and GSocketClientAsyncConnectData 0xbe25e49ffa10 1853s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1853s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1853s ok 2 /socket-client/happy-eyeballs/cancellation/instant 1853s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbe25e4a02710 and GSocketClientAsyncConnectData 0xbe25e49f82b0 1853s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1853s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1853s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbe25e4a04540 for GSocketClientAsyncConnectData 0xbe25e49f82b0 1853s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1854s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1854s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1854s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1854s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1854s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1854s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 1854s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1854s # End of cancellation tests 1854s # End of happy-eyeballs tests 1854s # End of socket-client tests 1854s ok - glib/gsocketclient-slow.test 1854s # Running test: glib/io-stream.test 1854s TAP version 13 1854s # random seed: R02S6240b6343a16deebbdb109d012cbde94 1854s 1..3 1854s # Start of io-stream tests 1854s ok 1 /io-stream/copy-chunks 1854s # Start of close tests 1854s # Start of async tests 1854s ok 2 /io-stream/close/async/memory 1854s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1854s ok 3 /io-stream/close/async/file 1854s # End of async tests 1854s # End of close tests 1854s # End of io-stream tests 1854s ok - glib/io-stream.test 1854s # Running test: glib/basics-gobject.test 1854s TAP version 13 1854s # random seed: R02Sf5701d911ea4da4f2333e43dd505d3c7 1854s 1..1 1854s # Start of gobject tests 1854s # private data during initialization: 54321 == 54321 1854s # MAIN: emit test-signal: 1854s # ::test_signal default_handler called 1854s # ::test_signal default_handler called 1854s # ::test_signal default_handler called 1854s # signal return: "" 1854s # MAIN: call iface print-string on test and derived object: 1854s # Iface-FOO: "iface-string-from-test-type" from 0xad7fcf4497a0 1854s # Iface-BAR: "iface-string-from-derived-type" from 0xad7fcf4496c0 1854s # chaining: 1854s # Iface-FOO: "iface-string-from-derived-type" from 0xad7fcf4496c0 1854s # private data after initialization: 54321 == 54321 1854s ok 1 /gobject/basics 1854s # End of gobject tests 1854s ok - glib/basics-gobject.test 1854s # Running test: glib/gdbus-proxy.test 1854s TAP version 13 1854s # random seed: R02S3e9fa18ac95e0a76e0dde3bb08e55c60 1854s 1..5 1854s # Start of gdbus tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/.dirs/runtime 1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1855s # Executing: glib/gdbus-proxy.test 1856s ok 1 /gdbus/proxy 1856s # slow test /gdbus/proxy executed in 1.78 secs 1856s # Start of proxy tests 1856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-properties/.dirs/home 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-properties/.dirs/cache 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-properties/.dirs/system-config2 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-properties/.dirs/config 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-properties/.dirs/system-data2 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-properties/.dirs/data 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-properties/.dirs/state 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-properties/.dirs/runtime 1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1856s ok 2 /gdbus/proxy/no-properties 1856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/wellknown-noauto/.dirs/home 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/wellknown-noauto/.dirs/cache 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/wellknown-noauto/.dirs/config 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/wellknown-noauto/.dirs/data 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/wellknown-noauto/.dirs/state 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1856s ok 3 /gdbus/proxy/wellknown-noauto 1856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/async/.dirs/home 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/async/.dirs/cache 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/async/.dirs/system-config2 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/async/.dirs/config 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/async/.dirs/system-data2 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/async/.dirs/data 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/async/.dirs/state 1856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/async/.dirs/runtime 1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1857s ok 4 /gdbus/proxy/async 1857s # slow test /gdbus/proxy/async executed in 1.77 secs 1857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-match-rule/.dirs/home 1857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-match-rule/.dirs/cache 1857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-match-rule/.dirs/system-config2 1857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-match-rule/.dirs/config 1857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-match-rule/.dirs/system-data2 1857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-match-rule/.dirs/data 1857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-match-rule/.dirs/state 1857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MF1FK2/gdbus/proxy/no-match-rule/.dirs/runtime 1857s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s ok 5 /gdbus/proxy/no-match-rule 1859s # slow test /gdbus/proxy/no-match-rule executed in 1.77 secs 1859s # End of proxy tests 1859s # End of gdbus tests 1859s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1859s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1859s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1859s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1859s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1859s ok - glib/gdbus-proxy.test 1859s # Running test: glib/stream-rw_all.test 1859s TAP version 13 1859s # random seed: R02S510d0de79b20f2f380e3c3d7ed6ea6de 1859s 1..3 1859s # Start of stream tests 1859s # Start of read_all_async tests 1859s ok 1 /stream/read_all_async/memory 1859s # End of read_all_async tests 1859s # Start of write_all_async tests 1859s ok 2 /stream/write_all_async/memory 1859s # End of write_all_async tests 1859s # Start of read_write_all_async tests 1859s ok 3 /stream/read_write_all_async/pipe 1859s # End of read_write_all_async tests 1859s # End of stream tests 1859s ok - glib/stream-rw_all.test 1859s # Running test: glib/gthash.test 1859s TAP version 13 1859s # random seed: R02S79b59199c2d682a16aab8bcae664aa4c 1859s 1..1 1859s # Start of gthash tests 1859s ok 1 /gthash/build-retrieve 1859s # End of gthash tests 1859s ok - glib/gthash.test 1859s # Running test: glib/uri.test 1859s TAP version 13 1859s # random seed: R02Sffd6d4b3996bb419e6dfc6e1b3ca0812 1859s 1..24 1859s # Start of uri tests 1859s ok 1 /uri/file-to-uri 1859s ok 2 /uri/file-from-uri 1859s ok 3 /uri/file-roundtrip 1859s ok 4 /uri/list 1859s # Test 0: %2Babc %4F 1859s # Test 1: %2Babc %4F 1859s # Test 2: %00abc %4F 1859s # Test 3: /cursors/none.png 1859s # Test 4: /cursors%2fbad-subdir/none.png 1859s # Test 5: %0 1859s # Test 6: %ra 1859s # Test 7: %2r 1859s # Test 8: Timm B?der 1859s # Test 9: (null) 1859s ok 5 /uri/unescape-string 1859s ok 6 /uri/unescape-segment 1859s # Test 0: abcdefgABCDEFG._~ 1859s # Test 1: :+ \\?# 1859s # Test 2: a+b:c 1859s # Test 3: a+b:c\303\234 1859s # Test 4: \374;\322 1859s # Test 5: \303\261\303( 1859s ok 7 /uri/escape-string 1859s ok 8 /uri/escape-bytes 1859s ok 9 /uri/scheme 1859s ok 10 /uri/build 1859s ok 11 /uri/split 1859s ok 12 /uri/is_valid 1859s ok 13 /uri/to-string 1859s ok 14 /uri/join 1859s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1859s # Combination 0 1859s # Combination 1 1859s # Combination 2 1859s # Combination 3 1859s # Combination 4 1859s # Combination 5 1859s # Combination 6 1859s # Combination 7 1859s # Combination 8 1859s # Combination 9 1859s # Combination 10 1859s # Combination 11 1859s # Combination 12 1859s # Combination 13 1859s # Combination 14 1859s # Combination 15 1859s # Combination 16 1859s # Combination 17 1859s # Combination 18 1859s # Combination 19 1859s # Combination 20 1859s # Combination 21 1859s # Combination 22 1859s # Combination 23 1859s # Combination 24 1859s # Combination 25 1859s # Combination 26 1859s # Combination 27 1859s # Combination 28 1859s # Combination 29 1859s # Combination 30 1859s # Combination 31 1859s # Combination 32 1859s # Combination 33 1859s # Combination 34 1859s # Combination 35 1859s # Combination 36 1859s # Combination 37 1859s # Combination 38 1859s # Combination 39 1859s # Combination 40 1859s # Combination 41 1859s # Combination 42 1859s # Combination 43 1859s # Combination 44 1859s # Combination 45 1859s # Combination 46 1859s # Combination 47 1859s # Combination 48 1859s # Combination 49 1859s # Combination 50 1859s # Combination 51 1859s # Combination 52 1859s # Combination 53 1859s # Combination 54 1859s # Combination 55 1859s # Combination 56 1859s # Combination 57 1859s # Combination 58 1859s # Combination 59 1859s # Combination 60 1859s # Combination 61 1859s # Combination 62 1859s # Combination 63 1859s # Combination 64 1859s # Combination 65 1859s # Combination 66 1859s # Combination 67 1859s # Combination 68 1859s # Combination 69 1859s # Combination 70 1859s # Combination 71 1859s # Combination 72 1859s # Combination 73 1859s # Combination 74 1859s # Combination 75 1859s # Combination 76 1859s # Combination 77 1859s # Combination 78 1859s # Combination 79 1859s # Combination 80 1859s # Combination 81 1859s # Combination 82 1859s # Combination 83 1859s # Combination 84 1859s # Combination 85 1859s # Combination 86 1859s # Combination 87 1859s # Combination 88 1859s # Combination 89 1859s # Combination 90 1859s # Combination 91 1859s # Combination 92 1859s # Combination 93 1859s # Combination 94 1859s # Combination 95 1859s # Combination 96 1859s # Combination 97 1859s # Combination 98 1859s # Combination 99 1859s # Combination 100 1859s # Combination 101 1859s # Combination 102 1859s # Combination 103 1859s # Combination 104 1859s # Combination 105 1859s # Combination 106 1859s # Combination 107 1859s # Combination 108 1859s # Combination 109 1859s # Combination 110 1859s # Combination 111 1859s # Combination 112 1859s # Combination 113 1859s # Combination 114 1859s # Combination 115 1859s # Combination 116 1859s # Combination 117 1859s # Combination 118 1859s # Combination 119 1859s # Combination 120 1859s # Combination 121 1859s # Combination 122 1859s # Combination 123 1859s # Combination 124 1859s # Combination 125 1859s # Combination 126 1859s # Combination 127 1859s # Combination 128 1859s # Combination 129 1859s # Combination 130 1859s # Combination 131 1859s # Combination 132 1859s # Combination 133 1859s # Combination 134 1859s # Combination 135 1859s # Combination 136 1859s # Combination 137 1859s # Combination 138 1859s # Combination 139 1859s # Combination 140 1859s # Combination 141 1859s # Combination 142 1859s # Combination 143 1859s # Combination 144 1859s # Combination 145 1859s # Combination 146 1859s # Combination 147 1859s # Combination 148 1859s # Combination 149 1859s # Combination 150 1859s # Combination 151 1859s # Combination 152 1859s # Combination 153 1859s # Combination 154 1859s # Combination 155 1859s # Combination 156 1859s # Combination 157 1859s # Combination 158 1859s # Combination 159 1859s # Combination 160 1859s # Combination 161 1859s # Combination 162 1859s # Combination 163 1859s # Combination 164 1859s # Combination 165 1859s # Combination 166 1859s # Combination 167 1859s # Combination 168 1859s # Combination 169 1859s # Combination 170 1859s # Combination 171 1859s # Combination 172 1859s # Combination 173 1859s # Combination 174 1859s # Combination 175 1859s # Combination 176 1859s # Combination 177 1859s # Combination 178 1859s # Combination 179 1859s # Combination 180 1859s # Combination 181 1859s # Combination 182 1859s # Combination 183 1859s # Combination 184 1859s # Combination 185 1859s # Combination 186 1859s # Combination 187 1859s # Combination 188 1859s # Combination 189 1859s # Combination 190 1859s # Combination 191 1859s # Combination 192 1859s # Combination 193 1859s # Combination 194 1859s # Combination 195 1859s # Combination 196 1859s # Combination 197 1859s # Combination 198 1859s # Combination 199 1859s # Combination 200 1859s # Combination 201 1859s # Combination 202 1859s # Combination 203 1859s # Combination 204 1859s # Combination 205 1859s # Combination 206 1859s # Combination 207 1859s # Combination 208 1859s # Combination 209 1859s # Combination 210 1859s # Combination 211 1859s # Combination 212 1859s # Combination 213 1859s # Combination 214 1859s # Combination 215 1859s # Combination 216 1859s # Combination 217 1859s # Combination 218 1859s # Combination 219 1859s # Combination 220 1859s # Combination 221 1859s # Combination 222 1859s # Combination 223 1859s # Combination 224 1859s # Combination 225 1859s # Combination 226 1859s # Combination 227 1859s # Combination 228 1859s # Combination 229 1859s # Combination 230 1859s # Combination 231 1859s # Combination 232 1859s # Combination 233 1859s # Combination 234 1859s # Combination 235 1859s # Combination 236 1859s # Combination 237 1859s # Combination 238 1859s # Combination 239 1859s # Combination 240 1859s # Combination 241 1859s # Combination 242 1859s # Combination 243 1859s # Combination 244 1859s # Combination 245 1859s # Combination 246 1859s # Combination 247 1859s # Combination 248 1859s # Combination 249 1859s # Combination 250 1859s # Combination 251 1859s # Combination 252 1859s # Combination 253 1859s # Combination 254 1859s # Combination 255 1859s ok 15 /uri/join-split-round-trip 1859s ok 16 /uri/normalize 1859s # Start of unescape-bytes tests 1859s # Test 0: %00%00 1859s # Test 1: /cursors/none.png 1859s # Test 2: /cursors%2fbad-subdir/none.png 1859s # Test 3: %% 1859s # Test 4: % 1859s ok 17 /uri/unescape-bytes/nul-terminated 1859s # Test 0: %00%00 1859s # Test 1: /cursors/none.png 1859s # Test 2: /cursors%2fbad-subdir/none.png 1859s # Test 3: %% 1859s # Test 4: % 1859s ok 18 /uri/unescape-bytes/length 1859s # End of unescape-bytes tests 1859s # Start of parsing tests 1859s # Test 0: foo: 1859s # Test 1: file:/dev/null 1859s # Test 2: file:///dev/null 1859s # Test 3: ftp://user@host/path 1859s # Test 4: ftp://user@host:9999/path 1859s # Test 5: ftp://user:password@host/path 1859s # Test 6: ftp://user:password@host:9999/path 1859s # Test 7: ftp://user:password@host 1859s # Test 8: http://us%65r@host 1859s # Test 9: http://us%40r@host 1859s # Test 10: http://us%3ar@host 1859s # Test 11: http://us%2fr@host 1859s # Test 12: http://us%3fr@host 1859s # Test 13: http://host?query 1859s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1859s # 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 1859s # Test 16: http://space/%20 1859s # Test 17: http://delims/%3C%3E%23%25%22 1859s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1859s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1859s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1859s # Test 21: http://[3ffe:2a00:100:7031::1] 1859s # Test 22: http://[1080::8:800:200C:417A]/foo 1859s # Test 23: http://[::192.9.5.5]/ipng 1859s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1859s # Test 25: http://[2010:836B:4179::836B:4179] 1859s # Test 26: http://host/path with spaces 1859s # Test 27: http://host/path 1859s # Test 28: http://host/path 1859s # Test 29: http://host 1859s # Test 30: http://host:999 1859s # Test 31: http://host/pa 1859s # th 1859s # Test 32: http: 1859s # //host/path 1859s # Test 33: http:// host/path 1859s # Test 34: http://host/path? 1859s # Test 35: http://host/path# 1859s # Test 36: http://host/path% 1859s # Test 37: http://h%ost/path 1859s # Test 38: http://host/path%% 1859s # Test 39: http://host/path%%% 1859s # Test 40: http://host/path%/x/ 1859s # Test 41: http://host/path%0x/ 1859s # Test 42: http://host/path%ax 1859s # Test 43: http://host/p?th/ 1859s # Test 44: HTTP://////////////// 1859s # Test 45: http://@host 1859s # Test 46: http://:@host 1859s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1859s # Test 48: http://example.com/.. 1859s # Test 49: foo0://host/path 1859s # Test 50: f0.o://host/path 1859s # Test 51: http++://host/path 1859s # Test 52: http-ish://host/path 1859s # Test 53: http://[fe80::dead:beef%]/ 1859s # Test 54: http://[fe80::dead:beef%em1]/ 1859s # Test 55: http://[fe80::dead:beef%em1]/ 1859s # Test 56: http://[fe80::dead:beef%25em1]/ 1859s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1859s # Test 58: http://[fe80::dead:beef%25em%31]/ 1859s # Test 59: http://[fe80::dead:beef%10]/ 1859s # Test 60: http://[fe80::dead:beef%10]/ 1859s # Test 61: http://[fe80::dead:beef%25]/ 1859s # Test 62: http://[fe80::dead:beef%25]/ 1859s # Test 63: http://[192.168.0.1%25em1]/ 1859s # Test 64: http://[fe80::dead:beef%2em1]/ 1859s # Test 65: http://[fe80::dead:beef%2em1]/ 1859s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1859s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1859s # Test 68: http://xn--mixed-?p/ 1859s ok 19 /uri/parsing/absolute 1859s ok 20 /uri/parsing/relative 1859s # End of parsing tests 1859s # Start of iter-params tests 1859s # URI 0: p1=foo&p2=bar;p3=baz 1859s # URI 1: p1=foo&p2=bar 1859s # URI 2: p1=foo&&P1=bar 1859s # URI 3: %00=foo 1859s # URI 4: p1=%00 1859s # URI 5: p1=foo&p1=bar 1859s # URI 6: p1=foo&P1=bar 1859s # URI 7: =% 1859s # URI 8: = 1859s # URI 9: foo 1859s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1859s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1859s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1859s ok 21 /uri/iter-params/nul-terminated 1859s # URI 0: p1=foo&p2=bar;p3=baz 1859s # URI 1: p1=foo&p2=bar 1859s # URI 2: p1=foo&&P1=bar 1859s # URI 3: %00=foo 1859s # URI 4: p1=%00 1859s # URI 5: p1=foo&p1=bar 1859s # URI 6: p1=foo&P1=bar 1859s # URI 7: =% 1859s # URI 8: = 1859s # URI 9: foo 1859s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1859s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1859s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1859s ok 22 /uri/iter-params/length 1859s # End of iter-params tests 1859s # Start of parse-params tests 1859s # URI 0: p1=foo&p2=bar;p3=baz 1859s # URI 1: p1=foo&p2=bar 1859s # URI 2: p1=foo&&P1=bar 1859s # URI 3: %00=foo 1859s # URI 4: p1=%00 1859s # URI 5: p1=foo&p1=bar 1859s # URI 6: p1=foo&P1=bar 1859s # URI 7: =% 1859s # URI 8: = 1859s # URI 9: foo 1859s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1859s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1859s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1859s ok 23 /uri/parse-params/nul-terminated 1859s # URI 0: p1=foo&p2=bar;p3=baz 1859s # URI 1: p1=foo&p2=bar 1859s # URI 2: p1=foo&&P1=bar 1859s # URI 3: %00=foo 1859s # URI 4: p1=%00 1859s # URI 5: p1=foo&p1=bar 1859s # URI 6: p1=foo&P1=bar 1859s # URI 7: =% 1859s # URI 8: = 1859s # URI 9: foo 1859s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1859s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1859s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1859s ok 24 /uri/parse-params/length 1859s # End of parse-params tests 1859s # End of uri tests 1859s ok - glib/uri.test 1859s # Running test: glib/error.test 1859s TAP version 13 1859s # random seed: R02S9449c697e3780a5c814787e79ab2502b 1859s 1..3 1859s # Start of error tests 1859s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_UQA3J2/error/from-errno/.dirs/home 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_UQA3J2/error/from-errno/.dirs/cache 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_UQA3J2/error/from-errno/.dirs/system-config1:/tmp/test_error_UQA3J2/error/from-errno/.dirs/system-config2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_UQA3J2/error/from-errno/.dirs/config 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_UQA3J2/error/from-errno/.dirs/system-data1:/tmp/test_error_UQA3J2/error/from-errno/.dirs/system-data2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_UQA3J2/error/from-errno/.dirs/data 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_UQA3J2/error/from-errno/.dirs/state 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_UQA3J2/error/from-errno/.dirs/runtime 1859s ok 1 /error/from-errno 1859s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_UQA3J2/error/from-file-error/.dirs/home 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_UQA3J2/error/from-file-error/.dirs/cache 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_UQA3J2/error/from-file-error/.dirs/system-config1:/tmp/test_error_UQA3J2/error/from-file-error/.dirs/system-config2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_UQA3J2/error/from-file-error/.dirs/config 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_UQA3J2/error/from-file-error/.dirs/system-data1:/tmp/test_error_UQA3J2/error/from-file-error/.dirs/system-data2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_UQA3J2/error/from-file-error/.dirs/data 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_UQA3J2/error/from-file-error/.dirs/state 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_UQA3J2/error/from-file-error/.dirs/runtime 1859s ok 2 /error/from-file-error 1859s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_UQA3J2/error/from-win32-error/.dirs/home 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_UQA3J2/error/from-win32-error/.dirs/cache 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_UQA3J2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_UQA3J2/error/from-win32-error/.dirs/system-config2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_UQA3J2/error/from-win32-error/.dirs/config 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_UQA3J2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_UQA3J2/error/from-win32-error/.dirs/system-data2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_UQA3J2/error/from-win32-error/.dirs/data 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_UQA3J2/error/from-win32-error/.dirs/state 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_UQA3J2/error/from-win32-error/.dirs/runtime 1859s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1859s # End of error tests 1859s ok - glib/error.test 1859s # Running test: glib/closure-refcount.test 1859s TAP version 13 1859s # random seed: R02S18709246a85b3a95d8c216d4a9e00b06 1859s 1..1 1859s # Start of closure tests 1859s # Init 0xbb69a6c9a1d0 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from thread1 1859s # Yielding from thread2 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from thread1 1860s # Yielding from thread2 1860s # Yielding from main thread 1860s # Executing: glib/closure-refcount.test 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from thread1 1860s # Yielding from thread2 1860s # Stopping 1860s # Stopped 1860s ok 1 /closure/refcount 1860s # slow test /closure/refcount executed in 0.80 secs 1860s # End of closure tests 1860s ok - glib/closure-refcount.test 1860s # Running test: glib/thumbnail-verification.test 1860s TAP version 13 1860s # random seed: R02Sef1ce842b795768d6521a076587909d9 1860s 1..1 1860s # Start of png-thumbs tests 1860s ok 1 /png-thumbs/validity 1860s # End of png-thumbs tests 1860s ok - glib/thumbnail-verification.test 1860s # Running test: glib/relation.test 1860s TAP version 13 1860s # random seed: R02Se9604dcdea3266045549ccd48d6da3fe 1860s 1..1 1860s # Start of glib tests 1860s ok 1 /glib/relation 1860s # End of glib tests 1860s ok - glib/relation.test 1860s # Running test: glib/assert-msg-test.py.test 1860s TAP version 13 1860s ok 1 __main__.TestAssertMessage.test_gassert 1860s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1860s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1860s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fri9hmCOxz,guid=9e662b61bb8572e503c374ee65ec95d8', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.drtrlk6N4J', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.7dj5sh/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.6fpYMJ/build.4Hc/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.6fpYMJ/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.6fpYMJ/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=gnome-desktop-testing/2021.1-3build1 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests; touch /tmp/autopkgtest.6fpYMJ/installed-tests-stdout /tmp/autopkgtest.6fpYMJ/installed-tests-stderr; /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.6fpYMJ/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6fpYMJ/build.4Hc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6fpYMJ/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1860s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1860s # Error: ** 1860s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1860s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1860s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1860s 1..2 1860s ok - glib/assert-msg-test.py.test 1860s # Running test: glib/sandbox.test 1860s TAP version 13 1860s # random seed: R02S280cdaf3126cefc788fb86536055f12c 1860s 1..4 1860s # Start of sandbox tests 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_PN4VJ2/sandbox/none/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/none/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_PN4VJ2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_PN4VJ2/sandbox/none/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/none/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_PN4VJ2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_PN4VJ2/sandbox/none/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/none/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/none/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_PN4VJ2/sandbox/none/.dirs/runtime 1860s ok 1 /sandbox/none 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_PN4VJ2/sandbox/snap/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/snap/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_PN4VJ2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_PN4VJ2/sandbox/snap/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/snap/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_PN4VJ2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_PN4VJ2/sandbox/snap/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/snap/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/snap/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_PN4VJ2/sandbox/snap/.dirs/runtime 1860s # Created snap.yaml in /tmp/test_sandbox_PN4VJ2/snap/current/meta/snap.yaml 1860s ok 2 /sandbox/snap 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_PN4VJ2/sandbox/classic-snap/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/classic-snap/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_PN4VJ2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_PN4VJ2/sandbox/classic-snap/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/classic-snap/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_PN4VJ2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_PN4VJ2/sandbox/classic-snap/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/classic-snap/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/classic-snap/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_PN4VJ2/sandbox/classic-snap/.dirs/runtime 1860s # Created snap.yaml in /tmp/test_sandbox_PN4VJ2/snap/current/meta/snap.yaml 1860s ok 3 /sandbox/classic-snap 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_PN4VJ2/sandbox/flatpak/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/flatpak/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_PN4VJ2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_PN4VJ2/sandbox/flatpak/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/flatpak/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_PN4VJ2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_PN4VJ2/sandbox/flatpak/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/flatpak/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_PN4VJ2/sandbox/flatpak/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_PN4VJ2/sandbox/flatpak/.dirs/runtime 1860s # Creating .flatpak-info in /tmp/test_sandbox_PN4VJ2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1860s ok 4 /sandbox/flatpak 1860s # End of sandbox tests 1860s ok - glib/sandbox.test 1860s # Running test: glib/gsubprocess.test 1860s TAP version 13 1860s # random seed: R02S1e486b610910b13908d687520af994f3 1860s 1..83 1860s # Start of gsubprocess tests 1860s ok 1 /gsubprocess/noop 1860s ok 2 /gsubprocess/noop-all-to-null 1860s ok 3 /gsubprocess/noop-no-wait 1860s ok 4 /gsubprocess/noop-stdin-inherit 1860s ok 5 /gsubprocess/search-path 1860s ok 6 /gsubprocess/search-path-from-envp 1864s ok 7 /gsubprocess/signal 1864s # slow test /gsubprocess/signal executed in 3.30 secs 1864s ok 8 /gsubprocess/exit1 1864s ok 9 /gsubprocess/echo1 1864s ok 10 /gsubprocess/echo-merged 1864s ok 11 /gsubprocess/cat-utf8 1865s # Executing: glib/gsubprocess.test 1865s ok 12 /gsubprocess/cat-eof 1865s # slow test /gsubprocess/cat-eof executed in 1.01 secs 1868s ok 13 /gsubprocess/multi1 1868s # slow test /gsubprocess/multi1 executed in 3.03 secs 1868s ok 14 /gsubprocess/communicate 1870s # Executing: glib/gsubprocess.test 1871s ok 15 /gsubprocess/terminate 1871s # slow test /gsubprocess/terminate executed in 2.91 secs 1871s ok 16 /gsubprocess/env 1871s ok 17 /gsubprocess/cwd 1871s ok 18 /gsubprocess/launcher-close 1871s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1871s ok 19 /gsubprocess/stdout-file 1871s ok 20 /gsubprocess/stdout-fd 1871s ok 21 /gsubprocess/child-setup 1871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1871s ok 22 /gsubprocess/launcher-environment 1871s # Start of exit1 tests 1871s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1871s ok 23 /gsubprocess/exit1/cancel 1871s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1871s ok 24 /gsubprocess/exit1/cancel_in_cb 1871s # End of exit1 tests 1871s # Start of communicate tests 1871s ok 25 /gsubprocess/communicate/cancelled 1871s ok 26 /gsubprocess/communicate/async 1871s ok 27 /gsubprocess/communicate/utf8 1871s # hello world 1871s ok 28 /gsubprocess/communicate/no-pipes 1871s ok 29 /gsubprocess/communicate/separate-stderr 1871s ok 30 /gsubprocess/communicate/stdout-only 1871s # hello world 1871s ok 31 /gsubprocess/communicate/stderr-only 1871s ok 32 /gsubprocess/communicate/stdout-silence 1871s ok 33 /gsubprocess/communicate/nothing 1871s # Start of async tests 1871s ok 34 /gsubprocess/communicate/async/cancelled 1871s # hello world 1871s ok 35 /gsubprocess/communicate/async/no-pipes 1871s ok 36 /gsubprocess/communicate/async/separate-stderr 1871s ok 37 /gsubprocess/communicate/async/stdout-only 1871s # hello world 1871s ok 38 /gsubprocess/communicate/async/stderr-only 1871s ok 39 /gsubprocess/communicate/async/stdout-silence 1871s # Start of cancelled tests 1871s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1871s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1871s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1871s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1871s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1871s # End of cancelled tests 1871s # End of async tests 1871s # Start of utf8 tests 1871s ok 45 /gsubprocess/communicate/utf8/cancelled 1871s ok 46 /gsubprocess/communicate/utf8/async 1871s # hello world 1871s ok 47 /gsubprocess/communicate/utf8/no-pipes 1871s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1871s ok 49 /gsubprocess/communicate/utf8/stdout-only 1871s # hello world 1871s ok 50 /gsubprocess/communicate/utf8/stderr-only 1871s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1871s ok 52 /gsubprocess/communicate/utf8/invalid 1871s # Start of async tests 1871s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1871s # hello world 1871s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1871s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1871s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1871s # hello world 1871s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1871s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1871s ok 59 /gsubprocess/communicate/utf8/async/invalid 1871s # Start of cancelled tests 1871s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1871s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1871s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1871s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1871s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1871s # End of cancelled tests 1871s # End of async tests 1871s # Start of cancelled tests 1871s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1871s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1871s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1871s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1871s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1871s # End of cancelled tests 1871s # End of utf8 tests 1871s # Start of cancelled tests 1871s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1871s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1871s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1871s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1871s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1871s # End of cancelled tests 1871s # End of communicate tests 1871s # Start of env tests 1871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1871s ok 75 /gsubprocess/env/inherit 1871s # End of env tests 1871s # Start of pass-fd tests 1871s ok 76 /gsubprocess/pass-fd/basic 1871s ok 77 /gsubprocess/pass-fd/empty-child-setup 1871s ok 78 /gsubprocess/pass-fd/inherit-fds 1871s # End of pass-fd tests 1871s # Start of fd-conflation tests 1871s ok 79 /gsubprocess/fd-conflation/basic 1872s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1872s ok 81 /gsubprocess/fd-conflation/inherit-fds 1872s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1872s # End of fd-conflation tests 1872s # Start of exit-status tests 1872s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1872s ok 83 /gsubprocess/exit-status/trapped 1872s # End of exit-status tests 1872s # End of gsubprocess tests 1872s ok - glib/gsubprocess.test 1872s # Running test: glib/search-utils.test 1872s TAP version 13 1872s # random seed: R02S37c3982babb7a07f082493261e36d7f8 1872s # GLib-DEBUG: Current user locale: C.UTF-8 1872s 1..6 1872s # Start of search tests 1872s # GLib-DEBUG: Started 1872s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1872s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1872s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1872s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1872s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1872s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1872s ok 1 /search/basic 1872s # GLib-DEBUG: Started 1872s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1872s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1872s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1872s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1872s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1872s ok 2 /search/composed 1872s # GLib-DEBUG: Started 1872s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1872s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1872s ok 3 /search/decomposed 1872s # GLib-DEBUG: Started 1872s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1872s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1872s ok 4 /search/turkish 1872s # GLib-DEBUG: Started 1872s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1872s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1872s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1872s ok 5 /search/c_locale_unicode 1872s # GLib-DEBUG: Started 1872s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1872s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1872s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1872s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1872s ok 6 /search/multi_words 1872s # End of search tests 1872s ok - glib/search-utils.test 1872s # Running test: glib/portal-support-flatpak-full.test 1872s TAP version 13 1872s # random seed: R02Sf0e26776384667ca659f682ca9749d2a 1872s 1..1 1872s # Start of portal-support tests 1872s # Start of flatpak tests 1872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_3Q1EK2/portal-support/flatpak/full/.dirs/home 1872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_3Q1EK2/portal-support/flatpak/full/.dirs/cache 1872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_3Q1EK2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_3Q1EK2/portal-support/flatpak/full/.dirs/system-config2 1872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_3Q1EK2/portal-support/flatpak/full/.dirs/config 1872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_3Q1EK2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_3Q1EK2/portal-support/flatpak/full/.dirs/system-data2 1872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_3Q1EK2/portal-support/flatpak/full/.dirs/data 1872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_3Q1EK2/portal-support/flatpak/full/.dirs/state 1872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_3Q1EK2/portal-support/flatpak/full/.dirs/runtime 1872s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_3Q1EK2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1872s ok 1 /portal-support/flatpak/full 1872s # End of flatpak tests 1872s # End of portal-support tests 1872s ok - glib/portal-support-flatpak-full.test 1872s # Running test: glib/mutex.test 1872s TAP version 13 1872s # random seed: R02Sc1cf93567713ef60c4abe73096a1ec88 1872s 1..17 1872s # Start of thread tests 1872s ok 1 /thread/mutex1 1872s ok 2 /thread/mutex2 1872s ok 3 /thread/mutex3 1872s ok 4 /thread/mutex4 1875s # Executing: glib/mutex.test 1880s # Executing: glib/mutex.test 1885s # Executing: glib/mutex.test 1890s # Executing: glib/mutex.test 1895s # Executing: glib/mutex.test 1900s # Executing: glib/mutex.test 1905s # Executing: glib/mutex.test 1910s # Executing: glib/mutex.test 1910s ok 5 /thread/mutex5 1910s # slow test /thread/mutex5 executed in 38.87 secs 1910s # Start of mutex tests 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1910s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1911s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1913s ok 6 /thread/mutex/errno 1913s # slow test /thread/mutex/errno executed in 2.28 secs 1913s # Start of perf tests 1913s # max perf: inf mips 1913s ok 7 /thread/mutex/perf/uncontended 1913s # Start of contended tests 1913s # max perf: 2.000000 mips 1913s ok 8 /thread/mutex/perf/contended/1 1913s # max perf: 1.500000 mips 1913s ok 9 /thread/mutex/perf/contended/2 1913s # max perf: 4.000000 mips 1913s ok 10 /thread/mutex/perf/contended/3 1913s # max perf: inf mips 1913s ok 11 /thread/mutex/perf/contended/4 1913s # max perf: 6.000000 mips 1913s ok 12 /thread/mutex/perf/contended/5 1913s # max perf: 7.000000 mips 1913s ok 13 /thread/mutex/perf/contended/6 1913s # max perf: 8.000000 mips 1913s ok 14 /thread/mutex/perf/contended/7 1913s # max perf: 0.026393 mips 1913s ok 15 /thread/mutex/perf/contended/8 1913s # max perf: 0.025907 mips 1913s ok 16 /thread/mutex/perf/contended/9 1913s # max perf: 11.000000 mips 1913s ok 17 /thread/mutex/perf/contended/10 1913s # End of contended tests 1913s # End of perf tests 1913s # End of mutex tests 1913s # End of thread tests 1913s ok - glib/mutex.test 1913s # Running test: glib/testing.test 1913s TAP version 13 1913s # random seed: R02S87b78e3c73e6b8f1b3d8ec26fad2f324 1913s 1..1 1913s # Start of assert tests 1913s ok 1 /assert/finalize_object 1913s # Start of finalize_object tests 1913s # Start of subprocess tests 1913s # End of subprocess tests 1913s # End of finalize_object tests 1913s # End of assert tests 1913s ok - glib/testing.test 1913s # Running test: glib/rwlock.test 1913s TAP version 13 1913s # random seed: R02Se65c9a93776fb251af3516f8007cc754 1913s 1..8 1913s # Start of thread tests 1913s ok 1 /thread/rwlock1 1913s ok 2 /thread/rwlock2 1913s ok 3 /thread/rwlock3 1913s ok 4 /thread/rwlock4 1913s ok 5 /thread/rwlock5 1913s ok 6 /thread/rwlock6 1915s # Executing: glib/rwlock.test 1920s # Executing: glib/rwlock.test 1925s # Executing: glib/rwlock.test 1930s # Executing: glib/rwlock.test 1935s # Executing: glib/rwlock.test 1940s # Executing: glib/rwlock.test 1945s # Executing: glib/rwlock.test 1950s # Executing: glib/rwlock.test 1952s ok 7 /thread/rwlock7 1952s # slow test /thread/rwlock7 executed in 39.43 secs 1952s ok 8 /thread/rwlock8 1952s # End of thread tests 1952s ok - glib/rwlock.test 1952s # Running test: glib/private.test 1952s TAP version 13 1952s # random seed: R02Sca0f155299c14ec6c24587114382a329 1952s 1..8 1952s # Start of thread tests 1952s ok 1 /thread/private1 1954s ok 2 /thread/private2 1954s # slow test /thread/private2 executed in 1.12 secs 1954s ok 3 /thread/private3 1954s ok 4 /thread/staticprivate1 1954s ok 5 /thread/staticprivate2 1954s ok 6 /thread/staticprivate3 1955s ok 7 /thread/staticprivate4 1955s # slow test /thread/staticprivate4 executed in 1.15 secs 1955s ok 8 /thread/staticprivate5 1955s # End of thread tests 1955s ok - glib/private.test 1955s # Running test: glib/dataset.test 1955s TAP version 13 1955s # random seed: R02S65fbff4204c6ac060054776bb45b6df4 1955s 1..14 1955s # Start of quark tests 1955s ok 1 /quark/basic 1955s ok 2 /quark/string 1955s # End of quark tests 1955s # Start of dataset tests 1955s ok 3 /dataset/basic 1955s ok 4 /dataset/id 1955s ok 5 /dataset/full 1955s ok 6 /dataset/foreach 1955s ok 7 /dataset/destroy 1955s # End of dataset tests 1955s # Start of datalist tests 1955s ok 8 /datalist/basic 1955s ok 9 /datalist/id 1955s ok 10 /datalist/recursive-clear 1955s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1955s ok 11 /datalist/id-remove-multiple 1955s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1955s ok 12 /datalist/id-remove-multiple-destroy-order 1955s ok 13 /datalist/update-atomic 1955s # Start of id-remove-multiple tests 1955s ok 14 /datalist/id-remove-multiple/resize 1955s # End of id-remove-multiple tests 1955s # End of datalist tests 1955s ok - glib/dataset.test 1955s # Running test: glib/atomic-c-11.test 1955s TAP version 13 1955s # random seed: R02S47c2318b0f319fd4500f2b2ea9ecffdb 1955s 1..2 1955s # Start of atomic tests 1955s ok 1 /atomic/types 1955s # Executing: glib/atomic-c-11.test 1955s ok 2 /atomic/threaded 1955s # slow test /atomic/threaded executed in 0.73 secs 1955s # End of atomic tests 1955s ok - glib/atomic-c-11.test 1955s # Running test: glib/mem-overflow.test 1955s TAP version 13 1955s # random seed: R02S0ba512f385a42bbbfe95a33b0eb7f3be 1955s 1..2 1955s # Start of mem tests 1956s ok 1 /mem/overflow 1956s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1956s ok 2 /mem/empty-alloc 1956s # Start of overflow tests 1956s # Start of subprocess tests 1956s # End of subprocess tests 1956s # End of overflow tests 1956s # Start of empty-alloc tests 1956s # End of empty-alloc tests 1956s # End of mem tests 1956s ok - glib/mem-overflow.test 1956s # Running test: glib/g-icon.test 1956s TAP version 13 1956s # random seed: R02S1de8dc71bbccef40c1d1f4b6d673ccdf 1956s 1..6 1956s # Start of icons tests 1956s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1956s ok 1 /icons/to-string 1956s ok 2 /icons/serialize 1956s ok 3 /icons/themed 1956s ok 4 /icons/emblemed 1956s ok 5 /icons/file 1956s ok 6 /icons/bytes 1956s # End of icons tests 1956s ok - glib/g-icon.test 1956s # Running test: glib/bitlock.test 1956s TAP version 13 1956s # random seed: R02S5136eba2b27b99b7026a8c8fdb1d69aa 1956s 1..1 1956s # Start of bitlock tests 1956s # Start of performance tests 1956s # max perf: iterations per second 1956s ok 1 /bitlock/performance/uncontended 1956s # End of performance tests 1956s # End of bitlock tests 1956s ok - glib/bitlock.test 1956s # Running test: glib/markup.test 1956s TAP version 13 1956s # random seed: R02Sbdfae9d5f3ab127ddc3ed7ea800a9d04 1956s 1..1 1956s # Start of markup tests 1956s ok 1 /markup/stack 1956s # End of markup tests 1956s ok - glib/markup.test 1956s # Running test: glib/gdbus-message.test 1956s TAP version 13 1956s # random seed: R02S8a8d8606b8dc4ade32c44b5061a14589 1956s 1..3 1956s # Start of gdbus tests 1956s # Start of message tests 1956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/lock/.dirs/home 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/lock/.dirs/cache 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_GMSEK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_GMSEK2/gdbus/message/lock/.dirs/system-config2 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/lock/.dirs/config 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_GMSEK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_GMSEK2/gdbus/message/lock/.dirs/system-data2 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/lock/.dirs/data 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/lock/.dirs/state 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_GMSEK2/gdbus/message/lock/.dirs/runtime 1956s ok 1 /gdbus/message/lock 1956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/copy/.dirs/home 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/copy/.dirs/cache 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_GMSEK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_GMSEK2/gdbus/message/copy/.dirs/system-config2 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/copy/.dirs/config 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_GMSEK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_GMSEK2/gdbus/message/copy/.dirs/system-data2 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/copy/.dirs/data 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/copy/.dirs/state 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_GMSEK2/gdbus/message/copy/.dirs/runtime 1956s ok 2 /gdbus/message/copy 1956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/bytes-needed/.dirs/home 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/bytes-needed/.dirs/cache 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_GMSEK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_GMSEK2/gdbus/message/bytes-needed/.dirs/system-config2 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/bytes-needed/.dirs/config 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_GMSEK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_GMSEK2/gdbus/message/bytes-needed/.dirs/system-data2 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/bytes-needed/.dirs/data 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_GMSEK2/gdbus/message/bytes-needed/.dirs/state 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_GMSEK2/gdbus/message/bytes-needed/.dirs/runtime 1956s # Vector: 0 1956s # Vector: 1 1956s # Vector: 2 1956s # Vector: 3 1956s # Vector: 4 1956s # Vector: 5 1956s ok 3 /gdbus/message/bytes-needed 1956s # End of message tests 1956s # End of gdbus tests 1956s ok - glib/gdbus-message.test 1956s # Running test: glib/mount-operation.test 1956s TAP version 13 1956s # random seed: R02S3d064b90d2e19783bbe3d4c17ddbadcb 1956s 1..2 1956s # Start of mount-operation tests 1956s ok 1 /mount-operation/construction 1956s ok 2 /mount-operation/properties 1956s # End of mount-operation tests 1956s ok - glib/mount-operation.test 1956s # Running test: glib/cxx-11.test 1956s TAP version 13 1956s # random seed: R02S386238c03be99c518829a08120d7c113 1956s 1..2 1956s # Start of gtask tests 1956s # 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. 1956s ok 1 /gtask/name 1956s # Start of name tests 1956s # 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. 1956s ok 2 /gtask/name/macro-wrapper 1956s # End of name tests 1956s # End of gtask tests 1956s ok - glib/cxx-11.test 1956s # Running test: glib/fileattributematcher.test 1956s TAP version 13 1956s # random seed: R02S87b8af2a3198e559dcb683d9c294d1b6 1956s 1..3 1956s # Start of fileattributematcher tests 1956s ok 1 /fileattributematcher/exact 1956s ok 2 /fileattributematcher/equality 1956s ok 3 /fileattributematcher/subtract 1956s # End of fileattributematcher tests 1956s ok - glib/fileattributematcher.test 1956s # SUMMARY: total=316; passed=315; skipped=1; failed=0; user=279.9s; system=195.6s; maxrss=231012 1956s autopkgtest [17:15:09]: test installed-tests: -----------------------] 1958s installed-tests PASS 1958s autopkgtest [17:15:11]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1958s autopkgtest [17:15:11]: test closure-refcount: preparing testbed 1961s Reading package lists... 1962s Building dependency tree... 1962s Reading state information... 1963s Starting pkgProblemResolver with broken count: 0 1963s Starting 2 pkgProblemResolver with broken count: 0 1963s Done 1966s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1966s 1 not fully installed or removed. 1966s After this operation, 0 B of additional disk space will be used. 1966s Setting up autopkgtest-satdep (0) ... 1973s (Reading database ... 76914 files and directories currently installed.) 1973s Removing autopkgtest-satdep (0) ... 1975s autopkgtest [17:15:28]: test closure-refcount: [----------------------- 1975s Running test: glib/closure-refcount.test 1975s TAP version 13 1975s # random seed: R02S2f25fb87fdacc068bf6293349ab3b9e6 1975s 1..1 1975s # Start of closure tests 1975s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1975s # End of closure tests 1975s PASS: glib/closure-refcount.test 1975s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2944 1975s autopkgtest [17:15:28]: test closure-refcount: -----------------------] 1976s closure-refcount PASS 1976s autopkgtest [17:15:29]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1977s autopkgtest [17:15:30]: test debugcontroller: preparing testbed 1981s Reading package lists... 1981s Building dependency tree... 1981s Reading state information... 1982s Starting pkgProblemResolver with broken count: 0 1983s Starting 2 pkgProblemResolver with broken count: 0 1983s Done 1985s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1985s 1 not fully installed or removed. 1985s After this operation, 0 B of additional disk space will be used. 1985s Setting up autopkgtest-satdep (0) ... 1992s (Reading database ... 76914 files and directories currently installed.) 1992s Removing autopkgtest-satdep (0) ... 1994s autopkgtest [17:15:47]: test debugcontroller: [----------------------- 1994s Running test: glib/debugcontroller.test 1994s TAP version 13 1994s # random seed: R02S1f6b936cc40100eff48e73d047da2217 1994s 1..3 1994s # Start of debug-controller tests 1994s # Start of dbus tests 1994s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Debug output enabled 1994s # GLib-GIO-DEBUG: Debug output disabled 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s ok 1 /debug-controller/dbus/basic 1994s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s ok 2 /debug-controller/dbus/duplicate 1994s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Debug output enabled 1994s # GLib-GIO-DEBUG: Debug output disabled 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1994s ok 3 /debug-controller/dbus/properties 1994s # End of dbus tests 1994s # End of debug-controller tests 1994s PASS: glib/debugcontroller.test 1994s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5888 1995s autopkgtest [17:15:48]: test debugcontroller: -----------------------] 1996s debugcontroller PASS 1996s autopkgtest [17:15:49]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1996s autopkgtest [17:15:49]: test gdbus-server-auth: preparing testbed 1999s Reading package lists... 2000s Building dependency tree... 2000s Reading state information... 2001s Starting pkgProblemResolver with broken count: 0 2001s Starting 2 pkgProblemResolver with broken count: 0 2001s Done 2004s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2004s 1 not fully installed or removed. 2004s After this operation, 0 B of additional disk space will be used. 2004s Setting up autopkgtest-satdep (0) ... 2011s (Reading database ... 76914 files and directories currently installed.) 2011s Removing autopkgtest-satdep (0) ... 2013s autopkgtest [17:16:06]: test gdbus-server-auth: [----------------------- 2013s Running test: glib/gdbus-server-auth.test 2013s TAP version 13 2013s # random seed: R02S320fffc0489005a57e5f7ac07ef6dc19 2013s 1..9 2013s # Start of gdbus tests 2013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/.dirs/home 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/.dirs/cache 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/.dirs/system-config2 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/.dirs/config 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/.dirs/system-data2 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/.dirs/data 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/.dirs/state 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/.dirs/runtime 2013s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7COCK2/gdbus-server-auth-QTMCK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 2013s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7COCK2/gdbus-server-auth-QTMCK2/dbus-RMScwQSr 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15787 2013s ok 1 /gdbus/server-auth 2013s # Start of server-auth tests 2013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/abstract/.dirs/home 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/abstract/.dirs/cache 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/abstract/.dirs/system-config2 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/abstract/.dirs/config 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/abstract/.dirs/system-data2 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/abstract/.dirs/data 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/abstract/.dirs/state 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/abstract/.dirs/runtime 2013s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_7COCK2/gdbus-server-auth-4UO1J2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 2013s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7COCK2/gdbus-server-auth-4UO1J2/dbus-7qTga3Ee 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15787 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2013s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15787 2013s ok 2 /gdbus/server-auth/abstract 2013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/tcp/.dirs/home 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/tcp/.dirs/cache 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/tcp/.dirs/system-config2 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/tcp/.dirs/config 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/tcp/.dirs/system-data2 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/tcp/.dirs/data 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/tcp/.dirs/state 2013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/tcp/.dirs/runtime 2013s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 2013s # Connectable address: tcp:host=127.0.0.1,port=45279 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 2013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2013s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2013s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2013s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2013s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2013s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2014s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2014s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2014s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2014s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2014s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2014s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2014s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2014s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2014s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2014s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2014s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2014s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2014s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2014s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2014s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2014s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2014s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2014s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2014s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2014s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2014s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2014s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2014s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2014s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2014s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2014s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2014s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 2014s ok 3 /gdbus/server-auth/tcp 2014s # slow test /gdbus/server-auth/tcp executed in 0.99 secs 2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/.dirs/home 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/.dirs/cache 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/.dirs/system-config2 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/.dirs/config 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/.dirs/system-data2 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/.dirs/data 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/.dirs/state 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/.dirs/runtime 2014s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7COCK2/gdbus-server-auth-SHC4J2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 2014s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7COCK2/gdbus-server-auth-SHC4J2/dbus-tvMFpipN 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15787 2014s ok 4 /gdbus/server-auth/anonymous 2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/.dirs/home 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/.dirs/cache 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/.dirs/system-config2 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/.dirs/config 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/.dirs/system-data2 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/.dirs/data 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/.dirs/state 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/.dirs/runtime 2014s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7COCK2/gdbus-server-auth-RPT4J2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 2014s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7COCK2/gdbus-server-auth-RPT4J2/dbus-rpouoTmu 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2014s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15787 2014s ok 5 /gdbus/server-auth/external 2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/.dirs/home 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/.dirs/cache 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/.dirs/system-config2 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/.dirs/config 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/.dirs/system-data2 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/.dirs/data 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/.dirs/state 2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/.dirs/runtime 2014s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7COCK2/gdbus-server-auth-BHTWJ2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 2014s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7COCK2/gdbus-server-auth-BHTWJ2/dbus-IO8HYdlq 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2014s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2014s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2014s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2014s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15787 2014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2015s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2015s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15787 2015s ok 6 /gdbus/server-auth/sha1 2015s # Start of anonymous tests 2015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/tcp/.dirs/home 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/tcp/.dirs/config 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/tcp/.dirs/data 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/tcp/.dirs/state 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 2015s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 2015s # Connectable address: tcp:host=127.0.0.1,port=44463 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2015s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 2015s ok 7 /gdbus/server-auth/anonymous/tcp 2015s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.97 secs 2015s # End of anonymous tests 2015s # Start of external tests 2015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/require-same-user/.dirs/home 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/require-same-user/.dirs/cache 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/require-same-user/.dirs/config 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/require-same-user/.dirs/data 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/require-same-user/.dirs/state 2015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 2015s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7COCK2/gdbus-server-auth-SYUZJ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 2015s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7COCK2/gdbus-server-auth-SYUZJ2/dbus-o5p8iyU9 2015s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2015s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2015s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15787 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2015s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2015s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15787 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2015s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2015s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15787 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2015s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2015s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15787 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2015s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2015s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2015s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15787 2015s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2015s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2015s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2015s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2015s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15787 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2016s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15787,uid=1000,gid=1000 2016s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15787 2016s ok 8 /gdbus/server-auth/external/require-same-user 2016s # End of external tests 2016s # Start of sha1 tests 2016s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/tcp/.dirs/home 2016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/tcp/.dirs/cache 2016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 2016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/tcp/.dirs/config 2016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 2016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/tcp/.dirs/data 2016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/tcp/.dirs/state 2016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7COCK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 2016s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 2016s # Connectable address: tcp:host=127.0.0.1,port=37417 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 2016s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2016s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2016s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2016s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2016s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2017s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 2017s ok 9 /gdbus/server-auth/sha1/tcp 2017s # slow test /gdbus/server-auth/sha1/tcp executed in 0.97 secs 2017s # End of sha1 tests 2017s # End of server-auth tests 2017s # End of gdbus tests 2017s PASS: glib/gdbus-server-auth.test 2017s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.5s; maxrss=8576 2017s autopkgtest [17:16:10]: test gdbus-server-auth: -----------------------] 2018s autopkgtest [17:16:11]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 2018s gdbus-server-auth PASS 2018s autopkgtest [17:16:11]: test gdbus-threading: preparing testbed 2021s Reading package lists... 2022s Building dependency tree... 2022s Reading state information... 2023s Starting pkgProblemResolver with broken count: 0 2023s Starting 2 pkgProblemResolver with broken count: 0 2023s Done 2026s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2026s 1 not fully installed or removed. 2026s After this operation, 0 B of additional disk space will be used. 2026s Setting up autopkgtest-satdep (0) ... 2036s (Reading database ... 76914 files and directories currently installed.) 2036s Removing autopkgtest-satdep (0) ... 2038s autopkgtest [17:16:31]: test gdbus-threading: [----------------------- 2038s Running test: glib/gdbus-threading.test 2038s TAP version 13 2038s # random seed: R02S03a4c8b0535481f56fd48eca3bac95e6 2038s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2038s 1..3 2038s # Start of gdbus tests 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/delivery-in-thread/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/delivery-in-thread/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_YMYBK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_YMYBK2/gdbus/delivery-in-thread/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/delivery-in-thread/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_YMYBK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_YMYBK2/gdbus/delivery-in-thread/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/delivery-in-thread/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/delivery-in-thread/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_YMYBK2/gdbus/delivery-in-thread/.dirs/runtime 2038s ok 1 /gdbus/delivery-in-thread 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/method-calls-in-thread/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/method-calls-in-thread/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_YMYBK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_YMYBK2/gdbus/method-calls-in-thread/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/method-calls-in-thread/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_YMYBK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_YMYBK2/gdbus/method-calls-in-thread/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/method-calls-in-thread/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/method-calls-in-thread/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_YMYBK2/gdbus/method-calls-in-thread/.dirs/runtime 2039s ok 2 /gdbus/method-calls-in-thread 2039s # slow test /gdbus/method-calls-in-thread executed in 0.91 secs 2039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/threaded-singleton/.dirs/home 2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/threaded-singleton/.dirs/cache 2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_YMYBK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_YMYBK2/gdbus/threaded-singleton/.dirs/system-config2 2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/threaded-singleton/.dirs/config 2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_YMYBK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_YMYBK2/gdbus/threaded-singleton/.dirs/system-data2 2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/threaded-singleton/.dirs/data 2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_YMYBK2/gdbus/threaded-singleton/.dirs/state 2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_YMYBK2/gdbus/threaded-singleton/.dirs/runtime 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: refcount of 0xfc7ff0003ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2039s # GLib-GIO-DEBUG: refcount of 0xfc7ff0003ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: refcount of 0xfc7ff0003ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: refcount of 0xfc7ff0003ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: refcount of 0xfc7ff0003ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: refcount of 0xfc7ff0003ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2039s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2039s # GLib-GIO-DEBUG: refcount of 0xfc7ff0003ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: refcount of 0xfc7ff0003ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: refcount of 0xfc7ff00035e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: refcount of 0xfc7ff00035e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: refcount of 0xfc7ff00021c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: refcount of 0xfc7ff00021c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2040s # GLib-GIO-DEBUG: refcount of 0xfc7ff00021c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: refcount of 0xfc7ff0006320 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: refcount of 0xfc7ff0002ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: refcount of 0xfc7ff0002ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2040s # GLib-GIO-DEBUG: refcount of 0xfc7ff0002ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2040s # GLib-GIO-DEBUG: refcount of 0xfc7ff0002ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007160 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff0002eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff00066d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff00066d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005a10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff00035e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff00021c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff00021c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff00021c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff00072e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff00072e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff00015c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff00072e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: refcount of 0xfc7ff0006cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: refcount of 0xfc7ff00062e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2042s # GLib-GIO-DEBUG: refcount of 0xfc7ff00062e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: refcount of 0xfc7ff00062e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: refcount of 0xfc7ff00062e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: refcount of 0xfc7ff00008e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: refcount of 0xfc7ff00008e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007360 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: refcount of 0xfc7ff0002e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s # GLib-GIO-DEBUG: refcount of 0xfc7ff0002e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007e90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007e90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: refcount of 0xfc7ff00079f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007e90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: refcount of 0xfc7ff00072e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2043s Executing: glib/gdbus-threading.test 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: refcount of 0xfc7ff00065d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: refcount of 0xfc7ff00021c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007d90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2043s # GLib-GIO-DEBUG: refcount of 0xfc7ff00080e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2043s # GLib-GIO-DEBUG: refcount of 0xfc7ff00080e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff00077e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff00077e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff00077e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff00077e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff00077e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff0006900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2044s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2045s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: refcount of 0xfc7ff00021c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007420 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: refcount of 0xfc7ff00015c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0004ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0004ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0004ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0006d00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0006d00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2046s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff00083f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff00083f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff00083f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s # GLib-GIO-DEBUG: refcount of 0xfc7ff00085d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s Executing: glib/gdbus-threading.test 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2048s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0002220 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0002220 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0002220 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0002220 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0000e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0006c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0006c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0006c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s # GLib-GIO-DEBUG: refcount of 0xfc7ff0006c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0006ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007d90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007d90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0004ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # GLib-GIO-DEBUG: refcount of 0xfc7ff0003620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0003620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007b00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008180 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2051s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008180 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008180 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0005c80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff00012f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008630 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2052s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff00087f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff00087f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff00087f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff00087f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s Executing: glib/gdbus-threading.test 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff00087f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff00035a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2053s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff00012f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff00084b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2054s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff00068d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff0008fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2055s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2055s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s # GLib-GIO-DEBUG: refcount of 0xfc7ff00085b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2056s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s # GLib-GIO-DEBUG: refcount of 0xfc7ff0007e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2056s ok 3 /gdbus/threaded-singleton 2056s # slow test /gdbus/threaded-singleton executed in 16.79 secs 2056s # End of gdbus tests 2056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2056s PASS: glib/gdbus-threading.test 2056s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.9s; system=1.5s; maxrss=5632 2056s autopkgtest [17:16:49]: test gdbus-threading: -----------------------] 2057s gdbus-threading PASS 2057s autopkgtest [17:16:50]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 2057s autopkgtest [17:16:50]: test gmenumodel: preparing testbed 2061s Reading package lists... 2062s Building dependency tree... 2062s Reading state information... 2063s Starting pkgProblemResolver with broken count: 0 2063s Starting 2 pkgProblemResolver with broken count: 0 2063s Done 2067s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2067s 1 not fully installed or removed. 2067s After this operation, 0 B of additional disk space will be used. 2067s Setting up autopkgtest-satdep (0) ... 2075s (Reading database ... 76914 files and directories currently installed.) 2075s Removing autopkgtest-satdep (0) ... 2076s autopkgtest [17:17:09]: test gmenumodel: [----------------------- 2076s Running test: glib/gmenumodel.test 2077s TAP version 13 2077s # random seed: R02Sd2f481622fbb41262200d8512c055559 2077s 1..14 2077s # Start of gmenu tests 2079s ok 1 /gmenu/equality 2079s # slow test /gmenu/equality executed in 2.65 secs 2082s ok 2 /gmenu/random 2082s # slow test /gmenu/random executed in 2.49 secs 2082s ok 3 /gmenu/attributes 2082s ok 4 /gmenu/links 2082s ok 5 /gmenu/mutable 2082s ok 6 /gmenu/convenience 2082s ok 7 /gmenu/menuitem 2082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 2082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2082s ok 8 /gmenu/input-validation 2082s # Start of dbus tests 2082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2082s Executing: glib/gmenumodel.test 2083s ok 9 /gmenu/dbus/roundtrip 2083s # slow test /gmenu/dbus/roundtrip executed in 1.13 secs 2083s ok 10 /gmenu/dbus/subscriptions 2087s Executing: glib/gmenumodel.test 2088s ok 11 /gmenu/dbus/threaded 2088s # slow test /gmenu/dbus/threaded executed in 4.49 secs 2088s # Start of peer tests 2089s ok 12 /gmenu/dbus/peer/roundtrip 2089s # slow test /gmenu/dbus/peer/roundtrip executed in 1.08 secs 2089s ok 13 /gmenu/dbus/peer/subscriptions 2089s # End of peer tests 2089s # End of dbus tests 2089s # Start of attributes tests 2089s ok 14 /gmenu/attributes/iterate 2089s # End of attributes tests 2089s # End of gmenu tests 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s PASS: glib/gmenumodel.test 2089s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=9.9s; system=0.6s; maxrss=11264 2090s autopkgtest [17:17:23]: test gmenumodel: -----------------------] 2090s autopkgtest [17:17:23]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 2090s gmenumodel PASS 2091s autopkgtest [17:17:24]: test mainloop: preparing testbed 2094s Reading package lists... 2095s Building dependency tree... 2095s Reading state information... 2096s Starting pkgProblemResolver with broken count: 0 2096s Starting 2 pkgProblemResolver with broken count: 0 2097s Done 2100s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2100s 1 not fully installed or removed. 2100s After this operation, 0 B of additional disk space will be used. 2100s Setting up autopkgtest-satdep (0) ... 2107s (Reading database ... 76914 files and directories currently installed.) 2107s Removing autopkgtest-satdep (0) ... 2108s autopkgtest [17:17:41]: test mainloop: [----------------------- 2109s Running test: glib/mainloop.test 2109s TAP version 13 2109s # random seed: R02Sca4b3eddcf1a0086bce0d1095ceb8eff 2109s 1..45 2109s # Start of maincontext tests 2109s ok 1 /maincontext/basic 2109s # Add same-priority sources: 72 2109s # Find each source: 22 2109s # Remove in random order: 106 2109s ok 2 /maincontext/nsources_same_priority 2109s # Add different-priority sources: 56 2109s # Find each source: 20 2109s # Remove in random order: 124 2109s ok 3 /maincontext/nsources_different_priority 2110s # Add sources from threads: 865 2111s # Remove sources from threads: 420 2111s ok 4 /maincontext/nsources_threadpool 2111s # slow test /maincontext/nsources_threadpool executed in 1.33 secs 2111s ok 5 /maincontext/source_finalization 2111s # /maincontext/idle-once summary: Test g_idle_add_once() works 2111s ok 6 /maincontext/idle-once 2111s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 2111s ok 7 /maincontext/timeout-once 2111s # Start of source_finalization_from_source tests 2111s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2111s ok 8 /maincontext/source_finalization_from_source/0 2111s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2111s ok 9 /maincontext/source_finalization_from_source/1 2111s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2111s ok 10 /maincontext/source_finalization_from_source/2 2111s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2111s ok 11 /maincontext/source_finalization_from_source/3 2111s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2111s ok 12 /maincontext/source_finalization_from_source/4 2111s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2111s ok 13 /maincontext/source_finalization_from_source/5 2111s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2111s ok 14 /maincontext/source_finalization_from_source/6 2111s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2111s ok 15 /maincontext/source_finalization_from_source/7 2111s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2111s ok 16 /maincontext/source_finalization_from_source/8 2111s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2111s ok 17 /maincontext/source_finalization_from_source/9 2111s # End of source_finalization_from_source tests 2111s # Start of source_finalization_from_dispatch tests 2111s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2111s ok 18 /maincontext/source_finalization_from_dispatch/0 2111s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2111s ok 19 /maincontext/source_finalization_from_dispatch/1 2111s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2111s ok 20 /maincontext/source_finalization_from_dispatch/2 2111s # End of source_finalization_from_dispatch tests 2111s # End of maincontext tests 2111s # Start of mainloop tests 2111s ok 21 /mainloop/basic 2111s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 2111s ok 23 /mainloop/priorities 2111s ok 24 /mainloop/invoke 2111s # slow test /mainloop/invoke executed in 0.50 secs 2113s ok 25 /mainloop/child_sources 2113s # slow test /mainloop/child_sources executed in 1.26 secs 2114s Executing: glib/mainloop.test 2115s ok 26 /mainloop/recursive_child_sources 2115s # slow test /mainloop/recursive_child_sources executed in 2.28 secs 2115s ok 27 /mainloop/recursive_loop_child_sources 2115s ok 28 /mainloop/swapping_child_sources 2115s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 2115s ok 29 /mainloop/blocked_child_sources 2116s ok 30 /mainloop/source_time 2116s # slow test /mainloop/source_time executed in 1.00 secs 2116s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 2116s ok 31 /mainloop/overflow 2116s ok 32 /mainloop/ready-time 2116s # slow test /mainloop/ready-time executed in 0.50 secs 2116s ok 33 /mainloop/wakeup 2116s ok 34 /mainloop/remove-invalid 2116s ok 35 /mainloop/unref-while-pending 2119s Executing: glib/mainloop.test 2120s ok 36 /mainloop/unix-fd 2120s # slow test /mainloop/unix-fd executed in 4.05 secs 2120s ok 37 /mainloop/unix-fd-source 2120s ok 38 /mainloop/source-unix-fd-api 2121s ok 39 /mainloop/wait 2121s ok 40 /mainloop/unix-file-poll 2121s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 2121s ok 41 /mainloop/unix-fd-priority 2121s ok 42 /mainloop/nfds 2121s ok 43 /mainloop/steal-fd 2121s # Start of ownerless-polling tests 2121s ok 44 /mainloop/ownerless-polling/attach-first 2121s ok 45 /mainloop/ownerless-polling/pop-first 2121s # End of ownerless-polling tests 2121s # End of mainloop tests 2121s PASS: glib/mainloop.test 2121s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.1s; system=4.2s; maxrss=15144 2121s autopkgtest [17:17:54]: test mainloop: -----------------------] 2122s mainloop PASS 2122s autopkgtest [17:17:55]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 2122s autopkgtest [17:17:55]: test memory-monitor-dbus: preparing testbed 2125s Reading package lists... 2126s Building dependency tree... 2126s Reading state information... 2127s Starting pkgProblemResolver with broken count: 0 2127s Starting 2 pkgProblemResolver with broken count: 0 2127s Done 2130s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2130s 1 not fully installed or removed. 2130s After this operation, 0 B of additional disk space will be used. 2131s Setting up autopkgtest-satdep (0) ... 2139s (Reading database ... 76914 files and directories currently installed.) 2139s Removing autopkgtest-satdep (0) ... 2142s autopkgtest [17:18:15]: test memory-monitor-dbus: [----------------------- 2142s Running test: glib/memory-monitor-dbus.test 2144s TAP version 13 2144s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 2144s # Received memory warning signal, level 2144s # Received memory warning signal, level 2144s # Received memory warning signal, level 2144s 1..1 2144s PASS: glib/memory-monitor-dbus.test 2144s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.9s; system=0.3s; maxrss=24704 2144s autopkgtest [17:18:17]: test memory-monitor-dbus: -----------------------] 2145s autopkgtest [17:18:18]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 2145s memory-monitor-dbus PASS 2146s autopkgtest [17:18:19]: test socket: preparing testbed 2150s Reading package lists... 2150s Building dependency tree... 2150s Reading state information... 2151s Starting pkgProblemResolver with broken count: 0 2152s Starting 2 pkgProblemResolver with broken count: 0 2152s Done 2154s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2154s 1 not fully installed or removed. 2154s After this operation, 0 B of additional disk space will be used. 2154s Setting up autopkgtest-satdep (0) ... 2161s (Reading database ... 76914 files and directories currently installed.) 2161s Removing autopkgtest-satdep (0) ... 2163s autopkgtest [17:18:36]: test socket: [----------------------- 2163s Running test: glib/socket.test 2163s TAP version 13 2163s # random seed: R02S41f038646609ced4b154309e75530db7 2163s 1..28 2163s # Start of socket tests 2164s ok 1 /socket/ipv4_sync 2164s # slow test /socket/ipv4_sync executed in 1.00 secs 2165s ok 2 /socket/ipv4_async 2165s # slow test /socket/ipv4_async executed in 1.00 secs 2165s ok 3 /socket/ipv6_sync 2165s ok 4 /socket/ipv6_async 2165s ok 5 /socket/ipv6_v4mapped 2166s ok 6 /socket/close_graceful 2166s # slow test /socket/close_graceful executed in 1.00 secs 2166s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 2166s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 2166s ok 8 /socket/fd_reuse 2166s ok 9 /socket/address 2166s ok 10 /socket/unix-from-fd 2166s ok 11 /socket/unix-connection 2166s ok 12 /socket/unix-connection-ancillary-data 2166s ok 13 /socket/source-postmortem 2166s ok 14 /socket/read_write 2166s ok 15 /socket/read_writev 2166s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 2166s ok 16 /socket/receive_bytes 2166s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 2166s ok 17 /socket/receive_bytes_from 2166s # Start of ipv4_sync tests 2166s ok 18 /socket/ipv4_sync/datagram 2166s # Start of datagram tests 2167s ok 19 /socket/ipv4_sync/datagram/timeouts 2167s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 2167s # End of datagram tests 2167s # End of ipv4_sync tests 2167s # Start of ipv6_sync tests 2167s ok 20 /socket/ipv6_sync/datagram 2167s # Start of datagram tests 2168s Executing: glib/socket.test 2168s ok 21 /socket/ipv6_sync/datagram/timeouts 2168s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 2168s # End of datagram tests 2168s # End of ipv6_sync tests 2168s # Start of reuse tests 2168s ok 22 /socket/reuse/tcp 2168s ok 23 /socket/reuse/udp 2168s # End of reuse tests 2168s # Start of get_available tests 2168s ok 24 /socket/get_available/datagram 2168s ok 25 /socket/get_available/stream 2168s # End of get_available tests 2168s # Start of credentials tests 2168s # Supported on this OS: GCredentials:linux-ucred:pid=0 2168s ok 26 /socket/credentials/tcp_client 2168s # Supported on this OS: GCredentials:linux-ucred:pid=0 2168s ok 27 /socket/credentials/tcp_server 2168s # Supported on this OS: GCredentials:linux-ucred:pid=18172,uid=1000,gid=1000 2168s ok 28 /socket/credentials/unix_socketpair 2168s # End of credentials tests 2168s # End of socket tests 2168s PASS: glib/socket.test 2168s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4864 2169s autopkgtest [17:18:42]: test socket: -----------------------] 2169s socket PASS 2169s autopkgtest [17:18:42]: test socket: - - - - - - - - - - results - - - - - - - - - - 2170s autopkgtest [17:18:43]: test testfilemonitor: preparing testbed 2173s Reading package lists... 2174s Building dependency tree... 2174s Reading state information... 2175s Starting pkgProblemResolver with broken count: 0 2176s Starting 2 pkgProblemResolver with broken count: 0 2176s Done 2179s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2179s 1 not fully installed or removed. 2179s After this operation, 0 B of additional disk space will be used. 2179s Setting up autopkgtest-satdep (0) ... 2188s (Reading database ... 76914 files and directories currently installed.) 2188s Removing autopkgtest-satdep (0) ... 2190s autopkgtest [17:19:03]: test testfilemonitor: [----------------------- 2190s Running test: glib/testfilemonitor.test 2190s TAP version 13 2190s # random seed: R02S12665702fa612ebce3662da02d7e3a07 2190s 1..8 2190s # Start of monitor tests 2190s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2190s # Using temporary directory: /tmp/gio-test-testfilemonitor_47OWJ2 2190s # Using GFileMonitor GInotifyFileMonitor 2192s ok 1 /monitor/atomic-replace 2192s # slow test /monitor/atomic-replace executed in 2.01 secs 2192s # Using temporary directory: /tmp/gio-test-testfilemonitor_FVSWJ2 2192s # Using GFileMonitor GInotifyFileMonitor 2195s ok 2 /monitor/file-changes 2195s # slow test /monitor/file-changes executed in 2.51 secs 2195s # Using temporary directory: /tmp/gio-test-testfilemonitor_1RE7J2 2195s # Using GFileMonitor GInotifyFileMonitor 2196s Executing: glib/testfilemonitor.test 2198s ok 3 /monitor/dir-monitor 2198s # slow test /monitor/dir-monitor executed in 3.51 secs 2198s # Using temporary directory: /tmp/gio-test-testfilemonitor_SA6WJ2 2198s # Using GFileMonitor GInotifyFileMonitor 2201s Executing: glib/testfilemonitor.test 2206s Executing: glib/testfilemonitor.test 2211s Executing: glib/testfilemonitor.test 2216s Executing: glib/testfilemonitor.test 2221s Executing: glib/testfilemonitor.test 2223s ok 4 /monitor/dir-not-existent 2223s # slow test /monitor/dir-not-existent executed in 25.03 secs 2223s # Using temporary directory: /tmp/gio-test-testfilemonitor_R1LWJ2 2223s # Using GFileMonitor 0 GInotifyFileMonitor 2223s # Using GFileMonitor 1 GInotifyFileMonitor 2225s ok 5 /monitor/cross-dir-moves 2225s # slow test /monitor/cross-dir-moves executed in 2.01 secs 2225s # Using temporary directory: /tmp/gio-test-testfilemonitor_EEHWJ2 2225s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 2225s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 2225s ok 6 /monitor/finalize-in-callback 2225s # Using temporary directory: /tmp/gio-test-testfilemonitor_P5LXJ2 2225s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 2225s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 2225s ok 7 /monitor/root 2225s # Start of file tests 2225s # Using temporary directory: /tmp/gio-test-testfilemonitor_7FKXJ2 2225s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 2225s # Running with hard link tests 2225s # Using GFileMonitor GInotifyFileMonitor 2226s Executing: glib/testfilemonitor.test 2229s # Event 0 at expected index 7 skipped because it is marked as optional 2229s # Event 2 at expected index 11 skipped because it is marked as optional 2229s ok 8 /monitor/file/hard-links 2229s # slow test /monitor/file/hard-links executed in 3.51 secs 2229s # End of file tests 2229s # End of monitor tests 2229s PASS: glib/testfilemonitor.test 2229s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.1s; maxrss=5248 2229s autopkgtest [17:19:42]: test testfilemonitor: -----------------------] 2230s testfilemonitor PASS 2230s autopkgtest [17:19:43]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 2231s autopkgtest [17:19:44]: test thread-pool-slow: preparing testbed 2234s Reading package lists... 2234s Building dependency tree... 2234s Reading state information... 2235s Starting pkgProblemResolver with broken count: 0 2236s Starting 2 pkgProblemResolver with broken count: 0 2236s Done 2239s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2239s 1 not fully installed or removed. 2239s After this operation, 0 B of additional disk space will be used. 2239s Setting up autopkgtest-satdep (0) ... 2246s (Reading database ... 76914 files and directories currently installed.) 2246s Removing autopkgtest-satdep (0) ... 2248s autopkgtest [17:20:01]: test thread-pool-slow: [----------------------- 2248s Running test: glib/thread-pool-slow.test 2248s TAP version 13 2248s # random seed: R02S46fd323754022d246274bf9e62a92ee7 2248s 1..7 2248s # Start of threadpool tests 2248s ok 1 /threadpool/functions 2249s ok 2 /threadpool/stop-unused 2249s # slow test /threadpool/stop-unused executed in 0.53 secs 2249s ok 3 /threadpool/pools 2249s # [unsorted] ===> pushed new thread with id:70, number of threads:1, unprocessed:1 2249s # [unsorted] ===> pushed new thread with id:67, number of threads:2, unprocessed:2 2249s # [unsorted] ===> pushed new thread with id:10, number of threads:3, unprocessed:3 2249s # [unsorted] ===> pushed new thread with id:2, number of threads:4, unprocessed:4 2249s # [unsorted] ===> pushed new thread with id:19, number of threads:5, unprocessed:5 2249s # [unsorted] ===> pushed new thread with id:70, number of threads:6, unprocessed:6 2249s # [unsorted] ===> pushed new thread with id:69, number of threads:7, unprocessed:7 2249s # [unsorted] ===> pushed new thread with id:17, number of threads:8, unprocessed:8 2249s # [unsorted] ===> pushed new thread with id:84, number of threads:9, unprocessed:9 2249s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:0 2249s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:1 2249s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:2 2249s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:3 2249s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:4 2249s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:5 2249s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:6 2249s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:7 2249s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:8 2249s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:9 2249s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:10 2249s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:11 2249s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:12 2249s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:13 2249s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:14 2249s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:15 2249s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:16 2249s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:17 2249s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:18 2249s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:19 2249s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:20 2249s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:21 2249s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:22 2249s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:23 2249s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:24 2249s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:25 2249s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:26 2249s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:27 2249s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:28 2249s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:29 2249s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:30 2249s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:31 2249s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:32 2249s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:33 2249s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:34 2249s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:35 2249s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:36 2249s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:37 2249s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:38 2249s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:39 2249s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:40 2249s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:41 2249s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:42 2249s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:43 2249s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:44 2249s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:45 2249s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:46 2249s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:47 2249s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:48 2249s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:49 2249s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:50 2249s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:51 2249s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:52 2249s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:53 2249s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:54 2249s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:55 2249s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:56 2249s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:57 2249s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:58 2249s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:59 2249s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:60 2249s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:61 2249s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:62 2249s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:63 2249s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:64 2249s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:65 2249s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:66 2249s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:67 2249s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:68 2249s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:69 2249s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:70 2249s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:71 2249s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:72 2249s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:73 2249s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:74 2249s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:75 2249s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:76 2249s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:77 2249s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:78 2249s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:79 2249s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:80 2249s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:81 2249s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:82 2249s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:83 2249s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:84 2249s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:85 2249s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:86 2249s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:87 2249s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:88 2249s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:89 2249s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:90 2249s ok 4 /threadpool/no-sort 2249s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:1 2249s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:2 2249s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:3 2249s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:4 2249s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:5 2249s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:6 2249s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:7 2249s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:8 2249s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:9 2249s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:10 2249s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:11 2249s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:12 2249s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:13 2249s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:14 2249s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:15 2249s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:16 2249s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:17 2249s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:18 2249s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:19 2249s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:20 2249s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:21 2249s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:22 2249s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:23 2249s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:24 2249s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:25 2249s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:26 2249s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:27 2249s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:28 2249s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:29 2249s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:30 2249s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:31 2249s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:32 2249s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:33 2249s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:34 2249s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:35 2249s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:36 2249s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:37 2249s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:38 2249s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:39 2249s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:40 2249s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:41 2249s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:42 2249s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:43 2249s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:44 2249s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:45 2249s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:46 2249s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:47 2249s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:48 2249s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:49 2249s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:50 2249s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:51 2249s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:52 2249s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:53 2249s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:54 2249s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:55 2249s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:56 2249s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:57 2249s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:58 2249s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:59 2249s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:60 2249s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:61 2249s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:62 2249s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:63 2249s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:64 2249s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:65 2249s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:66 2249s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:67 2249s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:68 2249s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:69 2249s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:70 2249s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:71 2249s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:72 2249s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:73 2249s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:74 2249s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:75 2249s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:76 2249s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:77 2249s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:78 2249s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:79 2249s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:80 2249s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:81 2249s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:82 2249s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:83 2249s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:84 2249s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:85 2249s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:86 2249s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:87 2249s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:88 2249s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:89 2249s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:90 2249s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:91 2249s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:92 2249s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:93 2249s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:94 2249s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:95 2249s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:96 2249s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:97 2249s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:98 2249s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:99 2249s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:100 2249s # Starting thread pool processing 2249s ok 5 /threadpool/sort 2249s ok 6 /threadpool/stop-unused-multiple 2249s # slow test /threadpool/stop-unused-multiple executed in 0.54 secs 2249s # Pool idle thread count: 0, unprocessed jobs: 45 2250s # Pool idle thread count: 0, unprocessed jobs: 0 2250s # Pool idle thread count: 0, unprocessed jobs: 0 2250s # Pool idle thread count: 10, unprocessed jobs: 0 2250s # Pool idle thread count: 10, unprocessed jobs: 0 2251s # Pool idle thread count: 10, unprocessed jobs: 0 2251s # Pool idle thread count: 10, unprocessed jobs: 0 2251s # Pool idle thread count: 10, unprocessed jobs: 0 2251s # Pool idle thread count: 10, unprocessed jobs: 0 2252s # Pool idle thread count: 10, unprocessed jobs: 0 2252s # Pool idle thread count: 10, unprocessed jobs: 0 2252s # Pool idle thread count: 10, unprocessed jobs: 0 2252s # Pool idle thread count: 10, unprocessed jobs: 0 2253s # Pool idle thread count: 10, unprocessed jobs: 0 2253s # Pool idle thread count: 10, unprocessed jobs: 0 2253s Executing: glib/thread-pool-slow.test 2253s # Pool idle thread count: 10, unprocessed jobs: 0 2253s # Pool idle thread count: 10, unprocessed jobs: 0 2254s # Pool idle thread count: 10, unprocessed jobs: 0 2254s # Pool idle thread count: 10, unprocessed jobs: 0 2254s # Pool idle thread count: 10, unprocessed jobs: 0 2254s # Pool idle thread count: 10, unprocessed jobs: 0 2255s # Pool idle thread count: 10, unprocessed jobs: 0 2255s # Pool idle thread count: 10, unprocessed jobs: 0 2255s # Pool idle thread count: 10, unprocessed jobs: 0 2255s # Pool idle thread count: 10, unprocessed jobs: 0 2256s # Pool idle thread count: 10, unprocessed jobs: 0 2256s # Pool idle thread count: 10, unprocessed jobs: 0 2256s # Pool idle thread count: 10, unprocessed jobs: 0 2256s # Pool idle thread count: 10, unprocessed jobs: 0 2257s # Pool idle thread count: 10, unprocessed jobs: 0 2257s # Pool idle thread count: 10, unprocessed jobs: 0 2257s # Pool idle thread count: 10, unprocessed jobs: 0 2257s # Pool idle thread count: 10, unprocessed jobs: 0 2258s # Pool idle thread count: 10, unprocessed jobs: 0 2258s # Pool idle thread count: 10, unprocessed jobs: 0 2258s Executing: glib/thread-pool-slow.test 2258s # Pool idle thread count: 10, unprocessed jobs: 2 2258s # Pool idle thread count: 10, unprocessed jobs: 2 2258s # Pool idle thread count: 8, unprocessed jobs: 0 2258s # Pool idle thread count: 8, unprocessed jobs: 0 2259s # Pool idle thread count: 10, unprocessed jobs: 0 2259s # Pool idle thread count: 10, unprocessed jobs: 0 2259s # Pool idle thread count: 10, unprocessed jobs: 0 2259s # Pool idle thread count: 10, unprocessed jobs: 0 2260s # Pool idle thread count: 10, unprocessed jobs: 0 2260s # Pool idle thread count: 10, unprocessed jobs: 0 2260s # Pool idle thread count: 2, unprocessed jobs: 0 2260s # Pool idle thread count: 2, unprocessed jobs: 0 2261s # Pool idle thread count: 2, unprocessed jobs: 0 2261s # Pool idle thread count: 2, unprocessed jobs: 0 2261s # Pool idle thread count: 2, unprocessed jobs: 0 2261s # Pool idle thread count: 2, unprocessed jobs: 0 2262s # Pool idle thread count: 2, unprocessed jobs: 0 2262s # Pool idle thread count: 2, unprocessed jobs: 0 2262s # Pool idle thread count: 2, unprocessed jobs: 0 2262s # Pool idle thread count: 2, unprocessed jobs: 0 2263s # Pool idle thread count: 2, unprocessed jobs: 0 2263s # Pool idle thread count: 2, unprocessed jobs: 0 2263s Executing: glib/thread-pool-slow.test 2263s # Pool idle thread count: 2, unprocessed jobs: 0 2263s # Pool idle thread count: 2, unprocessed jobs: 0 2264s # Pool idle thread count: 2, unprocessed jobs: 0 2264s # Pool idle thread count: 2, unprocessed jobs: 0 2264s # Pool idle thread count: 2, unprocessed jobs: 0 2264s # Pool idle thread count: 2, unprocessed jobs: 0 2265s # Pool idle thread count: 2, unprocessed jobs: 0 2265s # Pool idle thread count: 2, unprocessed jobs: 0 2265s # Pool idle thread count: 2, unprocessed jobs: 0 2265s # Pool idle thread count: 2, unprocessed jobs: 0 2266s # Pool idle thread count: 2, unprocessed jobs: 0 2266s # Pool idle thread count: 2, unprocessed jobs: 0 2266s # Pool idle thread count: 2, unprocessed jobs: 0 2266s # Pool idle thread count: 2, unprocessed jobs: 0 2267s # Pool idle thread count: 2, unprocessed jobs: 0 2267s # Pool idle thread count: 2, unprocessed jobs: 0 2267s # Pool idle thread count: 2, unprocessed jobs: 0 2267s # Pool idle thread count: 2, unprocessed jobs: 0 2268s # Pool idle thread count: 2, unprocessed jobs: 0 2268s # Pool idle thread count: 2, unprocessed jobs: 0 2268s Executing: glib/thread-pool-slow.test 2268s # Pool idle thread count: 2, unprocessed jobs: 0 2268s # Pool idle thread count: 2, unprocessed jobs: 0 2269s ok 7 /threadpool/idle-time 2269s # slow test /threadpool/idle-time executed in 19.54 secs 2269s # End of threadpool tests 2269s PASS: glib/thread-pool-slow.test 2269s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.1s; maxrss=3324 2269s autopkgtest [17:20:22]: test thread-pool-slow: -----------------------] 2270s thread-pool-slow PASS 2270s autopkgtest [17:20:23]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 2271s autopkgtest [17:20:24]: test threadtests: preparing testbed 2273s Reading package lists... 2274s Building dependency tree... 2274s Reading state information... 2275s Starting pkgProblemResolver with broken count: 0 2275s Starting 2 pkgProblemResolver with broken count: 0 2275s Done 2278s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2278s 1 not fully installed or removed. 2278s After this operation, 0 B of additional disk space will be used. 2278s Setting up autopkgtest-satdep (0) ... 2285s (Reading database ... 76914 files and directories currently installed.) 2285s Removing autopkgtest-satdep (0) ... 2286s autopkgtest [17:20:39]: test threadtests: [----------------------- 2286s Running test: glib/threadtests.test 2286s TAP version 13 2286s # random seed: R02S15624625619754798eb0c9a516a7e69c 2286s 1..5 2286s # Start of GObject tests 2287s ok 1 /GObject/threaded-object-init 2289s ok 2 /GObject/threaded-weak-ref 2289s # slow test /GObject/threaded-weak-ref executed in 2.46 secs 2289s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 2289s # /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 2290s ok 3 /GObject/threaded-toggle-notify 2290s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 2290s # Start of threaded-weak-ref tests 2290s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 2290s # /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. 2290s ok 5 /GObject/threaded-weak-ref/on-finalization 2290s # End of threaded-weak-ref tests 2290s # End of GObject tests 2290s PASS: glib/threadtests.test 2290s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.8s; system=2.0s; maxrss=3200 2290s autopkgtest [17:20:43]: test threadtests: -----------------------] 2291s autopkgtest [17:20:44]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 2291s threadtests PASS 2291s autopkgtest [17:20:44]: test timeout: preparing testbed 2294s Reading package lists... 2295s Building dependency tree... 2295s Reading state information... 2296s Starting pkgProblemResolver with broken count: 0 2296s Starting 2 pkgProblemResolver with broken count: 0 2296s Done 2299s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2299s 1 not fully installed or removed. 2299s After this operation, 0 B of additional disk space will be used. 2299s Setting up autopkgtest-satdep (0) ... 2306s (Reading database ... 76914 files and directories currently installed.) 2306s Removing autopkgtest-satdep (0) ... 2308s autopkgtest [17:21:01]: test timeout: [----------------------- 2308s Running test: glib/timeout.test 2308s TAP version 13 2308s # random seed: R02Se3728d92b8d975055d746852d52e1c5e 2308s 1..5 2308s # Start of timeout tests 2308s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 2310s ok 1 /timeout/seconds 2310s # slow test /timeout/seconds executed in 2.10 secs 2312s ok 2 /timeout/seconds-once 2312s # slow test /timeout/seconds-once executed in 2.10 secs 2312s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 2313s Executing: glib/timeout.test 2314s ok 3 /timeout/weeks-overflow 2314s # slow test /timeout/weeks-overflow executed in 2.10 secs 2314s ok 4 /timeout/far-future-ready-time 2318s Executing: glib/timeout.test 2323s Executing: glib/timeout.test 2325s ok 5 /timeout/rounding 2325s # slow test /timeout/rounding executed in 10.84 secs 2325s # End of timeout tests 2325s PASS: glib/timeout.test 2325s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 2326s autopkgtest [17:21:19]: test timeout: -----------------------] 2326s timeout PASS 2326s autopkgtest [17:21:19]: test timeout: - - - - - - - - - - results - - - - - - - - - - 2327s autopkgtest [17:21:20]: test timer: preparing testbed 2330s Reading package lists... 2331s Building dependency tree... 2331s Reading state information... 2332s Starting pkgProblemResolver with broken count: 0 2333s Starting 2 pkgProblemResolver with broken count: 0 2333s Done 2336s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2336s 1 not fully installed or removed. 2336s After this operation, 0 B of additional disk space will be used. 2336s Setting up autopkgtest-satdep (0) ... 2343s (Reading database ... 76914 files and directories currently installed.) 2343s Removing autopkgtest-satdep (0) ... 2345s autopkgtest [17:21:38]: test timer: [----------------------- 2345s Running test: glib/timer.test 2345s TAP version 13 2345s # random seed: R02S77bcdf6731bf37c38bac4b1c178bbf28 2345s 1..10 2345s # Start of timer tests 2345s ok 1 /timer/basic 2345s ok 2 /timer/stop 2345s ok 3 /timer/continue 2345s ok 4 /timer/reset 2345s ok 5 /timer/is_active 2345s # End of timer tests 2345s # Start of timeval tests 2345s ok 6 /timeval/add 2345s ok 7 /timeval/from-iso8601 2345s ok 8 /timeval/to-iso8601 2345s # Start of to-iso8601 tests 2345s ok 9 /timeval/to-iso8601/overflow 2345s # End of to-iso8601 tests 2345s # End of timeval tests 2345s # Start of usleep tests 2345s ok 10 /usleep/with-zero-wait 2345s # End of usleep tests 2345s PASS: glib/timer.test 2345s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 2346s autopkgtest [17:21:39]: test timer: -----------------------] 2347s autopkgtest [17:21:40]: test timer: - - - - - - - - - - results - - - - - - - - - - 2347s timer PASS 2347s autopkgtest [17:21:40]: test 1065022-futureproofing: preparing testbed 2555s autopkgtest [17:25:08]: @@@@@@@@@@@@@@@@@@@@ test bed setup 2555s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 2556s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [429 kB] 2556s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 2556s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2630 kB] 2557s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [37.3 kB] 2557s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [578 kB] 2557s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 2557s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 2557s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 2557s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2881 kB] 2557s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 2557s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [39.2 kB] 2557s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 2562s Fetched 6747 kB in 2s (2705 kB/s) 2562s Reading package lists... 2570s Reading package lists... 2571s Building dependency tree... 2571s Reading state information... 2572s Calculating upgrade... 2572s The following package was automatically installed and is no longer required: 2572s ubuntu-advantage-tools 2572s Use 'sudo apt autoremove' to remove it. 2572s The following packages will be REMOVED: 2572s libglib2.0-0 2572s The following NEW packages will be installed: 2572s libglib2.0-0t64 xdg-user-dirs 2572s The following packages will be upgraded: 2572s efibootmgr gir1.2-glib-2.0 libglib2.0-data python3-attr ubuntu-minimal 2572s ubuntu-standard 2573s 6 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 2573s Need to get 1875 kB of archives. 2573s After this operation, 138 kB of additional disk space will be used. 2573s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu3 [182 kB] 2573s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu3 [1527 kB] 2573s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu3 [46.6 kB] 2573s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-minimal arm64 1.535 [10.5 kB] 2573s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 2573s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-standard arm64 1.535 [10.5 kB] 2573s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 efibootmgr arm64 18-1build1 [31.5 kB] 2573s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 python3-attr all 23.2.0-2 [48.6 kB] 2574s Fetched 1875 kB in 1s (2681 kB/s) 2574s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2574s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu3_arm64.deb ... 2574s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 2574s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 2574s udisks2 depends on libglib2.0-0 (>= 2.77.0). 2574s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 2574s python3-gi depends on libglib2.0-0 (>= 2.77.0). 2574s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 2574s netplan.io depends on libglib2.0-0 (>= 2.70.0). 2574s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 2574s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 2574s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 2574s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 2574s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 2574s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 2574s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 2574s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 2574s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 2574s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 2574s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 2574s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 2574s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 2574s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 2574s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 2574s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 2574s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 2574s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 2574s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 2574s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2574s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 2574s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2574s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2574s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2574s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2574s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2574s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2574s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2574s fwupd depends on libglib2.0-0 (>= 2.79.0). 2574s bolt depends on libglib2.0-0 (>= 2.56.0). 2574s 2575s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2575s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 2575s Selecting previously unselected package libglib2.0-0t64:arm64. 2575s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75837 files and directories currently installed.) 2575s Preparing to unpack .../0-libglib2.0-0t64_2.79.3-3ubuntu3_arm64.deb ... 2575s 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... 2575s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 2575s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 2575s Preparing to unpack .../1-libglib2.0-data_2.79.3-3ubuntu3_all.deb ... 2575s Unpacking libglib2.0-data (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 2575s Preparing to unpack .../2-ubuntu-minimal_1.535_arm64.deb ... 2575s Unpacking ubuntu-minimal (1.535) over (1.534) ... 2575s Selecting previously unselected package xdg-user-dirs. 2575s Preparing to unpack .../3-xdg-user-dirs_0.18-1_arm64.deb ... 2575s Unpacking xdg-user-dirs (0.18-1) ... 2575s Preparing to unpack .../4-ubuntu-standard_1.535_arm64.deb ... 2575s Unpacking ubuntu-standard (1.535) over (1.534) ... 2575s Preparing to unpack .../5-efibootmgr_18-1build1_arm64.deb ... 2575s Unpacking efibootmgr (18-1build1) over (18-1) ... 2575s Preparing to unpack .../6-python3-attr_23.2.0-2_all.deb ... 2575s Unpacking python3-attr (23.2.0-2) over (23.2.0-1) ... 2575s Setting up python3-attr (23.2.0-2) ... 2576s Setting up efibootmgr (18-1build1) ... 2576s Setting up ubuntu-minimal (1.535) ... 2576s Setting up xdg-user-dirs (0.18-1) ... 2576s Setting up ubuntu-standard (1.535) ... 2576s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 2576s No schema files found: doing nothing. 2576s Setting up libglib2.0-data (2.79.3-3ubuntu3) ... 2576s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) ... 2576s Processing triggers for man-db (2.12.0-3) ... 2577s Processing triggers for libc-bin (2.39-0ubuntu2) ... 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s 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 2578s Reading package lists... 2578s Building dependency tree... 2578s Reading state information... 2580s The following packages will be REMOVED: 2580s ubuntu-advantage-tools* 2580s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2580s After this operation, 71.7 kB disk space will be freed. 2581s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75876 files and directories currently installed.) 2581s Removing ubuntu-advantage-tools (31.1) ... 2581s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75870 files and directories currently installed.) 2581s Purging configuration files for ubuntu-advantage-tools (31.1) ... 2583s sh: Attempting to set up Debian/Ubuntu apt sources automatically 2583s sh: Distribution appears to be Ubuntu 2589s Reading package lists... 2590s Building dependency tree... 2590s Reading state information... 2591s eatmydata is already the newest version (131-1). 2591s dbus is already the newest version (1.14.10-4ubuntu1). 2591s dbus set to manually installed. 2591s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s 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 2591s Reading package lists... 2592s Building dependency tree... 2592s Reading state information... 2593s rng-tools-debian is already the newest version (2.4). 2593s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2593s Reading package lists... 2594s Building dependency tree... 2594s Reading state information... 2595s haveged is already the newest version (1.9.14-1ubuntu1). 2595s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2595s Reading package lists... 2596s Building dependency tree... 2596s Reading state information... 2597s The following packages will be REMOVED: 2597s cloud-init* python3-configobj* python3-debconf* 2598s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 2598s After this operation, 3248 kB disk space will be freed. 2598s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75870 files and directories currently installed.) 2598s Removing cloud-init (24.1-0ubuntu1) ... 2599s Removing python3-configobj (5.0.8-3) ... 2599s Removing python3-debconf (1.5.86) ... 2600s Processing triggers for man-db (2.12.0-3) ... 2600s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75481 files and directories currently installed.) 2600s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 2602s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 2602s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 2603s Reading package lists... 2603s Building dependency tree... 2603s Reading state information... 2604s linux-generic is already the newest version (6.8.0-11.11+1). 2604s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2605s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 2605s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 2605s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 2605s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 2606s Hit:5 http://ftpmaster.internal/ubuntu noble-backports InRelease 2613s Reading package lists... 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s 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 2613s Reading package lists... 2614s Building dependency tree... 2614s Reading state information... 2615s Calculating upgrade... 2616s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2616s Reading package lists... 2617s Building dependency tree... 2617s Reading state information... 2618s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2619s autopkgtest [17:26:12]: rebooting testbed after setup commands that affected boot 2783s autopkgtest [17:28:56]: testbed dpkg architecture: arm64 2790s Reading package lists... 2791s Building dependency tree... 2791s Reading state information... 2791s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 2792s Starting 2 pkgProblemResolver with broken count: 0 2792s Done 2792s Done 2793s Starting pkgProblemResolver with broken count: 0 2793s Starting 2 pkgProblemResolver with broken count: 0 2793s Done 2795s The following additional packages will be installed: 2795s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 2795s libdconf1 session-migration 2795s Suggested packages: 2795s fakeroot 2795s The following NEW packages will be installed: 2795s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 2795s libdconf1 session-migration 2795s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 2795s 1 not fully installed or removed. 2795s Need to get 144 kB of archives. 2795s After this operation, 671 kB of additional disk space will be used. 2795s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 libdconf1 arm64 0.40.0-4 [39.2 kB] 2795s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 dconf-service arm64 0.40.0-4 [26.1 kB] 2795s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 dconf-gsettings-backend arm64 0.40.0-4 [21.6 kB] 2795s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 dpkg-repack all 1.52 [12.1 kB] 2795s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 session-migration arm64 0.3.6 [9512 B] 2795s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 gsettings-desktop-schemas all 46~beta-3ubuntu1 [35.3 kB] 2796s Fetched 144 kB in 0s (393 kB/s) 2796s Selecting previously unselected package libdconf1:arm64. 2796s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75426 files and directories currently installed.) 2796s Preparing to unpack .../0-libdconf1_0.40.0-4_arm64.deb ... 2796s Unpacking libdconf1:arm64 (0.40.0-4) ... 2796s Selecting previously unselected package dconf-service. 2796s Preparing to unpack .../1-dconf-service_0.40.0-4_arm64.deb ... 2796s Unpacking dconf-service (0.40.0-4) ... 2796s Selecting previously unselected package dconf-gsettings-backend:arm64. 2796s Preparing to unpack .../2-dconf-gsettings-backend_0.40.0-4_arm64.deb ... 2796s Unpacking dconf-gsettings-backend:arm64 (0.40.0-4) ... 2797s Selecting previously unselected package dpkg-repack. 2797s Preparing to unpack .../3-dpkg-repack_1.52_all.deb ... 2797s Unpacking dpkg-repack (1.52) ... 2797s Selecting previously unselected package session-migration. 2797s Preparing to unpack .../4-session-migration_0.3.6_arm64.deb ... 2797s Unpacking session-migration (0.3.6) ... 2797s Selecting previously unselected package gsettings-desktop-schemas. 2797s Preparing to unpack .../5-gsettings-desktop-schemas_46~beta-3ubuntu1_all.deb ... 2797s Unpacking gsettings-desktop-schemas (46~beta-3ubuntu1) ... 2797s Setting up session-migration (0.3.6) ... 2797s Created symlink /etc/systemd/user/graphical-session-pre.target.wants/session-migration.service → /usr/lib/systemd/user/session-migration.service. 2797s Setting up dpkg-repack (1.52) ... 2797s Setting up libdconf1:arm64 (0.40.0-4) ... 2797s Setting up dconf-service (0.40.0-4) ... 2797s Setting up dconf-gsettings-backend:arm64 (0.40.0-4) ... 2797s Setting up gsettings-desktop-schemas (46~beta-3ubuntu1) ... 2797s Processing triggers for libc-bin (2.39-0ubuntu2) ... 2797s Processing triggers for man-db (2.12.0-3) ... 2798s Processing triggers for libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 2798s Setting up autopkgtest-satdep (0) ... 2804s (Reading database ... 75509 files and directories currently installed.) 2804s Removing autopkgtest-satdep (0) ... 2821s autopkgtest [17:29:34]: test 1065022-futureproofing: [----------------------- 2821s + export DEBIAN_FRONTEND=noninteractive 2821s + n=0 2821s + failed=0 2821s + binary_package=libglib2.0-0t64 2821s + future_binary_package=libglib2.0-0xyz 2821s + pwd 2821s + srcdir=/tmp/autopkgtest.6fpYMJ/build.4Hc/src 2821s + mktemp -d 2821s + tmpdir=/tmp/tmp.C7YfkJPoWd 2821s + cd /tmp/tmp.C7YfkJPoWd 2821s + [ -e /tmp/autopkgtest.6fpYMJ/build.4Hc/src/debian/tests/manual/local-1065022.sources ] 2821s + dpkg-query -W dpkg-repack 2821s + dpkg-repack --generate libglib2.0-0t64 2821s dpkg-repack 1.52 2821s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 2821s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.9jYxA4 for libglib2.0-0t64 2821s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.9jYxA4 ." 2821s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.9jYxA4/DEBIAN/control 2821s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.9jYxA4/DEBIAN/control 2821s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.9jYxA4/DEBIAN/control 2821s + 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.9jYxA4/DEBIAN/control 2821s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.9jYxA4 libglib2.0-0xyz.deb 2821s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 2824s + apt-get -y install ./libglib2.0-0xyz.deb 2825s Reading package lists... 2825s Building dependency tree... 2825s Reading state information... 2827s The following packages were automatically installed and are no longer required: 2827s apport-symptoms libgirepository-1.0-1 python3-apport python3-blinker 2827s python3-certifi python3-chardet python3-cryptography python3-httplib2 2827s python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 2827s python3-oauthlib python3-openssl python3-problem-report python3-pyparsing 2827s python3-requests python3-six python3-systemd python3-urllib3 python3-wadllib 2827s Use 'sudo apt autoremove' to remove them. 2827s Suggested packages: 2827s low-memory-monitor 2827s The following packages will be REMOVED: 2827s apport apport-core-dump-handler gir1.2-girepository-2.0 gir1.2-glib-2.0 2827s libglib2.0-0t64 networkd-dispatcher python3-gi 2827s The following NEW packages will be installed: 2827s libglib2.0-0xyz 2827s 0 upgraded, 1 newly installed, 7 to remove and 0 not upgraded. 2827s Need to get 0 B/1527 kB of archives. 2827s After this operation, 2922 kB disk space will be freed. 2827s Get:1 /tmp/tmp.C7YfkJPoWd/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.79.3-3ubuntu3 [1527 kB] 2828s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75509 files and directories currently installed.) 2828s Removing networkd-dispatcher (2.2.4-1) ... 2829s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 2830s Removing apport (2.28.0-0ubuntu1) ... 2831s Removing python3-gi (3.47.0-3) ... 2832s Removing gir1.2-girepository-2.0:arm64 (1.79.1-1) ... 2832s Removing gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) ... 2832s dpkg: libglib2.0-0t64:arm64: dependency problems, but removing anyway as you requested: 2832s udisks2 depends on libglib2.0-0 (>= 2.77.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s shared-mime-info depends on libglib2.0-0 (>= 2.75.3); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s session-migration depends on libglib2.0-0 (>= 2.51.1); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s python3-dbus depends on libglib2.0-0 (>= 2.16.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s netplan.io depends on libglib2.0-0 (>= 2.70.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s netplan-generator depends on libglib2.0-0 (>= 2.70.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libmbim-proxy depends on libglib2.0-0 (>= 2.56); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libdconf1:arm64 depends on libglib2.0-0 (>= 2.55.2); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s fwupd depends on libglib2.0-0 (>= 2.79.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s dconf-service depends on libglib2.0-0 (>= 2.55.2); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s dconf-gsettings-backend:arm64 depends on libglib2.0-0 (>= 2.55.2); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s bolt depends on libglib2.0-0 (>= 2.56.0); however: 2832s Package libglib2.0-0:arm64 is not installed. 2832s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2832s 2832s Removing libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 2832s Selecting previously unselected package libglib2.0-0xyz:arm64. 2832s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75318 files and directories currently installed.) 2832s Preparing to unpack .../libglib2.0-0xyz.deb ... 2832s Unpacking libglib2.0-0xyz:arm64 (2.79.3-3ubuntu3) ... 2832s Setting up libglib2.0-0xyz:arm64 (2.79.3-3ubuntu3) ... 2832s Processing triggers for libc-bin (2.39-0ubuntu2) ... 2832s Processing triggers for man-db (2.12.0-3) ... 2834s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2834s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2834s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2834s + n=1 2834s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2834s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2834s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2834s + n=2 2834s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2834s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2834s + assert test -eok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2834s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2834s + n=3 2834s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2834s + echo ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2834s ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2834s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2834s + n=4 2834s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2834s + echo ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2834s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2834s + n=5 2834s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2834s + echo ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2834s ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2834s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2834s + n=6 2834s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2834s + echo ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2834s ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2834s + apt-get -y purge libglib2.0-0t64 2834s Reading package lists... 2834s Building dependency tree... 2834s Reading state information... 2835s The following packages were automatically installed and are no longer required: 2835s apport-symptoms libgirepository-1.0-1 python3-apport python3-blinker 2835s python3-certifi python3-chardet python3-cryptography python3-httplib2 2835s python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 2835s python3-oauthlib python3-openssl python3-problem-report python3-pyparsing 2835s python3-requests python3-six python3-systemd python3-urllib3 python3-wadllib 2835s Use 'sudo apt autoremove' to remove them. 2835s The following packages will be REMOVED: 2835s libglib2.0-0t64* 2836s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2836s After this operation, 0 B of additional disk space will be used. 2836s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75339 files and directories currently installed.) 2836s Purging configuration files for libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 2837s + ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2837s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2837s assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2837s + n=7 2837s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2837s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2837s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2837s + n=8 2837s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2837s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2837s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2837s + ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2837s ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2837s ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2837s ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2837s n=9 2837s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2837s + echo ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2837s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2837s + n=10 2837s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2837s + echo ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2837s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2837s + n=11 2837s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2837s + echo ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2837s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2837s + n=12 2837s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2837s + echo ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2837s + apt-get -y purge libglib2.0-0xyz 2837s Reading package lists... 2838s Building dependency tree... 2838s Reading state information... 2840s The following packages were automatically installed and are no longer required: 2840s apport-symptoms fwupd-signed jq libarchive13 libatasmart4 libbytesize-common 2840s libbytesize1 libcurl3-gnutls libflashrom1 libftdi1-2 libglib2.0-data 2840s libgpgme11 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1 libonig5 2840s libprotobuf-c1 python3-apport python3-blinker python3-certifi 2840s python3-cffi-backend python3-chardet python3-cryptography python3-httplib2 2840s python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 2840s python3-markdown-it python3-mdurl python3-netifaces python3-oauthlib 2840s python3-openssl python3-problem-report python3-pygments python3-pyparsing 2840s python3-requests python3-rich python3-six python3-systemd python3-urllib3 2840s python3-wadllib xdg-user-dirs 2840s Use 'sudo apt autoremove' to remove them. 2840s The following packages will be REMOVED: 2840s bolt* dconf-gsettings-backend* dconf-service* fwupd* 2840s gsettings-desktop-schemas* libblockdev-crypto3* libblockdev-fs3* 2840s libblockdev-loop3* libblockdev-mdraid3* libblockdev-nvme3* 2840s libblockdev-part3* libblockdev-swap3* libblockdev-utils3* libblockdev3* 2840s libdconf1* libfwupd2* libgirepository-1.0-1* libglib2.0-0xyz* 2840s libgudev-1.0-0* libgusb2* libjcat1* libjson-glib-1.0-0* libmbim-glib4* 2840s libmbim-proxy* libmm-glib0* libnetplan0* libpolkit-agent-1-0* 2840s libpolkit-gobject-1-0* libqmi-glib5* libqmi-proxy* libqrtr-glib0* 2840s libudisks2-0* libvolume-key1* libxmlb2* netplan-generator* netplan.io* 2840s python3-dbus* python3-netplan* session-migration* shared-mime-info* 2840s ubuntu-minimal* udisks2* 2840s 0 upgraded, 0 newly installed, 42 to remove and 0 not upgraded. 2840s After this operation, 32.1 MB disk space will be freed. 2840s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75339 files and directories currently installed.) 2840s Removing bolt (0.9.6-2) ... 2841s Removing gsettings-desktop-schemas (46~beta-3ubuntu1) ... 2841s Removing dconf-gsettings-backend:arm64 (0.40.0-4) ... 2841s Removing dconf-service (0.40.0-4) ... 2841s Removing fwupd (1.9.14-1) ... 2842s Removing udisks2 (2.10.1-1ubuntu2) ... 2843s Removing libblockdev-crypto3:arm64 (3.1.0-1) ... 2843s Removing libblockdev-fs3:arm64 (3.1.0-1) ... 2843s Removing libblockdev-loop3:arm64 (3.1.0-1) ... 2843s Removing libblockdev-mdraid3:arm64 (3.1.0-1) ... 2843s Removing libblockdev-nvme3:arm64 (3.1.0-1) ... 2843s Removing libblockdev-part3:arm64 (3.1.0-1) ... 2843s Removing libblockdev-swap3:arm64 (3.1.0-1) ... 2843s Removing libblockdev3:arm64 (3.1.0-1) ... 2843s Removing libblockdev-utils3:arm64 (3.1.0-1) ... 2843s Removing libdconf1:arm64 (0.40.0-4) ... 2843s Removing libfwupd2:arm64 (1.9.14-1) ... 2843s Removing libgirepository-1.0-1:arm64 (1.79.1-1) ... 2843s Removing shared-mime-info (2.4-1) ... 2843s Removing session-migration (0.3.6) ... 2844s Removing ubuntu-minimal (1.535) ... 2844s Removing netplan.io (0.107.1-3) ... 2844s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 2844s Removing python3-dbus (1.3.2-5build1) ... 2844s Removing libvolume-key1:arm64 (0.3.12-5build2) ... 2844s Removing libgudev-1.0-0:arm64 (1:238-3) ... 2844s Removing libgusb2:arm64 (0.4.8-1) ... 2844s Removing libjcat1:arm64 (0.2.0-2) ... 2844s Removing libjson-glib-1.0-0:arm64 (1.8.0-2) ... 2844s Removing libqmi-proxy (1.34.0-2) ... 2844s Removing libqmi-glib5:arm64 (1.34.0-2) ... 2844s Removing libmbim-proxy (1.30.0-1) ... 2844s Removing libmbim-glib4:arm64 (1.30.0-1) ... 2844s Removing libmm-glib0:arm64 (1.22.0-3) ... 2844s Removing python3-netplan (0.107.1-3) ... 2844s dpkg: warning: while removing python3-netplan, directory '/usr/lib/python3/dist-packages/netplan' not empty so not removed 2844s Removing netplan-generator (0.107.1-3) ... 2844s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 2844s Removing libnetplan0:arm64 (0.107.1-3) ... 2844s Removing libpolkit-agent-1-0:arm64 (124-1) ... 2844s Removing libpolkit-gobject-1-0:arm64 (124-1) ... 2844s Removing libqrtr-glib0:arm64 (1.2.2-1ubuntu2) ... 2845s Removing libudisks2-0:arm64 (2.10.1-1ubuntu2) ... 2845s Removing libxmlb2:arm64 (0.3.15-1) ... 2845s Removing libglib2.0-0xyz:arm64 (2.79.3-3ubuntu3) ... 2845s Processing triggers for man-db (2.12.0-3) ... 2846s Processing triggers for dbus (1.14.10-4ubuntu1) ... 2846s Processing triggers for libc-bin (2.39-0ubuntu2) ... 2846s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74811 files and directories currently installed.) 2846s Purging configuration files for udisks2 (2.10.1-1ubuntu2) ... 2847s Purging configuration files for session-migration (0.3.6) ... 2847s Purging configuration files for libglib2.0-0xyz:arm64 (2.79.3-3ubuntu3) ... 2847s Purging configuration files for libblockdev3:arm64 (3.1.0-1) ... 2847s Purging configuration files for shared-mime-info (2.4-1) ... 2847s Purging configuration files for fwupd (1.9.14-1) ... 2848s Purging configuration files for bolt (0.9.6-2) ... 2849s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2849s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2849s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2849s + n=13 2849s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2849s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2849s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2849s + n=14 2849s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2849s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2849s + assert_notok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 2849s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 2849s 1..16 2849s test -e /usr/lib/*/gio/modules/libdconfsettings.so 2849s + n=15 2849s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 2849s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 2849s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 2849s + n=16 2849s + test -e /usr/lib/*/gio/modules/giomodule.cache 2849s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 2849s + echo 1..16 2849s + exit 0 2849s autopkgtest [17:30:02]: test 1065022-futureproofing: -----------------------] 2850s 1065022-futureproofing PASS 2850s autopkgtest [17:30:03]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 2850s autopkgtest [17:30:03]: @@@@@@@@@@@@@@@@@@@@ summary 2850s build PASS (superficial) 2850s build-static PASS (superficial) 2850s installed-tests PASS 2850s closure-refcount PASS 2850s debugcontroller PASS 2850s gdbus-server-auth PASS 2850s gdbus-threading PASS 2850s gmenumodel PASS 2850s mainloop PASS 2850s memory-monitor-dbus PASS 2850s socket PASS 2850s testfilemonitor PASS 2850s thread-pool-slow PASS 2850s threadtests PASS 2850s timeout PASS 2850s timer PASS 2850s 1065022-futureproofing PASS 2869s Creating nova instance adt-noble-arm64-glib2.0-20240309-164233-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240308.img (UUID 818adddc-cacc-4dcd-be3d-ec9a61f3956b)... 2869s Creating nova instance adt-noble-arm64-glib2.0-20240309-164233-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240308.img (UUID 818adddc-cacc-4dcd-be3d-ec9a61f3956b)... 2869s Creating nova instance adt-noble-arm64-glib2.0-20240309-164233-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240308.img (UUID 818adddc-cacc-4dcd-be3d-ec9a61f3956b)...